[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

    kris76

    No problem (plugins/Seasons/world.yml) :
    Code:
    Seasons:
        Printemps:
            Lenghts:
                Weather: 0.5
                Season: 15.0
            Percentages:
                Thunder: 0
                Sun: 60
                Rain: 40
            Spout:
                Textures: http://www.retributiongames.com/quandary/files/Quandary_4.2_6_Kamba.zip
                Snow: 0
                Notification:
                    Material:
                        Season: SAPLING
                        SpecialDay: DIAMOND
            ShortName: Printemps
            SpecialDays:
                '0': l'Equinoxe de mars
        Ete:
            Lenghts:
                Weather: 0.5
                Season: 15.0
            Percentages:
                Thunder: 5
                Sun: 90
                Rain: 5
            Spout:
                Textures: http://www.retributiongames.com/quandary/files/Quandary_4.2_1_Birak.zip
                Snow: 0
                Notification:
                    Material:
                        Season: FLOWER
                        SpecialDay: DIAMOND
            ShortName: Ete
            SpecialDays:
                '0': le Solstice de juin
        Automne:
            Lenghts:
                Weather: 0.5
                Season: 15.0
            Percentages:
                Thunder: 10
                Sun: 45
                Rain: 45
            Spout:
                Textures: http://www.retributiongames.com/quandary/files/Quandary_4.2_3_Djeran.zip
                Snow: 0
                Notification:
                    Material:
                        Season: DEAD_BUSH
                        SpecialDay: DIAMOND
            ShortName: Automne
            SpecialDays:
                '0': l'Equinoxe de septembre
        Hiver:
            Lenghts:
                Weather: 0.5
                Season: 15.0
            Percentages:
                Thunder: 0
                Sun: 70
                Rain: 30
            Spout:
                Textures: http://www.retributiongames.com/quandary/files/Quandary_4.2_4_Makuru.zip
                Snow: 1
                Notification:
                    Material:
                        Season: SNOWBALL
                        SpecialDay: DIAMOND
            ShortName: Hiver
            SpecialDays:
                '0': le Solstice de decembre
    Properties:
        LogInfo: true
        Messages:
            Spout:
                Notification:
                    Season: Nouvelle Saison
                    SpecialDay: Jour Spécial
            SpecialDayMessage: C'est <name>.
            ColorList:
                WHITE: §f
                BLUE: §9
                LIGHT_PURPLE: §d
                GOLD: §6
                GREEN: §a
                AQUA: §b
                DARK_AQUA: §3
                DARK_GREEN: §2
                DARK_GRAY: §8
                DARK_RED: §4
                YELLOW: §e
                DARK_BLUE: §1
                BLACK: §0
                DARK_PURPLE: §5
                RED: §c
                GRAY: §7
            SeasonsMessage: Vous etes en <name> pour encore <number> jours.
            ChangeMessage: Changement de saison, <name>.
            Color: §b
        Active: true
        Regen:
            Ice: true
            Snow: true
        TimeResolution: 0.01
        Debug: false
    
     
  3. Offline

    rominos2

    Seasons v1.7.1 is on testing
    I will update it this weekend
     
  4. Offline

    rominos2

    ---- Release of the version 1.7.1 ----

    See it on BukkitDev
     
  5. Offline

    Wilko343

    Sorry to ask but what do you get when using spout? I don't get the sentence.. You mean snow in non-snow biomes?
     
  6. Offline

    undeadmach1ne

    you can set seasonal texture packs and change the rain texture to snow on a per-season, percentage basis...
     
  7. Offline

    Wilko343

    But wouldn't the 'snow' go very fast?
     
  8. Offline

    undeadmach1ne

    i didnt notice.
     
  9. Offline

    Wilko343

    Okay I'll try that out.
     
  10. Offline

    kris76

    Hello Rominos,
    The texture pack doesn't load at season change
     
  11. Offline

    rominos2

    @kris76
    What is the version of your :
    - Spout
    - Spoutcraft
    - CraftBukkit ?
     
  12. Offline

    kris76

    1.0.6.403
    1.0.6.449
    1240
     
  13. Offline

    Wedhro

    The same happens in my server: the seasonal texture packs work for me but not for my fellow player (CB#1815). I loaded the packs on my Dropbox public folder, in case this matters.
     
  14. Offline

    rominos2

    @Wedhro
    CB 1815 ?
    Man are you coming from the future ?
    How is the world ?
    What about climate ?
    Are the polar bears in the streets ? Is there flying cars ? Do you have computer in head ?

    Sorry, just hard to wake up ^^



    For the texture I have some issues too but it uses to load after 2-3min of game
    It must be a problem of Spout
     
  15. Offline

    Wedhro

    Sorry for the typo, of course I meant CB1185.
     
  16. Offline

    ItsQ

    Umm... i dont think this is right:
    [​IMG]


    Code:
    Seasons:
        Spring:
            Spout:
                Snow: 20
                Textures: ''
                Notification:
                    Material:
                        Season: DEAD_BUSH
            Percentages:
                Thunder: 10
                Sun: 65
                Rain: 25
            ShortName: summer
            Lengths:
                Weather: 1.0
                Season: 90.0
            SpecialDays:
                '0': First Day of Spring
                '89': Last Day of Spring
        Summer:
            Spout:
                Snow: 0
                Textures: ''
                Notification:
                    Material:
                        Season: SAPLING
            Percentages:
                Thunder: 20
                Sun: 70
                Rain: 10
            ShortName: summer
            Lengths:
                Weather: 0.5
                Season: 90.0
            SpecialDays:
                '0': First Day of Summer
                '89': Last Day of Summer
        Autumn:
            Spout:
                Snow: 0
                Textures: ''
                Notification:
                    Material:
                        Season: SAPLING
            Percentages:
                Thunder: 10
                Sun: 20
                Rain: 50
            ShortName: winter
            Lengths:
                Weather: 1.0
                Season: 90.0
            SpecialDays:
                '45': Mid Winter
                '0': First Day of Autumn
                '89': Last Day of Autumn
        Winter:
            Spout:
                Snow: 100
                Textures: ''
                Notification:
                    Material:
                        Season: DEAD_BUSH
            Percentages:
                Thunder: 15
                Sun: 45
                Rain: 40
            ShortName: summer
            Lengths:
                Weather: 1.5
                Season: 90.0
            SpecialDays:
                '0': First Day of Summer
                '89': Last Day of Summer
    Properties:
        LogInfo: true
        Messages:
            Spout:
                Notification:
                    Season: New Season
                    SpecialDay: Special Day
            SpecialDayMessage: It's <name>.
            ColorList:
                WHITE: §f
                BLUE: §9
                LIGHT_PURPLE: §d
                GOLD: §6
                GREEN: §a
                AQUA: §b
                DARK_AQUA: §3
                DARK_GREEN: §2
                DARK_GRAY: §8
                DARK_RED: §4
                YELLOW: §e
                DARK_BLUE: §1
                BLACK: §0
                DARK_PURPLE: §5
                RED: §c
                GRAY: §7
            SeasonsMessage: You're in <name> for another <number> days.
            ChangeMessage: Seasons changes to <name>.
            Color: §b
        Active: true
        Regen:
            Ice: true
            Snow: true
        TimeResolution: 0.01
        Debug: false
    
     
  17. Offline

    rominos2

    @ItsQ
    I'd like the error in the log
     
    bellardie likes this.
  18. Offline

    ItsQ

    I will post them when i got time for it, but buzy atm, sorry.
     
  19. Offline

    rominos2

    Seasons v1.7.2 is almost ready.
    I'll release it in some days
    Just the time to be at home and have some time
     
    bellardie likes this.
  20. Offline

    Starrk

    This plugin is amazing but how do the texture packs work for seasons? I copied someone's Texture Pack for Autumn and I was wondering how it can take effect? I put it in the 'texture : ' line

    NVM : I got it to work but only others can see it but I can't? I can see WinterSnow fine but other texturepacks I can't...

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

    rominos2

    --- Release of the version 1.7.2 ---

    A lot of news , See on BukkitDev
    Have fun !

    @Starrk
    Do you have Spoutcraft ?
     
    bellardie likes this.
  22. Offline

    Starrk

    Yeah I have SpoutCraft and it's running with all the other mods like I can see Snow and such.
     
  23. Offline

    storm75x

    Would you mind adding an option to melt ice and snow (Not Snow Block) in the certain season?
     
  24. Offline

    rominos2

    @storm75x
    A bit hard to do
    I'll seriously give a look at that after I update my Battery plugin
     
  25. Offline

    Chett

    Code:
    23:36:05 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'seas
    on' in plugin Seasons v1.7.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            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:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
            at org.rominos2.Seasons.SeasonsDayListener.sendTexture(SeasonsDayListene
    r.java:175)
            at org.rominos2.Seasons.SeasonsDayListener.changeSeason(SeasonsDayListen
    er.java:148)
            at org.rominos2.Seasons.SeasonsCommands.setseason(SeasonsCommands.java:2
    08)
            at org.rominos2.Seasons.SeasonsCommands.playerCommand(SeasonsCommands.ja
    va:38)
            at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:68)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 13 more
    When using a command to change Season.

    Code:
    17:01:10 [SCHWERWIEGEND] Could not pass event PLAYER_CHANGED_WORLD to Seasons
    java.lang.NullPointerException
            at org.rominos2.Seasons.SeasonsDayListener.sendTexture(SeasonsDayListene
    r.java:175)
            at org.rominos2.Seasons.SeasonsPlayerListener.sendNewDatasToPlayer(Seaso
    nsPlayerListener.java:34)
            at org.rominos2.Seasons.SeasonsPlayerListener.onPlayerChangedWorld(Seaso
    nsPlayerListener.java:25)
            at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.j
    ava:456)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:296)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:3
    27)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    83)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    64)
            at com.bergerkiller.bukkit.mw.Permission.handleTeleport(Permission.java:
    67)
            at com.bergerkiller.bukkit.mw.Portal$1.run(Portal.java:285)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    My Setup:
    Bukkit 1337
    Spout: 510
    Spoutcraft 718

    Bergekiller or you ? :p Using his Sign Portals from MyWorlds creates the above.

    Code:
    17:25:18 [SCHWERWIEGEND] Could not pass event PLAYER_CHANGED_WORLD to Seasons
    java.lang.NullPointerException
            at org.rominos2.Seasons.SeasonsDayListener.sendTexture(SeasonsDayListene
    r.java:175)
            at org.rominos2.Seasons.SeasonsPlayerListener.sendNewDatasToPlayer(Seaso
    nsPlayerListener.java:34)
            at org.rominos2.Seasons.SeasonsPlayerListener.onPlayerChangedWorld(Seaso
    nsPlayerListener.java:25)
            at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.j
    ava:456)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.moveToWorld(ServerCon
    figurationManager.java:296)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:3
    27)
            at com.earth2me.essentials.Teleport.now(Teleport.java:227)
            at com.earth2me.essentials.Teleport.teleport(Teleport.java:205)
            at com.earth2me.essentials.Teleport.warp(Teleport.java:132)
            at com.earth2me.essentials.commands.Commandwarp.warpUser(Commandwarp.jav
    a:91)
            at com.earth2me.essentials.commands.Commandwarp.run(Commandwarp.java:73)
    
            at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsComm
    and.java:84)
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.jav
    a:445)
            at com.earth2me.essentials.Essentials.onCommand(Essentials.java:355)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            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:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    Warping with Essentials up to date Version creates this above.

    If u need any other infos let me know, i run a ton of Plugins as well, but all up to date 1337 (only Mob Arena isnt).

    Thx for sharing your work with us.
     
  26. Offline

    rominos2

    @Chett

    I'll see that
    This release is a bit buggy
     
  27. Offline

    BioRage

    @rominos2

    Question I just spawned, and it was winter, but there is no snow fall, could you explain this please?:)

    Edit:
    Okay, I see the snow now; just takes time I suppose!

    Amazing!
     
  28. Offline

    rominos2

    @BioRage
    Or there were no weather
     
    BioRage likes this.
  29. Offline

    storm75x

    Thanks. XD
     
  30. Offline

    Aeron

    Looks very interesting and promising, have got to try this one out. Does this somehow overwrites the Biome data? Also does grass coloring gets involved?
     
  31. Offline

    ChillierNsx94

    • You can set Textures packs for each seasons with Spout (optional)

    Can somebody please tell me how to do this or a video explainging how I can do this? Help is appretated!
     

Share This Page