[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

    4am

    Could be tricky because the server doesn't have complete control over time - it sends time sync packets to the client but I'm sure not for every tick; you'd get a strobe effect like RealTime towards the night, because the client runs the clock on their end as well. Perhaps another suggestion for Mojang would be to allow the server to set the *pace* of time as well as the current time - this may have implications on Redstone circuitry and other in-game events though.

    EDIT: In this use case, the best suggestion would be to have finer weather control - at minimum allow "cloudy" and create slow transitions between current state->requested state; for example going from sunny to rain, the client renders a fade down like the sunset, then starts the rain light and slowly makes it more and more thick. Ultimately it'd be nice to control precipitation density though perhaps a 1-100 value. Rain/snow is created by a transparent texture on block type 0 (air), you'd just need to draw less/more dense rain/snow/whatever into the texture buffer. Would also be nice for creating fog clouds that aren't centered around the user's camera (also smoke from fires! Imagine this happening down in a cave?!?), but so many polygons with a translucent texture might be demanding on lower-end video cards. If I knew more about Java I'd dig through the client code and write some demo mods for Mojang; much more likely they'd pick it up if the work was mostly done already.

    Imagine the posibilities though; plugins that can trigger fog or lighting based on a user's entry into a zone - setting the mood would be very useful for creating "scripted" adventure areas on a map, something which I intend to do on my own server :)
     
  3. Offline

    Zarius

    Hmm... propertime lets you change the pace of time I think - not sure how it handles dawn/dusk.
     
  4. Offline

    4am

    Last I knew these types of plugins manipulate the server time to run slower, but the client keeps chugging along at normal speed. Therefore (AFAIK) the sun tends to "skip" backwards each time the server feeds the time to the clients, causing the "lightswitch rave" effect at dawn and dusk. Not sure if there is a workaround for this yet; last time I looked into it was back when time control first got added to Bukkit (which was a few hundred builds ago lol)
     
  5. Offline

    rominos2

    I fact I think it would does'nt change many things because dusk and dawn have also sudden arriving.
    So it's not very simple and moreover it wouldn't do many things
     
    bellardie likes this.
  6. Offline

    OliTheG

    I think I may have a problem. Even if I keep the config as the way it is, if I change the name of a season then the /season command returns nothing, and it will not be loaded at all

    Say I change "wet season" to "spring" All I am changing, but it will not load. The plugin has worked perfectly fine before, and I am unsure what to do. Help???


    (EDIT-Scratch that I reloaded and its fine)

    New problem now: I keep getting an "out of range" message from my config, although I still get the message that it has loaded 4 seasons. If I am on the same line, the last number carries over (e.g 5Autumn) which causes an error because of it not being 100%

    I'm using multiworld for a nether, and heres my config:

    #Here is the template of a season with percentage of weather
    #Seasons Name:No weather , Rain/Snow , Rain/Snow + Thunder
    #Make sure it's 100% for each line
    #Each line correspond to a season
    Summer:80,13,2
    Autumn:50,30,20
    Winter:60,30,10
    Spring:25,50,25





    I've tried adding a hash next to summer and autumn, but that causes my error report to read "null value" so no seasons load at all.
     
  7. Offline

    rominos2

    -->OliTheg
    What's is the message out of range ?
    Can you send the error log ?
    I'll see better (I'm good in English but I still don't understand some words ^^ (and trad online sucks))

    But for the things I understood really :
    1) I make a security for the number not being at 100% :
    for example if you have 50,30,10 : it will convert it to 50,30,20 modifying the last number
    2)The Nether doeesn't support weather, is it ?
    3) If you want to add lines to your seasons files just add season lines or lines starting with "#"

    Are they any other problems I didn't even caught ?
     
    bellardie likes this.
  8. Offline

    OliTheG

    its not the nether as such, its nethRAR or something. It just generates another world with the "nether biome" and lets portals link to it. It works on the multiworld thing.

    I have the config the same as it was before the 1.2 update (same layout of course, didn't want to paste the original file in)

    I'll try starting every season with a # and update in a minute.

    UPDATE: No, not working. Heres my error message


     
  9. Offline

    rominos2

    No it was the opposite, make seasons without # and every thing else with #
     
    bellardie likes this.
  10. Offline

    ez1to3

    Okay, so This plugin is good. one thing you might want to look at is, Minecraft originally has regions, so it rains and snows at the same time in different locations. If it is possible, can you make it so that we can make a wet season, where it only rains, and winter, where it only snows regardless of the region?

    EDIT: wops, missed the line in your post where you mentioned that. sorry about that :)
     
  11. Offline

    SeeD419

    Well I decided to try this again but I just saw this immediately, I didn't get far enough to actually test it.

    Code:
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    02:22:28 [SEVERE] Nag author: 'rominos2' of 'Seasons' about the following: This plugin is not properly shutting down its async tasks when it is being reloaded.  This may cause conflicts with the newly loaded version of the plugin
    
     
  12. Offline

    rominos2

    It's normal :
    It's because of the new build 766
    I'm fixing it.
     
    bellardie likes this.
  13. Offline

    shiruba

    using 1.2.1

    After the error, server refuses saving and reloading commands until "STOP" =\
    not sure about whats causing it, didnt try anything fancy.

    Code:
    2011-05-12 09:40:17 [INFO] [Seasons] Plugin Seasons, by Rominos2, version 1.2.1, is enabled.
    2011-05-12 09:40:17 [INFO] [Seasons] Loaded 3 seasons for Shibaverse, active : true.
    2011-05-12 09:40:17 [INFO] [Seasons] Loaded 2 seasons for nether, active : true.
    2011-05-12 09:40:17 [SEVERE] 1 loading Seasons v1.2.1 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
        at org.rominos2.Seasons.SeasonsSettings.loadSeasons(SeasonsSettings.java:83)
        at org.rominos2.Seasons.Seasons.onEnable(Seasons.java:48)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  14. Offline

    rominos2

    Is your seasons file like that ?

    Seasons Name : Sunny Percentage , Rain/Snow Percentage , Thunder Percentage
    (without spaces for the percentage)
     
    bellardie likes this.
  15. Offline

    OliTheG

    Ill try updating to 1.2.1

    Also, when I used the config i had with 1.1 (copied the file in) it worked perfectly. When I used it with 1.2, which has the same layout, it wasn't happy with it.

    I'l post again when I try 1.2.1

    UPDATE: Yeh it worked. Thanks for the plugin man I love it!

    Shame about the snow thing. Are you sure its impossible, because its doable in adventurecraft. I probably know nothing, it may be new code or whatever, but again, it can't hurt me asking!
     
  16. Offline

    thepackett

    Sorry to stalk your forum all the time but when you say
    "weather without regarding biomes (not possible for the moment)"
    Do you mean that bukkit needs to add something or that notch needs to add something?
     
  17. Offline

    SeeD419

    Still not working for me. I've been running it for about 12 hours and the counter seems to work but no matter what season it just rains nonstop D:
     
  18. Offline

    shiruba

    yes, just checked, I thought that could be related to strange characters in season names or in the config, but i made a tilde-free and c-tilde free document and still doesnt work. still pinpointing the problem.

    UPDATE: I think it may be essentials related. checking right now.
     
  19. Offline

    Sphax

    Would it be possible to add a season which would set the sun VERY hot and if a player is standing outdoor (no block above him), he will get some damages (and possibly die) ? Maybe more damages if the player is standing on a sand block ? :)
     
  20. Offline

    rominos2

    --> Thepackett
    It's because biome is not stored anywhere
    --> SeeD419
    More details please
    --> Sphax
    Yes why not ?
    I add it to the todo list
     
    bellardie likes this.
  21. Offline

    Sphax

    Great ! :)

    Another idea, would be an option to prevent creation of snow on ground... :)

    For example a "soft winter" season with snow/rain but without snow on ground... but with some thunder.
     
  22. Offline

    rominos2

    I don't really catch what do you want.
    You want a season with rain/snow and no snow ?
     
    bellardie likes this.
  23. Offline

    Sphax

    Currently, when it snows, the ground is re-covered with thin-snow-block. I would like to be able to have the snow-fall effect WITH/WITHOUT thunder BUT without snow regeneration. :)

    For example to do this, you maybe should catch the thin-snow-block (ID78) creation event and cancel it ?
     
  24. Offline

    rominos2

    Yeah it's a good idea
    Will work on it this evening, I have a long night ...
     
    bellardie likes this.
  25. Offline

    DarKMaKa

    Cheer ;)
     
  26. Offline

    Sphax

    I don't understand very well how the thunder work... It seems that when I use "/thunder" in a tundra biome, it rains instead of snowing or sometimes it don't anything else than just some rare thunder-bolts... :(

    Would it be possible to start a very big thunder with or without snow AND a lot of thunder bolts ?
     
  27. Offline

    rominos2

    No problem I'm going to see that
    Normally the /thunder launchs the rain/snow and the thunder

    Moreover, what do you want in the handler ?
     
    bellardie likes this.
  28. Offline

    Sphax

    Some suggestions per season :
    Code:
    health_indoor:<amount>
    health_outdoor:<amount>
    health_indoor_rate:<seconds>
    health_outdoor_rate:<seconds>
    rain/snow:<true/false>
    snow_regen:<true/false>
    thunder:<true/false>
    extra_thunderbolts:<%chances/min>
    fire_start:<%chances/min>
    grass_burn:<%chances/chunk/min>
    I think that would allow us to create some fun seasons. :p

    Somes ideas may be too difficult or cause too much lag... but that's just some ideas I would love to use for the seasons of my server. :)
     
    Zarius likes this.
  29. Offline

    Zarius

    Love this idea :) This would also allow me to create a harsh winter, though I'd like to set it so it only hurts you if you're outdoors and haven't got a full set of armor on ( @rominos2 just in case you were running out of ideas to read :) )
     
    Sphax likes this.
  30. Offline

    OliTheG

    Define "indoors" thats my only problem

    And a request:

    Make a command for sun, something like /sun. It seems to make sense!
     
  31. Offline

    Sphax

    indoor is when one or more blocks are above your head.
     

Share This Page