[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

    @M4xwellou
    Can you send the error log to get the line plz ?
     
    bellardie likes this.
  3. Offline

    M4xwellou

    @rominos2

    Wow, a lot happenned since then but i'll try to retrieve it :p

    DONE:

    2011-09-06 09:13:04 [INFO] /season set [world] [shortName]
    2011-09-06 09:13:11 [INFO] [Seasons] Command in proximity by CONSOLE : /setSeason winter
    2011-09-06 09:13:11 [INFO] [Seasons] Seasons in proximity changes to Winter.
    2011-09-06 09:13:11 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'season' in plugin Seasons v1.6.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
    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.NullPointerException
    at org.getspout.spout.player.SimpleBiomeManager.setPlayerWeather(SimpleBiomeManager.java:48)
    at org.rominos2.Seasons.SeasonsDayListener.snowPlayer(SeasonsDayListener.java:168)
    at org.rominos2.Seasons.SeasonsDayListener.snowPlayers(SeasonsDayListener.java:154)
    at org.rominos2.Seasons.SeasonsDayListener.changeSeason(SeasonsDayListener.java:136)
    at org.rominos2.Seasons.SeasonsCommands.setseason(SeasonsCommands.java:184)
    at org.rominos2.Seasons.SeasonsCommands.consoleCommand(SeasonsCommands.java:94)
    at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:71)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 6 more


    THEN that's when I tried to switch back to dry season as I usually did when I saw that winter did not work:

    2011-09-06 09:13:23 [INFO] [Seasons] Command in proximity by CONSOLE : /setSeason summer
    2011-09-06 09:13:23 [INFO] [Seasons] Seasons in proximity changes to Summer.
    2011-09-06 09:13:23 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'season' in plugin Seasons v1.6.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344)
    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.NullPointerException
    at org.getspout.spout.player.SimpleBiomeManager.setPlayerWeather(SimpleBiomeManager.java:48)
    at org.rominos2.Seasons.SeasonsDayListener.snowPlayer(SeasonsDayListener.java:168)
    at org.rominos2.Seasons.SeasonsDayListener.snowPlayers(SeasonsDayListener.java:154)
    at org.rominos2.Seasons.SeasonsDayListener.changeSeason(SeasonsDayListener.java:136)
    at org.rominos2.Seasons.SeasonsCommands.setseason(SeasonsCommands.java:184)
    at org.rominos2.Seasons.SeasonsCommands.consoleCommand(SeasonsCommands.java:94)
    at org.rominos2.Seasons.Seasons.onCommand(Seasons.java:71)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 6 more
     
  4. Offline

    rominos2

    --- Release of version 1.6.4 ---

    Fix version
    see the changelog on file

    --- Release of the new version 1.6.4 ---

    Fix version of the fix version ^^

    Just download the version 1.6.4 (i overwrite the file)

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

    undeadmach1ne

    fix is fixed :)
     
  6. Offline

    ghosrec35

    I have been putting together a server for the past few days, and everything has worked perfectly up to this point.

    I started the server with Seasons after i finally set-up Multi-World with "My World." Every world is perfectly fine with this plugin, except for the world i have set-up for redstone. I don't receive any errors in the console and such, but the season in my redstone world continually switches (about every 10 seconds) from Dry season to Wet season, and back to dry season, over and over again.

    Any ideas on how to fix this?

    P.S. When i disable Seasons in the config, it just keeps the world set to rain(Not exactly the most ideal Environment for complicated redstone wiring, kind of distracting)

    I'm sorry if this has been solved before earlier in the post, but i'm kind of short on time right now.
     
  7. Offline

    rominos2

    @ghosrec35
    Is there time plugin on your redstone worlds ?
    Can I see the config for this world ?
     
    bellardie likes this.
  8. Offline

    ghosrec35

    @rominos2
    Nevermind, thank you so much for replying, but i found the simplest way to solve the problem was to set the world's config to off (no longer spam's console or chat with "world_redstone has changed to dry/wet season", and set the worlds weather lock to sun (This didn't happen to work at first, again i'm sorry to bother you). I do have propertime installed at the moment in case you'd like to test for possible plugin in-compatibilities. If you mean the config files for the Seasons plugin, the config is completely default except for "Active" being false as of now.
     
  9. Offline

    rominos2

    @ghosrec35
    Time plugin have also had issues with Seasons because of the way it's coded
    Maybe one day I'll change that and recode a part but not for the moment (1.6.5 is coming)
     
    ghosrec35 and bellardie like this.
  10. Offline

    Mathew Alden

    So... when you put the URL for your own texture pack... It can't be something like Mediafire can it?
     
  11. Offline

    rominos2

    @Mathew Alden
    I don't know never tried
    Just use Dropbox (don't install the client and only use it for data storage like me)
     
    Mathew Alden and bellardie like this.
  12. Offline

    rominos2

    --- Relese of the version 1.6.5 ----

    Sorry I forget to say for the release yesterday
     
    bellardie likes this.
  13. Offline

    dxwarlock

    Hmm strange issue, when anyone does /spawn or /home...or I use admin compass to move around, even 2 blocks away..it 'pauses' for that few seconds like its reloading the texture pack. does it reload the pack anytime you move in ways other than normal walking?

    edit: ah believe I found it (think this is whats causing it..could be wrong)

    Code:
        public void onPlayerTeleport(PlayerTeleportEvent event)
        {
            plugin.sendTexture(event.getPlayer(), event.getTo().getWorld());
            plugin.getDayListener(event.getTo().getWorld()).snowPlayer(event.getPlayer());
        }
    not sure what that should be changed to, to check only if the world changed, re spawn in same world or TPing 10 blocks away shouldn't need to trigger a reload should it?
     
  14. Offline

    rominos2

    @dxwarlock
    Yeah perhaps check the World between the tow points
     
    bellardie likes this.
  15. Offline

    dxwarlock

    thanks, Ill poke around with it, not sure if I can pull the world they 'tped' from and the one they are currently in to compare them. noticed if I take that line out, switching worlds doesn't change the texture pack.
    Hopefully there is someway to do "if new world=old world" on TP don't reload.
     
  16. Offline

    rominos2

    @dxwarlock
    Hey I'm the dev
    I know hot to do that
    No need of explaining
    Moreover it's already done but I'm cleaning a bit the code and adding some features
     
    bellardie likes this.
  17. Offline

    dxwarlock

    oh no no, sorry not saying you couldn't :)
    was referring to me poking around in it trying to figure it out for myself. basic curiosity and all
     
  18. Offline

    rominos2

    --- Release of the version 1.7 (Achievements Edition) ---

    Yeah Let's go on Bukkit dev to look at this awesome release

    BTW there is no possibility to make thunder without rain

    Have fun !
     
    bellardie likes this.
  19. Offline

    Zaab1t

    Nice plugin keep working :D 1.8 soon?
     
  20. Offline

    rominos2

    No RB --> No testing
     
    bellardie likes this.
  21. Offline

    M4xwellou

    @rominos2

    Hi again ! :)

    with the latest Season, Bukkit & Spout & Spoutcraft i got this:

    java.lang.UnsupportedOperationException: Notification messages can not be greater than 26 chars + 26 colors
    at org.getspout.spout.player.SpoutCraftPlayer.sendNotification(SpoutCraftPlayer.java:500)
    at org.rominos2.Seasons.SeasonsDayListener.sendNotification(SeasonsDayListener.java:253)
    at org.rominos2.Seasons.SeasonsDayListener.sendNotification(SeasonsDayListener.java:234)
    at org.rominos2.Seasons.SeasonsDayListener.SpecialDay(SeasonsDayListener.java:152)
    at org.rominos2.Seasons.SeasonsDayListener.run(SeasonsDayListener.java:62)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >

    I also have no snow on winter season !
    I saw thath in the config files it has changed to "0" so I tried to put "1", nothing
    so I tried to put "true" and nothing xD
     
  22. Offline

    rominos2

    @M4xwellou
    It's becuase the name of your SpecialDay is too long
    I'll made a security one day to prevent errors like that and cut the name
     
    bellardie likes this.
  23. Offline

    kris76

    Hello Rominos,
    CB #1185 is a RB, do you plan to work on it ? Your plugin is the only one on my server that doesn't work anymore, and we liked the last upgrades you've done with Spout !
     
  24. Offline

    rominos2

    @kris76
    Why does it not works ?
    Errors ?

    @M4xwellou
    Ho I didn"t have seen the last part of your post
    For the snow season it's now in % of replace rain
    So 100% will replace all rain by snow
     
    bellardie likes this.
  25. Offline

    shaggy2010

    I just got this plugin and I have rain and now snow also (or is it only meant to be in snow biomes)?
    Was wondering/hoping it would snow everywhere if using spout and set to 100 with this plugin.
     
  26. Offline

    rominos2

    Thiat should work with Spout
    If you set snow to 100
    And have the Spout plugin
    and have the Spout client
     
  27. Offline

    shaggy2010

    Yeah it worked. thanks - Needed another server reboot that was all.
     
  28. Offline

    kris76

     
  29. Offline

    rominos2

    @kris76
    I hate NPCs
    It's coded like ch...t

    But I'll take a look and fix that
     
  30. Offline

    kris76

    Sorry, it's not the good log the previous was under 1.7.3 CB #1060 but all worked well). Here it is under 1.8.1 CB #1185 :
    Code:
    2011-09-26 21:55:35 [INFO] [Seasons] Loaded 4 seasons for world.
    2011-09-26 21:55:35 [INFO] [Seasons] Properties loaded for world , active : true
    2011-09-26 21:55:35 [INFO] [Seasons] Save not found for world, restart seasons from begining.
    2011-09-26 21:55:35 [SEVERE] Error occurred while enabling Seasons v1.7 (Is it up to date?): null
    java.lang.NullPointerException
        at org.rominos2.Seasons.SeasonsDayListener.changeMeteo(SeasonsDayListener.java:86)
        at org.rominos2.Seasons.Seasons.loadWorld(Seasons.java:135)
        at org.rominos2.Seasons.Seasons.onEnable(Seasons.java:45)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    ...
    
    2011-09-26 21:56:05 [WARNING] Task of 'Seasons' generated an exception
    java.lang.NullPointerException
        at org.rominos2.Seasons.SeasonsDayListener.changeSeason(SeasonsDayListener.java:129)
        at org.rominos2.Seasons.SeasonsDayListener.changeSeason(SeasonsDayListener.java:123)
        at org.rominos2.Seasons.SeasonsDayListener.run(SeasonsDayListener.java:66)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  31. Offline

    rominos2

    @kris76
    Oh my god !
    You've so many errors for my plugin that you lost yourself in them ? ^^
    I'll take a look

    EDIT : Can I have your configs plz ?
     

Share This Page