[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

    bellardie likes this.
  3. Offline

    Mathew Alden

    I'm just saying it would be cool if you posted a few in-game screenshots of the things you can do with this plug-in.

    Also... a question. You said you could use Spout to assign custom textures to each season. I was wondering if I could leave most of the textures alone and just assign custom foliagecolor.png and grasscolor.png files.
     
  4. GOD DAMIT ever i got this everything was glitched i dont have plugins i cant do anything D:< dont download
     
  5. Offline

    ElitexvxRampage

    Working, great thanks!
     
  6. Offline

    rominos2

    @Mathew Alden
    Aren't these things in the texture packs ?
    Can't you modify existing textures packs ?
    I must admit I don't know a lot of things on textures (and most on client-side ^^)

    @marcello505
    Hi Nice to meet you !
    Any informations ?

    @ElitexvxRampage
    Thanks it's always a pleasure seeing post like that
     
  7. Offline

    undeadmach1ne

    @rominos2 !! you are a beast :p thanks for this
     
  8. Offline

    rominos2

    @undeadmach1ne
    Yeah I know that :D
    What do you want then ? ^^

    Hmmm I love code days
     
    bellardie likes this.
  9. Offline

    undeadmach1ne

    i lack for nothing [cake]
     
  10. Offline

    rominos2

    @undeadmach1ne
    Am I dreaming ?
    Is that my 2nd cake I ever received ?
    Waoouhh !
     
    bellardie likes this.
  11. Offline

    undeadmach1ne

    :) well deserved my friend...
     
  12. Offline

    Mathew Alden

    Can I make it so it matches with real-life seasons?
     
  13. Offline

    rominos2

    @undeadmach1ne
    So if I deserved it

    --- Release of the Version 1.6.1 ---
    With what i forgot this afternoon

    The permission node to exempt player from textures pack changes

    @Mathew Alden
    What do you want to say ?
    You can create your own seasons
    What more ?
     
    bellardie likes this.
  14. Offline

    undeadmach1ne

    with spout if you only change one file (like terrain.png) and use that as a texture pack, the rest of the files fall back to the default textures...so if you have a texture pack you like to use, youll have to save out a 'winter', 'spring, 'summer' and 'fall' version of it with modified grass/foliage/terrain if you want to keep your items.png and armour and mobs and stuff...any file not in the texture pack spout loads defaults to the vanilla minecraft ones. as for making the seasons link up/change with real-life seasons, i think thats out of the scope of this plugin...
     
  15. Offline

    Mathew Alden

    So... I can only change 1 texture file at a time?
     
  16. Offline

    rominos2

    @undeadmach1ne
    That's interesting
    i'll look at that
    @Mathew Alden
    No he says that you can keep the same texture pack but with other terrain.png
     
    bellardie likes this.
  17. Offline

    undeadmach1ne

    no. if you want to use a pack like doku or some other popular texture pack that includes new mobs/weapons/armour etc, you will have to save a copy of it for each season with your modified grasscolor.png, terrain.png etc. if you just zip up a terrain.png, grasscolor.png and foliage.png, spout will use the default minecraft files for the rest (armour/items/mobs etc). any file which is not in your 'winter' (or whatever season) texture pack will revert to default minecraft. so if you are using default minecraft, then yes, you can just save grasscolor.png, foliage.png and terrain.png and not have to make a whole new pack for each season. but if you want to use a different pack then each season has to include all the files from that pack.
     
  18. Offline

    rominos2

    bellardie likes this.
  19. Offline

    undeadmach1ne

    i am under the impression this is a limitation of the way spout and minecraft handle texture packs...we can only select one pack at a time, so if the user is running a pack they like, and we try to override their grasscolor.png and foliage.png, we force them to select default textures with our grasscolor and foliage. we cant inject our grasscolor and foliage into the pack they are using. if we want to keep all features of a texture pack (mobs, items etc) then we have to make a full copy of that pack with our changed grasscolor, foliage and terrain for each season. im pretty sure there is nothing you can do about it unfortunately...what do you have in mind?
     
  20. Offline

    Mathew Alden

    Thanks. That's how I was hoping it worked. You just confused me...
     
  21. Offline

    rominos2

    @undeadmach1ne
    In that cas you've to make plenty of packs with textures and grasscolor .....

    I just do the plugin code ^^
     
    bellardie and undeadmach1ne like this.
  22. Offline

    undeadmach1ne

    thats ok, i am an artist by trade :) (and an aspiring coder)
     
  23. Offline

    Maniox

    Got a massive error from this, anyone got any clue?
    Code:
    13:10:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'seas
    on' in plugin Seasons v1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    52)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(Unknown Source)
            at java.util.ArrayList.get(Unknown Source)
            at org.rominos2.Seasons.SeasonsCommands.season(SeasonsCommands.java:97)
            at org.rominos2.Seasons.SeasonsCommands.playerCommand(SeasonsCommands.ja
    va:21)
            at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:73)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 13 more
    13:10:33 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'seas
    on' in plugin Seasons v1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    52)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:737)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(Unknown Source)
            at java.util.ArrayList.get(Unknown Source)
            at org.rominos2.Seasons.SeasonsCommands.season(SeasonsCommands.java:97)
            at org.rominos2.Seasons.SeasonsCommands.playerCommand(SeasonsCommands.ja
    va:21)
            at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:73)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 13 more
    >season
    13:10:43 [INFO] /season [world]
    >/season world
    13:10:47 [INFO] Unknown console command. Type "help" for help.
    >season world
    13:10:50 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'seas
    on' in plugin Seasons v1.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    44)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(Unknown Source)
            at java.util.ArrayList.get(Unknown Source)
            at org.rominos2.Seasons.SeasonsCommands.season(SeasonsCommands.java:97)
            at org.rominos2.Seasons.SeasonsCommands.consoleCommand(SeasonsCommands.j
    ava:46)
            at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:71)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 6 more
    >
     
  24. Offline

    rominos2

    @Maniox
    You don't had seasons right ?
    Can you send your configs (use the [ SPOILER ] config [ /SPOILER ] it's usefull) please ?
     
    bellardie likes this.
  25. Offline

    undeadmach1ne

    just tested out the textures. they work great :) now to make seasonal copies of my custom texturepack...thanks again!
     
  26. Offline

    Boof

    Hey, great concept, but I have an error. I attempted to make my own seasons like Winter, Autumn, Summer, and Spring. I also tried to make each season last 5 real-life days. I have this error and I cannot figure out how to solve it. Help, please!

     
  27. Offline

    rominos2

    @Boof
    It's because of the Yaml settings
    There must be a tab or something on the specialDay number 183 in the Winter
    Just look you'll find
     
    bellardie likes this.
  28. Offline

    Boof

    You mispelled "Lengths" in your YAML files. It should be "Lenghts."

    Also, I found out what my error was. Instead of using spaces, i used tabs. Spaces must be used for your code to recognize the code's positions.

    Also also:
    should be "/setseason [shortname]."
     
  29. Offline

    kris76

    hello,

    I tried to configure the yml to change the texture pack when changing season but nothing happens. Any idea ?
     
  30. Offline

    undeadmach1ne

    do you have '*' in your permissions? if so, you have to exempt yourself from the seasons.textures.exempt permission...if its not that, i dunno what it is...
     
  31. Offline

    Shadowbane

    Works Great on 1060, with Spout, Minequest, Movecraft and about 20 other plug ins, I just wish snow was a option for my winter season! GREAT WORK!!!
     

Share This Page