[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

    ToxicKilla
    I never forget to put the yml.
    Pail manager must have been drunken ^^
    BTW the snowManager is beeing extracted to a new plugin.
    So please wait for it
     
    bellardie likes this.
  3. Offline

    ToxicKilla

    rominos2
    Alright, should that fix the crashing?
     
  4. Offline

    rominos2

    bellardie likes this.
  5. Offline

    ToxicKilla

    rominos2
    Seasons seems to be working fine without Snow place or melt on, so it's definately snow manager causing crashes. I hope new rewrite works.
     
  6. Offline

    Khaw

    I confirm.
     
  7. Offline

    ToxicKilla

    Glad it's not only me then.
    Any progress Rominos?
     
  8. Offline

    rominos2

    ToxicKilla
    Khaw
    In progress.
    Don't know when it will be released yet
    Have to wait
     
    bellardie likes this.
  9. Offline

    ToxicKilla

    rominos2
    As long as it's in the works. ;)
     
  10. Offline

    RasCas

    I am just wondering, why the three weathers do not sum up to 100 percent in the sample config. Any hints?
     
  11. Offline

    rominos2

    RasCas
    Just a default config problem
     
    bellardie likes this.
  12. Offline

    RasCas

    Ok, so it must be 100, i correct this manually. Thanks for the fast reply.
     
  13. Offline

    Nazralte

    Ok, I have figured out that BioMed and seasons doesn't work too well together. Was cauing some lag and such.

    However, the moon is flashing through phases for some reason. Not sure why this plugin would cause that, but it does. Im using the R3 (1846) release of bukkit, spout and spout client. Even on the regular client and no spout it was doing it as well.

    Also, for some reason when I first log on after a server start, it will be raining instead of snow. If I use the weather command, either to change to sun then rain, or even if I just do /season weather rain, it will change to snow. And if I use the bukkit command /time set (#) to set it back to morning, it will change the weather back to rain. Strange.

    Edit: I'm also getting this error sometimes that crashes the server. I have only gotten when I had the season plugin in.
    Code:
    [SEVERE] java.util.ConcurrentModificationException
    09:48:11 [SEVERE]      at java.util.AbstractList$Itr.checkForComodification(Unk
    nown Source)
    09:48:11 [SEVERE]      at java.util.AbstractList$Itr.next(Unknown Source)
    09:48:11 [SEVERE]      at java.util.AbstractCollection.removeAll(Unknown Source
    )
    09:48:11 [SEVERE]      at net.minecraft.server.World.tickEntities(World.java:11
    14)
    09:48:11 [SEVERE]      at net.minecraft.server.MinecraftServer.w(MinecraftServe
    r.java:528)
    09:48:11 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:435)
    09:48:11 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:465)
    09:48:11 [SEVERE] Unexpected exception
    java.util.ConcurrentModificationException
            at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
            at java.util.AbstractList$Itr.next(Unknown Source)
            at java.util.AbstractCollection.removeAll(Unknown Source)
            at net.minecraft.server.World.tickEntities(World.java:1114)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:528)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    >
    I wasn't using spout (dont have the spout plugin installed).
     
  14. Offline

    aritturlt

    What happened @[email protected]?

    2012-02-16 19:54:08 [WARNING] Could not properly handle event CHUNK_LOAD:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread: org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread
    at org.bukkit.event.Listener.onChunkLoad(Listener:0)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103)
    at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:249)
    at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:136)
    at org.bukkit.craftbukkit.CraftWorld.getHighestBlockYAt(CraftWorld.java:85)
    at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.getSurfaceBlockY(TaskAdderThread.java:119)
    at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.handleChunkPlacing(TaskAdderThread.java:90)
    at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.placeInAllChunks(TaskAdderThread.java:73)
    at org.rominos2.Seasons.Managers.SnowManager.TaskAdderThread.run(TaskAdderThread.java:47)
    2012-02-16 19:54:08 [INFO] This error is logged only once: it could have occurred multiple times by now.
     
  15. Offline

    SVoyager

    I am having an issue with the plugin. For some reason, the plugin keeps thinking that days are passing when its not the case. Don't really know what could be the issue. I am using 1.8.2 on latest RB of bukkit (1.1-R4) not on spout. We don't even have a full day/night cycle done on the server that seasons change. I am targeting for 15 days seasons with weather changing every 15 minutes with 30 minutes day/night cycles. Here is my config:

    Code:
    Seasons:
      Spring:
        Spout:
          Textures: ''
          Snow: 20
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: spring
        Lengths:
          Season: 15.0
          Weather: 0.5
        Percentages:
          Sun: 60
          Rain: 35
          Thunder: 5
        SpecialDays:
          '1': First Day of Spring
          '15': Last Day of Spring
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 24000
          Night: 12000
      Summer:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: summer
        Lengths:
          Season: 15.0
          Weather: 0.5
        Percentages:
          Sun: 75
          Rain: 10
          Thunder: 15
        SpecialDays:
          '1': First Day of Summer
          '10': Last Day of Summer
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 30000
          Night: 6000
      Autumn:
        Spout:
          Textures: ''
          Snow: 20
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: autumn
        Lengths:
          Season: 15.0
          Weather: 0.5
        Percentages:
          Sun: 50
          Rain: 15
          Thunder: 35
        SpecialDays:
          '1': First Day of Autumn
          '15': Last Day of Autumn
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 24000
          Night: 12000
      Winter:
        Spout:
          Textures: ''
          Snow: 100
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: winter
        Lengths:
          Season: 15.0
          Weather: 0.5
        Percentages:
          Sun: 45
          Rain: 50
          Thunder: 5
        SpecialDays:
          '1': First Day of Winter
          '7': Christmas!
          '15': Last Day of Winter
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 20000
          Night: 16000
    Properties:
      Active: true
      LogInfo: true
      Resolution:
        Precision: 0.01
        TimeCheck: 20
      Regen:
        Snow: true
        Ice: true
      Messages:
        ChangeMessage: Seasons changes to <name>.
        SeasonsMessage: You're in <name> for another <number> days.
        SpecialDayMessage: It's <name>.
        Spout:
          Notification:
            Season: New Season
            SpecialDay: Special Day
        Color: §b
        Sign:
        - <name>
        - <day>/<length>
        - <specialDay>
        ColorList:
          BLACK: §0
          DARK_BLUE: §1
          DARK_GREEN: §2
          DARK_AQUA: §3
          DARK_RED: §4
          DARK_PURPLE: §5
          GOLD: §6
          GRAY: §7
          DARK_GRAY: §8
          BLUE: §9
          GREEN: §a
          AQUA: §b
          RED: §c
          LIGHT_PURPLE: §d
          YELLOW: §e
          WHITE: §f
          MAGIC: §k
      Debug: false
    
    At first, I tought that it would be conflicting with ProperTime that im using to tweak the day/night cycle so I removed it but the problem persists. Any ideas as to what is causing the problem?

    Thanks in advance for the help!!
     
  16. Offline

    rominos2

    Nazralte
    Don't know where this error come from.

    But I can search for the problem of rain/snow

    aritturlt

    This come from the SnowManager.
    I'll send it to the dev in charge of it

    SVoyager
    I'll look at that
    Try to send me the a bit of log using the Debug option

    EDIT : I tried your config and it functions well


    Have a nice day
     
    bellardie and aritturlt like this.
  17. Offline

    SVoyager

    Thanks alot for the quick reply. I think I found the mistake, an error on my part. I am running 2 servers, a test one and a production one. Since the production one sometimes gets empty very late at night, I must have tried removing propertime on the wrong one DUH. The brain seems to be working properly this time today so I gave it another shot and everything is working fine. Gonna continue to monitor things. Thanks alot for the help!

    BTW, very nice plugin you got there. Havn't gone thru all the seaons yet but if things work, its gonna add a touch of realism and much better weather control. Keep it up!
     
  18. Offline

    rominos2

    SVoyager
    No Problem,
    it's always a pleasure seeing feedbacks like that
    That's why I use to answer quickly.

    BTW Seasons v1.8.3 is almost ready, but I'll wait for Minecraft 1.2 (don't remeber the release day)
     
    bellardie likes this.
  19. Offline

    omega3141

    For some reason im getting snow in summer ( deleted config and restarted ) same thing , set season to summer
    and even if i select rain i get snow as well. running R4 and seasons 1.8.2 before wiping config i had set snow manager to remove snow=1 to clear the snow falling in summer ?? strange
     
  20. Offline

    yninja90

    I get snow fine, but also rain particles and -sounds. Why could that be? Spout?
    Also the mentioned lag. Is there info to when it'll be fixed?
    Thanks rominos2 :)
     
  21. Offline

    rominos2

    omega3141
    A fix version is arriving very soon

    yninja90
    Yes, spout issues
    For the lag, I don't know, perhaps the SnowManager
     
    bellardie likes this.
  22. Offline

    omega3141

    ohhh goodie :) , would miss this plugin

    Keep up the good work, do appreciate the pain you dev's most go through with the everchanging bukkit's :)
     
  23. Offline

    rominos2

    omega3141
    Bukkit is not the one everchanging.
    Users everchange ^^
     
    bellardie and aritturlt like this.
  24. Offline

    ToxicKilla

    Version 1.8.3 seems to be working fine so far, touch wood. But disabling ice regen still doesn't work.

    Edit:
    Scratch that, crashed for the second time in a few hours. I thought first crash might have been a one off. Here's the error code:
    Code:
    08:24 PM [SEVERE] java.util.ConcurrentModificationException
    08:24 PM [SEVERE] at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    08:24 PM [SEVERE] at java.util.ArrayList$Itr.next(Unknown Source)
    08:24 PM [SEVERE] at net.minecraft.server.World.tickEntities(World.java:1174)
    08:24 PM [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:528)
    08:24 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    08:24 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    08:24 PM [SEVERE] Unexpected exception
    
     
  25. Offline

    rominos2

    ToxicKilla

    Hmmm I'll look at Ice regen but I'm sure it was working fine
    Also if this error is from the SnowManager, I've not modified it
    A new plugin is still deved fo that
     
    bellardie likes this.
  26. Offline

    ToxicKilla

    rominos2 Oh right, I'll just wait for that then.
     
  27. Offline

    rominos2

    ToxicKilla
    I tried Ice regen it works. I don't see where the problem is
     
    bellardie likes this.
  28. Offline

    ToxicKilla

    rominos2
    Well when I change where it says true to false next to ice regen I still get ice appearing all over the map when it snows.
     
  29. Offline

    rominos2

    ToxicKilla
    Regen config is only for Natural behaviour on Snow Biomes, not for the SnowManager
     
    bellardie likes this.
  30. Offline

    ToxicKilla

    rominos2
    Oh... Herpy derpy me. Any way to make ice only generate in Snow Biomes but snow fall everywhere in the winter?
     
  31. Offline

    rominos2

    bellardie likes this.

Share This Page