[MECH/MISC] Seasons - Snow Snow Snow Edition. I can see it ! [1.5.2]

Discussion in 'Archived: Plugin Releases' started by rominos2, Apr 29, 2011.

  1. Offline

    rominos2

    Seasons - The Great Weather Plugin
    Version: v2.0.3 (Snow Snow Snow Edition)

    This plugin is now on BukkitDev
    Still want more ?
    Take a look at the SeasonsPlusPlus plugin on BukkitDev
    Metrics Stats (Thanks to you) :​
    [​IMG]
    Old Thread
    Old Thread


    Add differents seasons to your server.
    Change the duration of Seasons using the in-game time in days
    Each season has its own weather probability and its own duration
    Just put the Jar in yout plugin Folder and let's go !
    Using Spout (optional), you can put only snow on snowSeasons (configurable)

    Features:
    • Add as many seasons you want with properties
    • Insert special Days that will be anounced
    • Change the duration of each season and of each weather
    • Save your current season when you stop the server or disable the plugin
    • Change season and weather in live with commands
    • Able to stop Snow and Ice Regen
    • Added to Minecraft UpToDate
    • You can set Textures packs for each seasons with Spout (optional)
    Download Links :
    Seasons v1.6.2


    An Explaining Video by Specops343 (Version 1.1) (Outdated):


    Thanks to him for this great Video

    Commands & Permissions :
    Commands & Permissions (open)

    Commands :
    For Players :
    • /season - See the current season and the remaining days
    • /setseason [shortname] - Change the current season (Permissions)
    • /sweather [sun|rain|thunder] - Change the current weather (Permissions)
    For Console :
    • /season [world] - See the current season and the remaining days
    • /setseason [world] [shortname] - Change the current season (Permissions)
    • /sweather [world] [sun|rain|thunder] - Change the current weather (Permissions)
    Permissions :
    • /sweather : seasons.weather
    • /setseason : seasons.change
    • Prevent texture changes : seasons.textures.exempt


    TODO :
    • World Edit Region Optional Limit for a season
    Known Issues :
    • Have NullPointerException on nonSpout clients on snow season
    Changelog:
    Version 1.6.2 (04-09-2011)
    • Add a snow config on Seasons to put only snow when raining (Spout)
    • Big code cleaning to avoid NullPointerException errors
    Changelog (open)

    Version 1.6.1 (02-09-2011)
    • Add a permission node seasons.textures.exempt to prevent texture changes
    Version 1.6 - Spout Edition(02-09-2011)
    • Add in-build Permissions system support
    • Fix the NullPointerException when no SpecialDays
    • Add Spout support with a texture pack for each seasons (optional)
    Version 1.5.2(22-08-2011)
    • Add Ice Regen config
    • Fix the problem with restarting from begenning
    • Updated to 1060 (new methods)
    • A bit of code cleaning
    Version 1.5.1(21-07-2011)
    • OutOfBounds Error has been banished to another universe for good
    Version 1.5 - Mighty Yaml(20-07-2011)
    • Properties and Seasons Properties now in ONE .yml config
    • Save of seasons are now in ONE .do-noy-touch file
    • Properties are not loading for Nether worlds (set active to false, color to Aqua and Log to true)
    • Should really fix the load of special Worlds
    • Add of shortnames for each season
    • Change /setseason [number] to /setseason [shortname]
    • Beginning of Version's Name because Edition named are a lot funnier ^^
    Version 1.4.2(03-07-2011)
    • Correcting the OutOfBounds errors with special worlds
    Version 1.4.1(27-06-2011)
    • Fix a scheduler issues when disabling Seasons
    Version 1.4(16-06-2011)
    • Add Snow Regen control
    Version 1.3.5(13-06-2011)
    • Fix the OutOfBounds error (because of blank lines)
    • You can now add blank lines to your .seasons files
    Version 1.3.4(03-06-2011)
    • Fixing the console use command by adding an beautiful message
    • Should Fix the GetDayListener Error on Weather_Change
    Version 1.3.3(02-06-2011)
    • Fix a bug with double numbers
    Version 1.3.2(01-06-2011)
    • Compiled for build 818
    • Fix another bug in /season on special Day (shouldn't be another bug on it ^^)
    Version 1.3.1(27-05-2011)
    • Fix a bug in /season on a special Day
    Version 1.3(26-05-2011)
    • Agin Try to fix the Double displays
    • Add a different SeasonLenght and MeteoLength for each Season
    • Suppression of the SeasonTime and MeteoTime
    • Add a configurable Resolution
    Version 1.2.4(22-05-2011)
    • Fixing the LoadSave Error
    Version 1.2.3(18-05-2011 too)
    • Correct /setseason because it's wasn't doing what it should do ^^
    • Modify /weather -> /sweather because of conflict between plugins
    Version 1.2.2(18-05-2011)
    • /season return one number after the comma
    • No more /rain /thunder /storm --> Now /weather [sun|rain|thunder]
    • Log options in the configs to active a log on Seasons Change and players' commands
    Version 1.2.1(12-05-2011)
    • Fix the Nag Author Error of the build 766
    Version 1.2(07-05-2011)
    • MultiWorld Support with possibility to not active seasons
    • Time Resolution to 0.1
    • Command to change Season (Permissions)
    • Configurable texts to display
    Version 1.1(02-05-2011)
    • Time Support now in-game with days
    • Names for seasons
    • /seasons to see the current seasons and the number of remaining days
    • Permissions support for the two next commands
    • /rain or /storm to force weather to rain
    • /thunder to force rain and lightning
    • Display the Seasons Changes
    Version 1.0(20-04-2011)
    • Release of this awesome plugin with a lot of enjoyable features !


     
  2. Offline

    TelephoneKiosk

    My config is:

    #Here is the template of a season with percentage of weather
    #Season Name:Season'sLength:WeatherLength:NoWeather , Rain/Snow , Rain/Snow+Thunder
    #Make sure it's 100% for each line
    #Each line correspond to a season
    Dry Season:10:0.5:80,15,5
    -0:First Day of Dry Season
    -1:Second Day of Dry Season
    -2:Third Day of Dry Season
    -3:Fourth Day of Dry Season
    -4:Fifth Day of Dry Season
    -5:Mid Dry Season
    -6:Seventh Day of Dry Season
    -7:Eighth Day of Dry Season
    -8:Ninth Day of Dry Season
    -9:Last Day of Dry Season
    Rainy Season:6:0.5:10,80,10
    -0:First Day of Rainy Season
    -1:Second Day of Rainy Season
    -2:Mid Rainy Season
    -3:Fourth Day of Rainy Season
    -4:Fifth Day of Rainy Season
    -5:Mid Dry Season
    Stormy Season:4:0.5:10,30,60
    -0:First Day of Stormy Season
    -1:Second Day of Stormy Season
    -2:Mid Stormy Season
    -3:Fourth Day of Stormy Season
    -4:Fifth Day of Stormy Season

    And every time i type /season it says "You are in the Dry Season for another 10.8 days"
     
  3. Offline

    rominos2

    Try delete the .do-not-touch file or try a /setseason to test
     
    bellardie likes this.
  4. Offline

    TelephoneKiosk

    .do-not-touch file?
     
  5. Offline

    rominos2

    yes it's only created on the stop of the server
    But try a /setseason to see if it doesn't fix
     
    bellardie likes this.
  6. Offline

    TelephoneKiosk

    Neither of those worked :l
     
  7. Offline

    rominos2

    Ok I'll see that today

    @TelephoneKiosk
    Even with your configs I don't have this bug.
    What other plugin modifying time do you use ?
    Try a /time night or /time day to see if it changes

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
    bellardie likes this.
  8. Offline

    TelephoneKiosk

    I use CraftBukkitUpToDate, Essentials, EssentialsSpawn, FoundDiamonds, GroupBridge, GroupManager, HeroicDeath, MonsterBox, Nocheat, obuShutTheHellUp, SelfCobustion, Spyer, WorldEdit, and WorldGuard. I don't know if any of those conflict with this. I'll try /time day and see if that works.

    EDIT: It didn't :l
     
  9. Offline

    H4Mm3r

    Are the season linked to biomes ?
    In winter, will it snow everywhere ? or just in snow chunks ?
    if it snow everywhere, will the snow melt ?
     
  10. Offline

    rominos2

    No it's not link to biomes
    It snow only on snow biomes
     
    bellardie likes this.
  11. Offline

    Elfsovereign

    The exact same thing happened to me on my server. Our main settlement is a place called Laketown. This was a little uncomfortable when all the water in the lake froze and the water based protections were moot. I just did a server backup too.
     
  12. Offline

    rominos2

    Yes I understand that biome can be changed but it look likes a bug
    I'm noit going to makes bug on servers to changes biomes

    --- Release of Version 1.4 ---
    Add Snow Regen control !

    Have Fun

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
    bellardie likes this.
  13. Offline

    jlu

    Hai dude, a file Nether-season was created and i think that's a little mistake (except if we can add season in Nether now).
     
  14. Offline

    rominos2

    No it create a seasons file because nether is a world
    In fact you just have to put active to false in the properties for the nether
    Yes perhaps i'll verify if it's a nether world, one day ^^ (next release)
     
    bellardie likes this.
  15. Offline

    sintri

    could've sworn adf.ly links were banned.
     
  16. Offline

    solid

    I have some error messages in console output, like
    Code:
    17:39:49 [SEVERE] Could not pass event BLOCK_PHYSICS to Seasons
    java.lang.ArrayIndexOutOfBoundsException: -1
            at java.util.ArrayList.elementData(ArrayList.java:338)
            at java.util.ArrayList.get(ArrayList.java:351)
            at org.rominos2.Seasons.Seasons.getProperties(Seasons.java:195)
            at org.rominos2.Seasons.SeasonsBlockListener.onBlockPhysics(SeasonsBlockListener.java:26)
            at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:412)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.World.k(World.java:423)
            at net.minecraft.server.World.applyPhysics(World.java:408)
            at net.minecraft.server.World.setData(World.java:323)
            at net.minecraft.server.World.j(World.java:1822)
            at net.minecraft.server.World.doTick(World.java:1617)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Have I some wrong configure?
     
  17. Offline

    Zarius

    They are.
     
  18. Offline

    rominos2

    @solid
    When does this error apears ?
    What are the files in the Seasons folder ?
     
    bellardie likes this.
  19. Offline

    ledhead900

    2011-06-20 23:13:12 [SEVERE] Could not pass event WEATHER_CHANGE to Seasons
    java.lang.ArrayIndexOutOfBoundsException

    Bukkit-0.0.0-836-g352c6ce-b883jnks

    Appeared after I ran that skyworld plugin
    I know why tho it prob needed to create a weather thing for it
     
  20. Offline

    rominos2

    Yes it's that
    Properties are created on startup of the server so you need to reload it whith your skyworld enabled.
    For the next error, I'd like to have the entire error please ^^
     
    bellardie likes this.
  21. Offline

    sintri

    Wouldn't using a redirect to redirect you to adf.ly be the same thing?
     
  22. Offline

    solid

    When it rains, during seond season in my season-file
    world.properties:
    Code:
    #--- Seasons Time Properties ---
    #active set if Seasons plugin is active in this world
    active = true
    #Do you want log on changes of Seasons and Players Commands ?
    log = true
    #Resolution is the the Day Listener
    resolution = 0.1
    #Do you want snow to regen on snow Weather
    snowRegen = true
    #changeMessage is the message dsiplayed when Season changes
    changeMessage = Наступил <name>.
    #seasonMessage is the message displayed with the season command
    seasonMessage = Сейчас <name> до его окончания осталось <number> дней.
    #specialDayMessage is the message display on Special Days
    specialDayMessage = Сегодня <name>!
    #messageColor is the Color of every message displayed
    messageColor = §b
    #List of Colors
    #BLACK : §0
    #DARK_BLUE : §1
    #DARK_GREEN : §2
    #DARK_AQUA : §3
    #DARK_RED : §4
    #DARK_PURPLE : §5
    #GOLD : §6
    #GRAY : §7
    #DARK_GRAY : §8
    #BLUE : §9
    #GREEN : §a
    #AQUA : §b
    #RED : §c
    #LIGHT_PURPLE : §d
    #YELLOW : §e
    world.seasons
    Code:
    #Here is the template of a season with percentage of weather
    #Season Name:Season'sLength:WeatherLength:NoWeather , Rain/Snow , Rain/Snow+Thunder
    #Make sure it's 100% for each line
    #Each line correspond to a season
    сезон засухи:10:0.5:80,15,5
    -0:первый день засухи
    -9:последний день лета
    сезон дождей:5:0.5:20,70,10
    -0:первый день сезона дождей
    -2:середина сезона дождей
    -4:последний день сезона дождей
    I tried to use only latin abc, but have the same result.
    And I also have SkyLands via Multiverse, but have no files for skylands in seasons folder
    and one more error:
    Code:
    00:50:20 [SEVERE] Could not pass event WEATHER_CHANGE to Seasons
    java.lang.ArrayIndexOutOfBoundsException: -1
            at java.util.ArrayList.elementData(ArrayList.java:338)
            at java.util.ArrayList.get(ArrayList.java:351)
            at org.rominos2.Seasons.Seasons.getDayListener(Seasons.java:204)
            at org.rominos2.Seasons.SeasonsWeatherListener.onWeatherChange(SeasonsWeatherListener.java:14)
            at org.bukkit.plugin.java.JavaPluginLoader$73.execute(JavaPluginLoader.java:754)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.World.i(World.java:1675)
            at net.minecraft.server.WorldServer.i(WorldServer.java:186)
            at net.minecraft.server.World.doTick(World.java:1576)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:389)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  23. Offline

    rominos2

    Do you have a SkyLand world folder ?
    Try to create .properties with the name of this world and also .seasons
    Just copy the one of your world.
     
    bellardie likes this.
  24. Offline

    Joeyderijk

    SO, u can also let it snow?
     
  25. Offline

    rominos2

    No, when it snow (only on snow biomes) you can choose if the snow blocks regen or not
     
    bellardie likes this.
  26. Offline

    compgurusteve

    Would the plugin TweakedCycle have an effect on the timing of these weather conditions? Just curious for future reference if you plan on implementing HeatWave days that do damage. Was thinking about making 1 world perpetual day, but with a HeatWave seasons coming and going, the other world, perpetual darkness with Storms, coming and going.
     
  27. Offline

    Pershonkey

    I really like this plugin, especially the holidays!
     
  28. Offline

    rominos2

    Thanks
    I thnaks you back for liking it ^^
     
    bellardie likes this.
  29. Offline

    solid

    Done, but last error is still with me :)
    I also like your plugin, think it's very creative idea to make seasons in mc
     
  30. Offline

    dzekins

    so with this plugin i cna make so at the time i have set my server will turn into winterland and after time i have set back to summer?
     
  31. Offline

    ledhead900

    This plugin does not work along side http://forums.bukkit.org/threads/misc-skylandsplugin-v1-3-go-to-the-skylands-860.21841/

    it wont detect Skylands world it creates and wont detect it when I manually create it it then proceeds to throw exception error during season changes these errors only happend after using skylands.

    CB 889+ Im on 90x tho.

    Will post the error when I see it next.

    Edit here is one!
    PHP:
    2011-06-21 00:48:02 [SEVERECould not pass event WEATHER_CHANGE to Seasons
    java
    .lang.ArrayIndexOutOfBoundsException: -1
        at java
    .util.ArrayList.elementData(Unknown Source)
        
    at java.util.ArrayList.get(Unknown Source)
        
    at org.rominos2.Seasons.Seasons.getDayListener(Seasons.java:201)
        
    at org.rominos2.Seasons.SeasonsWeatherListener.onWeatherChange(SeasonsWeatherListener.java:14)
        
    at org.bukkit.plugin.java.JavaPluginLoader$74.execute(JavaPluginLoader.java:761)
        
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        
    at net.minecraft.server.World.i(World.java:1691)
        
    at net.minecraft.server.WorldServer.i(WorldServer.java:175)
        
    at net.minecraft.server.World.doTick(World.java:1592)
        
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:421)
        
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
        
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-21 00:48:13 [INFO] /95.211.33.147:60296 lost connection
    Here is the WHOLE server log u can sift thru it if u wish.
     

    Attached Files:

Share This Page