[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

    @undeadmach1ne
    YYYeeesss !!!
    My first cake ^^
    Thanks man, Thansk a lot
     
    bellardie likes this.
  3. Offline

    undeadmach1ne

    it was my pleasure good sir :D
     
  4. Offline

    pengh

    I just noticed something very annoying, the seasons reset every time you restart the server, as I set my seasons to be a bit more realistically long this is quite annoying, any ideas?
     
  5. Offline

    rominos2

    @pengh
    Does it write it does not found the save ?
    Or just loading the save but restarting ?
     
    bellardie likes this.
  6. Offline

    pengh

    it loads the relative world yml fine, I've changed settings and they take effect, but any time the server restarts it starts the cycle over with the first season. Initially I though it was only resetting whenever I made changes to the config and restarted, but then when I restarted to do a backup I noticed it start over at the first day of spring again, after several tests changing the season and restarting it seems persistent, every time it restarts it initiates the first season. Is there a config toggle I'm missing to prevent this? it's very frustrating since I have the seasons set to run a lot longer than normal.
     
  7. Offline

    rominos2

    @pengh
    No you seems to do everything right
    It must be an error in my code
    I'm in vacations tommorow so I'll try to work on it (God bless the 3G)
     
    bellardie likes this.
  8. I love it..... it is good Plugin ... :rolleyes:
     
  9. Offline

    rominos2

    bellardie likes this.
  10. Offline

    ledhead900

    @rominos2
    It appears to rain every 2 days on my server since I overhauled the configurations, FYI I have not moved to the new versions yet still on the last known version using my config below.

    PHP:
    #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
    #Dry Season:10:0.5:80,15,5
    #-0: The First Day of Dry Season
    #-9:The Last Day of Dry Season
    #Wet Season:5:0.5:20,70,10
    #-0:The First Day of Wet Season
    #-2:Mid Wet Season
    #-4:The Last Day of Wet Season
    #
    #Start of Seasons
    Spring:31:0.1:80,5,15
    -0:The First Day of Spring
    -9:The Last Day of Spring
    Summer
    :15:0.1:90,5,5
    -0:The First Day of Summer
    -4:Christmas Eve
    -5:Christmas Day
    -9:The Last Day of Summer
    Dry Season
    :16:0.1:100,0,0
    -0:The First Day of Drought
    -9:The Last Day of Drought
    Wet Season
    :10:0.1:5,70,25
    -0:The First Day of Downfall
    -4:The Last Day of Downfall
    Autumn
    :31:0.1:70,10,20
    -0:First Day of Autumn
    -9:Last Day of Autumn
    Winter
    :31:0.1:50,40,10
    -0:The First Day of Winter
    -9:The Last Day of Winter
    I think it is the "Length:Meteo" setting tho I am unsure exactly how that works.
     
  11. Offline

    MG127

    the first point is normal, everyone has that problem
    for the second point you have to write it to a file that is loaded every start. on my server i have a restart-time of 6h, but seasons that have a duration of several rl-days would be cool
     
  12. Offline

    rominos2

    @ledhead900
    What's the problem in fact ?
    In what seasons does it rain every 2 days ?

    Moreover, you should update to the version 1.5.1 (your configs seems to be a bit old)

    @MG127
    I haven't looked yet into this issue (I'm in vacations)
    But it should save in a .dot-not-touch file the season number, the day number with a resolution of 0.1
    I'll see that in the next days for the restart
     
    bellardie likes this.
  13. Offline

    ledhead900

    Every season it rains every second day, Tested by doing /time night then /time day and every time it was sunny it would rain and if it was rain > sunny.

    I think I have my Weather settings wrong the Seasons times are fine and weather chances are fine but the Meteo/weather length is set wrong I think I can see my mistake tho, I have the weather length set to 0.1 so I think that means every second day it will change weather. I need to set this to 0.8 or 1.0 I think.
     
  14. Offline

    SeeD419

    Hey, haven't posted here in forever :p The latest seasons seems to work just fine - but I was testing the latest development build of craftbukkit a second ago and I figured I'd give you a heads up if you didn't know, it appears to throw an error about 'SNOW_FORM' with Seasons. Not sure how ahead of the curve you're trying to be, but I figured I'd let you know :)
     
  15. Offline

    rominos2

    @ledhead900
    Just try to add debug=true on the end of the configs
    I should log the random number of weather
    It's not my fault if it rains ^^

    @SeeD419
    Yes they changed a method I use so wait for the RB in the next days
     
    bellardie likes this.
  16. Offline

    ledhead900

    lol ok but I did not say it was your fault I was asking for your opinion on the config as to why it does the weather like that basically I don't fully understand how the weather is controlled by the "Length:Meteo."

    So I came here for advice on a suitable number so that it wont have random weather for much longer.

    Currently the "length:meteo" number is closer to 1.0 now and my config has real months 31 days for them expect for dry and wet season,Summer I split the Summer and "dry season" into 15 each to simulate a "Summer" start and a "Peak Summer" month.

    "Wet season" shares 15 days as well.

    Sorry I make absolutely no sense :p
     
  17. Offline

    rominos2

    @ledhead900
    First it's not Length:Meteo
    It's "Seasons's Lenght : Meteo Lenght"
    The word "Meteo" has also been changed for a long time in the configs in "Weather" (in fact I thought it was the same word than in french but No)
    Moreover you should update I went to yaml to avoid complicated configs ^^

    For the new recomended build I cannot actually update because of my vacations but I assure you I'll update as soon as I'll be back home
     
    bellardie likes this.
  18. Offline

    ledhead900

    Oh yes my mistake and I do remember you telling me why it was Meteo lol.

    The config is hardly complicated imo less effort than what I have do to start over in ymal :p, I just wanted advice on a good setting for the Weather timings I have seasons %'s how I want them I just need to setup the weather timing so it did not rain every second day. As I said I was not sure how that effected the overall season.
     
  19. Offline

    rominos2

    @ledhead900
    I advise you to put the weather lenght less than 1 so weather change more
    For the rain, I don't know why but my compouter also have high random number so more rain
     
    bellardie likes this.
  20. Offline

    ledhead900

    @rominos2
    Right I'm going to convert all of this to the newest season's today as well.


    Edit:
    PHP:
    Test Server Dignity
    Started
    !

    151 recipes
    16 achievements
    2011
    -08-19 14:46:59 [INFOStarting minecraft server version Beta 1.7.3
    2011
    -08-19 14:46:59 [INFOLoading properties
    2011
    -08-19 14:46:59 [INFOStarting Minecraft server on *:25566
    2011
    -08-19 14:46:59 [INFOThis server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC1.7.3)
    2011-08-19 14:47:00 [INFO] [Permissions] (Yetiwas initialized.
    2011-08-19 14:47:00 [INFO] [Permissionsversion [3.1.6] (Yetiloaded
    2011
    -08-19 14:47:00 [INFOPreparing level "world"
    2011-08-19 14:47:00 [INFOPreparing start region for level 0 (Seed8512454484386029814)
    2011-08-19 14:47:01 [INFOPreparing start region for level 1 (Seed8512454484386029814)
    2011-08-19 14:47:02 [SEVEREError occurred while enabling Seasons v1.5.1 (Is it up to date?): SNOW_FORM
    java
    .lang.NoSuchFieldErrorSNOW_FORM
    at org
    .rominos2.Seasons.Seasons.onEnable(Seasons.java:37)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-19 14:47:02 [INFOSpout 1.0.2.121 has been initialized
    2011
    -08-19 14:47:02 [INFO] [HeroesCollecting and loading skills
    2011
    -08-19 14:47:02 [INFO] [HeroesSkills loaded: [AbsorbAntidoteBackstabBandageBarrageBatteryBlackjackBladegraspBlazeBleedBlinkBoltBoltstormChargeConfuseCurseDispelDrainsoulExplosiveFireballFirearrowFireballFlameshieldForcepushGillsGroupHealGroupTeleportHarmtouchHellgateIceboltIcyAuraInvulnJumpLayhandsLickWoundsManaburnManaFreezeManaShieldMightOvergrowthPiggifyPoisonPortPrayPulseRecallReflectReplenishReviveRootSafefallSafefallOtherShieldSkeletonSmiteSmokeSneakSpeedSummonArrowSummonfoodSuperheatSyphonTauntTelekinesisTeleportTrackUnholyRitualWebWolfXMuteOre]
    2011-08-19 14:47:02 [INFO] [HeroesLoaded class: Vagrant
    2011
    -08-19 14:47:02 [INFO] [Heroes] Default class foundVagrant
    2011
    -08-19 14:47:02 [INFO] [HeroesLoaded class: Warrior
    2011
    -08-19 14:47:02 [INFO] [HeroesLoaded class: Paladin
    2011
    -08-19 14:47:02 [INFO] [HeroesLoaded class: Shadowknight
    2011
    -08-19 14:47:02 [INFO] [HeroesPermissions found.
    2011-08-19 14:47:02 [INFO] [Heroesversion 1.2.0-b194 is enabled!
    2011-08-19 14:47:03 [INFOServer permissions file permissions.yml is empty, ignoring it
    2011
    -08-19 14:47:03 [INFODone (0.249s)! For helptype "help" or "?"
    2011-08-19 14:47:03 [INFO'spawn-protection' in server.properties has been moved to 'settings.spawn-radius' in bukkit.ymlI will move your config for you.
    The config's are plugin generated not edited in any way and it matches my worlds name.
     
  21. Offline

    rominos2

    @ledhead900
    You're not in the RB 1000
    Snow Form doesn't exist anymore
    I'm going to fix it in the next days (in fact it already ok but I'm adding content like ice regen adn also cleaning code)
     
    bellardie likes this.
  22. Offline

    ledhead900

    Oh shite so I see I should have read the title of thread and OP once more this does not support latest reco just yet.

    I'll wait np I just thought it would work as your prev version works the one without the config changes.
     
  23. Offline

    rominos2

    @ledhead900
    The new version is almost complete
    See you in next days !
     
    bellardie likes this.
  24. Offline

    rominos2

    Release of the Version 1.5.2

    See the changelog for the news

    Have fun !
     
    bellardie likes this.
  25. Offline

    MuninnAndHuginn

    Maybe I missed it, but I didn't see it looking through the posts here. Is there a configuration reference guide anywhere? The default settings are pretty plain (2 seasons, wet and dry). Just wanted to know the format of the variables and the ranges to use for them so I can add more seasons like winter, fall, etc.

    Thanks.
     
  26. Offline

    rominos2

    @MuninnAndHuginn
    The default configs are here to explain how to make others seasons.
    I'll make a configuration guide in the next days
     
    bellardie likes this.
  27. Offline

    undeadmach1ne

    are there any future plans to add spout texture pack support to seasons?

    good to see you back and updating btw...i hope your vacation was fun :)
     
  28. Offline

    rominos2

    @undeadmach1ne
    Yes quit fun at the beach
    BTW I was coding a bit there ^^ (a dev cannot stop coding anywhere)
    For Spout that's an idea
    I don't really love spout because it always want to connect to the internet But I'll add an option to allow specials textures packs and a second option to no use them

    Also is someone looking at my Seasons plugins on BukkitDev ?
    I don't like BukkitDev but I put one plugin on to test
     
    bellardie likes this.
  29. Offline

    undeadmach1ne

    lol nice :) i am just doing a bit of beginner java stuff right now trying to learn as well...i can already see myself coding/tinkering while on vacation :p

    yeah i can see why you might be hesitant to integrate spout or any other dependency. there were two reasons i asked. one is that i thought at one point you mentioned adding support for a texture pack per season, and another is that the dev of ambient seasons mentioned talking to you about getting the two plugins working together. either way, i hope it works because i tried his plugin and i like the textures, but i like yours better for everything else :)
     
  30. Offline

    rominos2

    @undeadmach1ne
    Damned, he's trying to feed my clients ^^ !
    Let's go on the Spout dependencies !
    Hurry up Rominos2, hurry up !

    --- Release of the version 1.6 ---

    Spout Support for textures
    in build Permission support also

    Have fun !
    Just go on BukkitDev ^^

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

    Mathew Alden

    Screenshots please!
     

Share This Page