[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

    rominos2

    Yes...
    Perhaps it's your config
    Are you sure it all made 100%

    Or just download the 1.32, I modify it

    EDIT : Not the 1.3.1, sorry ^^
     
  3. Offline

    NopeDK

    Looks like it's working now. Thanks :)
     
  4. Offline

    Jaronoid

    Please please please figure out how to prevent snow from regenerating. Your plugin will be a lifesaver if you can do that.
     
  5. Offline

    rominos2

    Ok I will work on it not next week but the week after (hard work with exam next week ^^)
     
    bellardie likes this.
  6. Offline

    NopeDK

    Got a question, how does this plugin save current season?
     
  7. Offline

    rominos2

    It saves the current season and the current day of the current season only when the server stop in a .do-not-touch file
     
    bellardie likes this.
  8. Offline

    NopeDK

  9. Offline

    rominos2

    No problem, I'm here to answer questions ^^
     
    bellardie likes this.
  10. Offline

    Kazyu

    Hi, i've set the weather like this

    And it's raining some time (But only during night !) for 4-5 seconds each 4-5 seconds.

    Is it a bug or i'm doing wrong :p ?
     
  11. Offline

    rominos2

    It's a bug
    I'm correcrting it since this afternoon
    Going to be fixed in the last hours

    --- Release of Version 1.3.3 ---
    Fixing a bug with double numbers
    (for 9 versions, 1 person found it even if it was arriving on each MC nights)

    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.
  12. Offline

    Kazyu

    I thinks it's because Nether ! I've disabled Seasons in Nether (Nether is new in MP), and it's seems going better. Hope it helps.
     
  13. Offline

    rominos2

    Moreover, there is no weather in Nether
    So it's better disabling it
     
    bellardie likes this.
  14. Offline

    Kazyu

    Ok thx !
     
  15. Offline

    Jaronoid

    Does this plugin sync with Midnight in game days, or when the server is first started with this plugin?
     
  16. Offline

    rominos2

    It follow the Minecraft Days
    it depends what configs you put
    If you put entire days, you should use /setseason 0 on Midnight to synch really.
    (It has been changes since the today's update because of problems with numbers with comma for the season and meteo times)
     
    bellardie likes this.
  17. Offline

    Jaronoid

    I don't quite understand.. I have two files for the world I'm in (not including the nether).
    Properties:
    #--- 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
    #changeMessage is the message dsiplayed when Season changes
    changeMessage = It's now <name>.
    #seasonMessage is the message displayed with the season command
    seasonMessage = It'll be <name> for another <number> days.
    #specialDayMessage is the message display on Special Days
    specialDayMessage = It's <name>.
    #messageColor is the Color of every message displayed
    messageColor = §a
    #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
    -----------------------------------------------------
    Seasons:
    #Here is the template of a season with percentage of weather
    #Season Name:Season's Length:Meteo Length:No weather , Rain/Snow , Rain/Snow + Thunder
    #Make sure it's 100% for each line
    #Each line correspond to a season
    Clarity Season:15:0.0:100,0,0
    -0:First Day of Clarity Season
    -1:Second Day of Clarity Season
    -2:Third Day of Clarity Season
    -3:Fourth Day of Clarity Season
    -4:Fifth Day of Clarity Season
    -5:Sixth Day of Clarity Season
    -6:Seventh Day of Clarity Season
    -7:Middle of Clarity Season
    -8:Ninth Day of Clarity Season
    -9:Tenth Day of Clarity Season
    -10:Eleventh Day of Clarity Season
    -11:Twelfth Day of Clarity Season
    -12:Thirteenth Day of Clarity Season
    -13:Fourteenth Day of Clarity Season
    -14:Last Day of Dry Season
    Wet Season:15:0.6:20,40,40
    -0:First Day of Wet Season
    -1:Second Day of Wet Season
    -2:Third Day of Wet Season
    -3:Fourth Day of Wet Season
    -4:Fifth Day of Wet Season
    -5:Sixth Day of Wet Season
    -6:Seventh Day of Wet Season
    -7:Midle of Wet Season
    -8:Ninth Day of Wet Season
    -9:Tenth Day of Wet Season
    -10:Eleventh Day of Wet Season
    -11:Twelfth Day of Wet Season
    -12:Thirteenth Day of Wet Season
    -13:Fourteenth Day of Wet Season
    -14:Last Day of Wet Season
    ------------------------------------------------
    If I want the days to change at midnight, what should I do?
    EDIT: Nevermind, /setseason 0 is an ingame command. I understand now. Thank you. : )
     
  18. Offline

    rominos2

    No problem
    I hope you like this plugin ^^

    PS : I like your configs ^^
     
    bellardie likes this.
  19. Offline

    TBleader

    [​IMG]

    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
    
    #changeMessage is the message dsiplayed when Season changes
    
    changeMessage = The season is now <name>'s Season.
    
    #seasonMessage is the message displayed with the season command
    
    seasonMessage = You're in <name>'s Season for another <number> days.
    
    #specialDayMessage is the message display on Special Days
    
    specialDayMessage = It's the <name>.
    
    #messageColor is the Color of every message displayed
    
    messageColor = §6
    #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's Length:Meteo Length:No weather , Rain/Snow , Rain/Snow + Thunder
    
    #Make sure it's 100% for each line
    
    #Each line correspond to a season
    
    
    #Wet Season
    Fulla:10:0.0:0:80:20
    -0:First Day of Fulla
    -1:Day of Gold
    -2:Day of Sisterhood
    -3:Day of Germination
    -4:Day of Rest
    -5:Day of Patience
    -6:Day of Hopeful Wishes
    -7:Day of Labouring
    -8:Day of a Bountiful Harvest
    -9:Last Day of Fulla
    
    #'Good' Season
    Odin:10:0.0:30:50:20
    -0:First Day of Odin
    -1:Day of Blessing
    -2:Day of Brotherhood
    -3:Day of Wisdom
    -4:Day of Rest
    -5:Day of Fatherhood
    -6:Day of the Asgard
    -7:Day of Sacrifices
    -8:Day of Prophecy
    -9:Last Day of Odin
    
    #Dry Season
    Sól:10:0.0:100:0:0
    -0:First Day of Sól
    -1:Day of Attestment
    -2:Day of Sisterhood
    -3:Day of Hard Labour
    -4:Day of Rest
    -5:Day of Bronze
    -6:Day of the Wolf
    -7:Day of Humidity
    -8:Day of the Scholar
    -9:Last Day of Sól
    
    #'Evil' Season
    Rán:10:0.0:50:30:20
    -0:First Day of Rán
    -1:Day of Darkness
    -2:Day of Sisterhood
    -3:Day of Theft
    -4:Day of Rest
    -5:Day of Arson
    -6:Day of Capture
    -7:Day of Torture
    -8:Day of Justice
    -9:Last day of Rán
    
    #Justice Season
    Thor:10:0.0:20:5:75
    -0:First Day of Thor
    -1:Day of Ragnarok
    -2:Day of Brotherhood
    -3:Day of Fierceness
    -4:Day of Rest
    -5:Day of the Valkyrie
    -6:Day of the Hammer
    -7:Day of Humanity
    -8:Day of Thunder
    -9:Last day of Thor
    
    
    -----------------------
    world_nether.properties
    Code:
    #--- Seasons Time Properties ---
    #active set if Seasons plugin is active in this 
    world
    active = false
    
    #Do you want log on changes of Seasons and Players Commands ?
    
    log = true
    
    #Resolution is the the Day Listener
    
    resolution = 0.1
    
    #changeMessage is the message dsiplayed when Season changes
    
    changeMessage = The season is now <name>'s Season.
    
    #seasonMessage is the message displayed with the season command
    
    seasonMessage = You're in <name>'s Season for another <number> days.
    
    #specialDayMessage is the message display on Special Days
    
    specialDayMessage = It's the <name>.
    
    #messageColor is the Color of every message displayed
    
    messageColor = §6
    #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 
    (The netherworld is world_nether right..? That's what the folder's name..)
    What did I do wrong?
     
  20. Offline

    Jaronoid

    Bwahaha, thanks. I use MineCal so that I've got a 3 month year set up, and each month has ten days. I just always like to know what day it is, and having it announced daily is pretty great. I love the plugin, thanks so much. :D
     
  21. Offline

    rominos2

    -->TBleader (one day someone will explain me how to tag someone ^^)

    Yes just a little error in the .seasons file
    percentages are separated with ,
    like for example :
    Code:
    Thor:10:0.0:[U]20,5,75[/U]
    Morover, you shouldn't put 0.0 in weather time,
    because in fact it will attempt to change weather every 0.0 seconds
    This plugin refreshs every 3 sec so it will change every 3 sec

    I advise you putting something like 0.2 or 0.5 it's much better ^^

    PS: You all have awesome configs, I never try having such complicated configs on my server ^^
     
    bellardie likes this.
  22. Offline

    ledhead900

    Im now royally confused with all of these seasons special days stuff this dont look like Ill be using this anymore Its simplicity is what I liked about it just to make the weather behave better but now with all these special days its just confusing and I cbf setting that stuff up.

    I just wanted my 1.5 config to work but seems I now have to add these confusing day settings that have no explination on use the tut vid is now outdated so I cant just follow an example.

    while it appears cool change the only feature of it Id want was the shorten the wet season a little bit but I dont really care for special days I'm not running a WoW server nothing really special going on mid month lol.
     
  23. Offline

    rominos2

    You're not forced to put Special Days.
    Just supress the Special Days Lines
    Yes, the Video is outdated, I'll ask to change it

    For example a season config witout special Days :

    Code:
    #Here is the template of a season with percentage of weather
    #Season Name:Season's Length:Meteo Length:No weather , Rain/Snow , Rain/Snow + Thunder
    #Make sure it's 100% for each line
    #Each line correspond to a season
    Saison Seche:10:0.5:90,5,5
    Saison des Pluies:6:0.5:15,60,25
     
    bellardie likes this.
  24. Offline

    ledhead900

    I see but whats
    Length:Meteo
     
  25. Offline

    I_LIKE_FIRE

    Would it be possible to make it so it will snow instead of just rain, in a non-snow biome?
     
  26. Offline

    NopeDK

    @ledhead900 length is the length of the season in minecraft days. So with a length of 10 that season will be 10 days long. Meteo length is how long between each time it shall change the weather. 1 does so it change weather once a day, while 0.5 is two times a day (every 12 hours in-game).
    So with length 10 and meteo 0.5, every 12 hours in-game it takes a random poll based on your percentages and then sets that weather, that it will do for 10 days (summing up to 20 weather changes) and then change to the next season.
     
  27. Offline

    ledhead900

    Ah cool

    yea i worked out length but metro confused me a little thanks for the explinations they were just what I needed I even managed to work out the Special day thing it was not huge change as I thought it was.

    all working now thanks.
     
  28. Offline

    rominos2

    No it's Season's Length : Meteo Length
    : is seprating
    Sorry for Meteo in fact it's the french word for Weather and I tought it was the same in English ^^

    So Meteo = Weather
    I'll modify it for the next releases
     
    bellardie likes this.
  29. Offline

    NopeDK

    @rominos2 did you use some of thundertowers code for this? Keep getting "ThunderTower started" in the server log on server startup.
     
  30. Offline

    rominos2

    Ho yes ^^
    Just for Permissions enabling
    Do not pay Attention,
    One more litttle bug and I'll be forced to release a non change version
     
    bellardie likes this.
  31. Offline

    Aramillio

    how about this

    2011-06-03 13:18:46 [SEVERE] Could not pass event WEATHER_CHANGE to Seasons
    java.lang.IndexOutOfBoundsException: Index: 2, Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at org.rominos2.Seasons.Seasons.getDayListener(Seasons.java:193)
    at org.rominos2.Seasons.SeasonsWeatherListener.onWeatherChange(SeasonsWeatherListener.java:14)
    at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:705)
    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:1632)
    at net.minecraft.server.WorldServer.i(WorldServer.java:164)
    at net.minecraft.server.World.doTick(World.java:1533)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     

Share This Page