[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

    Steffion

    Nice but, i get a error?
    Code:
    00:17:09 [SEVERE] Error occurred while enabling Seasons v1.9 (Is it up to date?)
    java.lang.ArrayIndexOutOfBoundsException: 1
        at org.rominos2.Seasons.SeasonsSettings.loadSettings(SeasonsSettings.java:154)
        at org.rominos2.Seasons.SeasonsSettings.load(SeasonsSettings.java:74)
        at org.rominos2.Seasons.Seasons.loadWorld(Seasons.java:153)
        at org.rominos2.Seasons.Seasons.onEnable(Seasons.java:74)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:543)
        at org.bukkit.Bukkit.reload(Bukkit.java:182)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
        at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Version:
    Code:
    00:17:52 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)
    Please reply?
     
  4. Offline

    rominos2

    Steffion
    It's because of the color (again and again).
    It seems that you don't enter the right color char before the letter
     
    bellardie likes this.
  5. Offline

    Steffion

    ok freak... Btw i have the standard config. So its not my fault :p! Please fix, thanks!
     
  6. Offline

    rominos2

    Steffion
    My default config is working for me.
    it must be a problem of encoding or Ascii character
    What country are you from ?
     
    bellardie likes this.
  7. Offline

    Steffion

    I'm from the Netherlands. (Not the Nether in Minecraft :/!)
     
  8. Offline

    rominos2

    Steffion
    It's weird
    I'm friends from Netherlands and they never have the same problem
    I'd glad to help you if I can reproduce the problem
     
    bellardie likes this.
  9. Offline

    Steffion

    rominos2 Hi! Its working! In the config (default) there is DARK_BLUE: ß1 Etc.
    But you have to change the ß to § =D! Now its working! Yay!! SEASON!!! xD! Thanks for the plugin! I like your post :)!

    rominos2 Can you add a possibility for no snow/ice in the desert? And more world support?

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

    FrancisPT

    I can't have snow yet, I have tested without modify anything to the craftbukkit, your plugin and the spoutplugin and spoutcraft, I haven't downloaded the craftbukkit again, simple copy the .jar and create a new folder with it, but I'm going to download and see if it works.

    Tested with the last Recommended version of SpoutCraft/Plugin.
     
  11. Offline

    rominos2

    Steffion
    What are you meaning by snow/ice in desert ?
    And for world support ?

    FrancisPT
    It's a Spout Issue for the moment (they said it's a vanilla issue).
     
    bellardie likes this.
  12. Offline

    FrancisPT

    Ok, thanks for reply, hope they solve it soon.
     
  13. Offline

    Steffion

    rominos2 No ice placing in desert. And function for multi world support.
     
  14. Offline

    rominos2

    Steffion
    Ice is placing in desert with the SnowManager
    And the Plugin IS supporting MultiWorld
     
    bellardie likes this.
  15. Offline

    evanw

    How about length of day/light settings. Winter=shorter/darker days. Summer=longer/brighter
     
  16. Offline

    rominos2

    evanw
    This is supported

    Release of the version 1.9.1

    Fix for the Time Management
    Enjoy !

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

    Steffion

    rominos2 I meant add a function for NO ice and snow placing in the desert. If this can be possible i love it <3! (because there is no rain/snow falling in the desert :eek:!)
     
  18. Offline

    rominos2

    Steffion
    I don't think I'll add that.
    BTW the rain/snow IS falling in the desert.
    It's just the client that doesn't display that
     
    bellardie likes this.
  19. Offline

    Steffion

    rominos2 Ah.. C'mon! There is no accommodation that it snows in the desert, because the client that does not display that? =(!
     
  20. Offline

    Steffion

    rominos2 Do you already know if you're going to add my request? :O!
     
  21. Offline

    rominos2

    Steffion
    Why would I do that
    You're the only one asking for it
    Moreover it's a line more in the config.
    It tooks place in config
    It's already huge.
     
    bellardie likes this.
  22. Offline

    Steffion

    rominos2
    Ok, =(. Then i go search for another plugin...
     
  23. Offline

    eraclion

    You speek anglish very bad rominos. I understand rien du tout a ton charabia
     
  24. Offline

    rominos2

    eraclion
    Just learn a bit of english and you'll understand, don't worry.
    Steffion
    No problem
    If it becomes a really asked thing I'll do that, but not for one person, even if you're nice
     
    bellardie likes this.
  25. Offline

    mcferson

    i've a little problem i've never had before : the snow did not want to be removed, when the sping rise :)
    this is my config file :
    Code:
    Seasons:
      Ete:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: ete
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 75
          Rain: 15
          Thunder: 10
        SpecialDays:
          '1': Solstice d'Ete
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 18000
          Night: 6000
      Automne:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: automne
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 30
          Rain: 50
          Thunder: 20
        SpecialDays:
          '1': Equinoxe d'Automne
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 12000
          Night: 12000
      Hiver:
        Spout:
          Textures: ''
          Snow: 100
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: hiver
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 65
          Rain: 30
          Thunder: 5
        SpecialDays:
          '1': Solstice d'Hiver
        SnowManagerSpeed:
          Place: 0.5
          Remove: 0
        Time:
          Day: 8000
          Night: 16000
      Printemps:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: printemps
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 60
          Rain: 30
          Thunder: 10
        SpecialDays:
          '1': Equinoxe de Printemps
        SnowManagerSpeed:
          Place: 0
          Remove: 1
        Time:
          Day: 12000
          Night: 12000
    Properties:
      Active: true
      LogInfo: true
      Resolution:
        Precision: 0.0
        TimeCheck: 20
      Regen:
        Snow: true
        Ice: true
      Messages:
        ChangeMessage: Les saisons ont changé pour <name>.
        SeasonsMessage: Nous sommes en plein <name>, pour encore <number> jours.
        SpecialDayMessage: Nous sommes en <name>.
        Spout:
          Notification:
            Season: Nouvelle Saison
            SpecialDay: Journée spéciale
        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
          BOLD: §l
          STRIKETHROUGH: §m
          UNDERLINE: §n
          ITALIC: §o
          RESET: §r
      Debug: false
    
    as you can see, i've set Remove = 1 (Printemps), but the snow stay forever.
    another little problem : i always have rain falling, not snow, in winter (Hiver).
    Yes i use Spout client, and all un-understandable server plugins for Spout.
     
  26. Offline

    rominos2

    mcferson
    I'll test for the snow removal

    For the snow appearance, it's a known bug, so don't report it plz.

    Merci d'utiliser Seasons ^^
     
    bellardie likes this.
  27. Offline

    mcferson

    my answer has disapear...
    i've said : De rien, c'est le plugin qui apporte le plus de fun et de variété.

    Ok, now, the snow removal is OK on a brand new world. The other world was generated with older version.*
    However, with same config file as above, the actual season is blocked on the 1st day and never change.
    i put here the season desc file and save :
    Code:
    Seasons:
      Ete:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: ete
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 75
          Rain: 15
          Thunder: 10
        SpecialDays:
          '1': Solstice d'Ete
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 18000
          Night: 6000
      Automne:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: automne
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 30
          Rain: 50
          Thunder: 20
        SpecialDays:
          '1': Equinoxe d'Automne
        SnowManagerSpeed:
          Place: 0
          Remove: 0
        Time:
          Day: 12000
          Night: 12000
      Hiver:
        Spout:
          Textures: ''
          Snow: 100
          Notification:
            Material:
              Season: DEAD_BUSH
              SpecialDay: DIAMOND
        ShortName: hiver
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 65
          Rain: 30
          Thunder: 5
        SpecialDays:
          '1': Solstice d'Hiver
        SnowManagerSpeed:
          Place: 0.5
          Remove: 0
        Time:
          Day: 8000
          Night: 16000
      Printemps:
        Spout:
          Textures: ''
          Snow: 0
          Notification:
            Material:
              Season: SAPLING
              SpecialDay: DIAMOND
        ShortName: printemps
        Lengths:
          Season: 30.0
          Weather: 0.5
        Percentages:
          Sun: 60
          Rain: 30
          Thunder: 10
        SpecialDays:
          '1': Equinoxe de Printemps
        SnowManagerSpeed:
          Place: 0
          Remove: 0.5
        Time:
          Day: 12000
          Night: 12000
    Properties:
      Active: true
      LogInfo: true
      Resolution:
        Precision: 0.0
        TimeCheck: 20
      Regen:
        Snow: true
        Ice: true
      Messages:
        ChangeMessage: Les saisons ont changé pour <name>.
        SeasonsMessage: Nous sommes en plein <name>, pour encore <number> jours.
        SpecialDayMessage: Nous sommes en <name>.
        Spout:
          Notification:
            Season: Nouvelle Saison
            SpecialDay: Journée spéciale
        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
          BOLD: §l
          STRIKETHROUGH: §m
          UNDERLINE: §n
          ITALIC: §o
          RESET: §r
      Debug: false
    
    Code:
    Planete-Danger:
      Season: 3
      SeasonTime: 30.0
      WeatherTime: 0.5
      Signs: []
    
    Tell me what you need to understand what's happening.
    P.S. : Oh yes, another bug : the moon phase is looping constantly. the moon looks like a rotating light (un gyrophare) :)
    All these problems occurs only with my personnal config. not with the default. So, i've done something wrong.
     
  28. Offline

    rominos2

    mcferson
    what version of Seasons are you using ?
    All these bugs should have been corrected in the 1.9.1
     
    bellardie likes this.
  29. Offline

    mcferson

    Ok... Updated to 1.9.1. The moon is okay.
    spoutplugin updated to latest.
    So now, new problem : The season is blocked at 0.0days left and never change.
    The savefile indicate :
    Code:
    Planete-Danger:
      Season: 2
      SeasonTime: 0.0
      WeatherTime: 0.0
      Signs: []
     
  30. Offline

    rominos2

    bellardie likes this.
  31. Offline

    mcferson

    Yep sir !
    If you want, i'll try with the default config, or YOUR personnal config.
    No conflict, with SeasonMobSpawn ?

    Ok... Look at the day precision. i've put 0.0 and it seem it's not a correct nor supported value. 0.1 should be better and it works.
    So how having a day number as integer ?

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

Share This Page