Inactive [MECH] Regional Weather 1.0 - Weather in regions [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Sukasa, May 7, 2011.

  1. Offline

    Sukasa

    Regional Weather - Like 1.5, but better!

    Regional Weather is a lightweight plugin that substitutes the existing and boring Minecraft weather system with a dynamic front-based weather system. Now you can have rain in one part of your server, sunny in another, and a lightning storm elsewhere. Over time, storm systems die out and are replaced with new ones to keep things fresh.

    Features:
    * Tracks multiple storm fronts
    * Fully Multi-World compatible
    * Currently supports Rain storms and Lightning storms with variable intensity
    * Entire worlds are covered by weather systems at minimal system load
    * Full configuration file support

    <Edit by Moderator: Redacted mediafire url>




    Important Note: In order to make this work, I had to compile directly against CraftBukkit RB #1060. In my experience, it works fine on other RBs, but I do not guarantee this

    Command Reference:

    Show Spoiler
    Note: use the permission regionalweather.* to grant all RW permissions.
    Addfront:

    /addfront (Parameters) - Creates a front with the specified parameters. Each parameter is optional and does not have to be included. No parameters at all creates a storm somewhere in the current world with random settings. Parameters are case-insensitive.
    Permission: regionalweather.commands.addfront
    [L (X) (Z)] - Centers the storm on location (X, Z)
    [T (L/S/?) - Sets the storm type. L sets it to a lightning storm, S a snow storm, anything else is a rainstorm.
    [R (Radius)] - Sets the radius of the storm
    [I (Int)] - Sets the storm intensity
    [V (X) (Z)] - Sets the X/Z velocities of the storm
    [A (Age)] - Sets how long the storm will last for, in ticks
    [C] - If set, the storm does not end
    [P] - If set, the storm will persist across server restarts
    [ S] - If set, the storm will be stationary (velocities both = 0)
    [H] - Sets the storm location to the X/Z of the player issuing the command
    [N] - If set, the storm does not tile as usual, and will only ever be located in a single spot on the world

    Example: /addfront H i 20 t L C p S N - This command will create a high-intensity lightning storm over where the player is, that will never move or die, and persist across server restarts. It also doesn't tile, meaning no other location in the server will have this storm.

    /delfront - Deletes the nearest weather front that the player is currently affected by
    Permission: regionalweather.commands.delfront



    See this plugin in action! The Let's Play Minecraft server community has graciously offered to showcase this plugin in action on their server. Many thanks go out to Mentioum for this :D

    [​IMG]

    Changelog:

    Version 1.0
    * Commands! Persistence! Bugfixes!
    * Updated to CB #1060, but works on other RBs

    Version 0.4.6
    * Fixed storms spawning incorrectly
    * Updated to CB #766

    Version 0.4.5
    * Added per-world configuration support
    * Fixed a null reference error in WeatherTick()

    Version 0.4.0
    * Added configuration file support
    * Uncommented thundering-state code that was accidentally left commented-out

    Version 0.3.0
    * Initial Release

    Todo:
    * Snow Accumulation in winter biomes
    * Wind Storms
    * Weather Effects
    * Configuration File
    * In-Game commands
    * Fixed weather in areas
    * Weather Forecasting

    Default config.yml:


    To get the default config files, delete the RegionalWeather folder and the plugin will automatically recreate them.
     
    Last edited by a moderator: Dec 14, 2016
    Maxwolf Goodliffe likes this.
  2. Offline

    baffu

    do i need to input every weather I want??
     
  3. Offline

    Sukasa

    What? If you mean create every storm, no. /addfront is just available for people who want to use it or are looking to set up more advanced weather patterns. If you just want generic function, just install the plugin and let it do its thing ;)
     
  4. Offline

    kris76

    Hello,
    Is it compatible with CB #1185 ?
    Did anyone test it with Seasons ?
     
  5. Offline

    Sukasa

    I have not yet tested it with CB #1185, but I don't see why it wouldn't work.
     
  6. Offline

    kris76

    I tried it on localhost with MC 1.8.1 CB #1185.
    Maybe I don't understand how it works, but when i use /addfront P H nothing happens, no rain, no snow, no thunder. On the other hand, fronts are well stored in the fronts.yml.
    Any idea ?
    Does persistent fronts change their direction to stay within some limits of the world ?
     
  7. Offline

    Simon Welker

    Y U NO USE DROPBOX FOR DOWNLOAD?!?
    No, seriously, some users (like me) need to use wget or similar tools to download the .jar-files to a remote server through the terminal/console. It'd be much better to not have to deal with some html pages inbetween but just get the file through a URL. :)
     
  8. Offline

    Sukasa

    Storms don't change direction, they just wrap around the world, in a way. Not sure why the storm doesn't appear to begin, it should...

    Never really thought about that after I cut expenses..

    Eh, sorry.
     
  9. Offline

    Syd

    @Sukasa
    Will you update this plugin?
     
    Cellybeans likes this.
  10. Offline

    Cellybeans

    Is this going to be updated soon? It straight up ain't workin' for me anymore. :( I stopped using it a while back due to the errors but I'd really like to use it again.
    I've gotten errors like:
    Code:
    2011-12-16 14:09:22 [SEVERE] Error occurred while enabling RegionalWeather v1.0.0 (Is it up to date?): net/minecraft/server/EntityWeatherStorm
    java.lang.NoClassDefFoundError: net/minecraft/server/EntityWeatherStorm
        at sukasa.regionalweather.RegionalWeather.AddFrontToWorld(RegionalWeather.java:149)
        at sukasa.regionalweather.RegionalWeather.AddWorldToSimulation(RegionalWeather.java:141)
        at sukasa.regionalweather.RegionalWeather.onEnable(RegionalWeather.java:105)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.EntityWeatherStorm
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 13 more
    upon startup.

    Code:
    2011-12-16 14:09:32 [WARNING] Task of 'RegionalWeather' generated an exception
    java.lang.NullPointerException
        at org.bukkit.util.config.ConfigurationNode.removeProperty(ConfigurationNode.java:576)
        at sukasa.regionalweather.PersistenceManager.SaveStorms(PersistenceManager.java:23)
        at sukasa.regionalweather.RegionalWeather.WeatherTick(RegionalWeather.java:179)
        at sukasa.regionalweather.RegionalWeather$1.run(RegionalWeather.java:102)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    after being up a little while
    Code:
    2011-12-16 14:19:58 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'addfront' in plugin RegionalWeather v1.0.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        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:93)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/EntityWeatherStorm
        at sukasa.regionalweather.RegionalWeather.AddFrontToWorld(RegionalWeather.java:149)
        at sukasa.regionalweather.Commands.AddFrontCommand.Command(AddFrontCommand.java:24)
        at sukasa.regionalweather.PlayerCommandHandler.HandleCommand(PlayerCommandHandler.java:26)
        at sukasa.regionalweather.RegionalWeather.onCommand(RegionalWeather.java:123)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.EntityWeatherStorm
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 17 more

    If I'm the only one with this issue, I can try removing all other plugins and test in more detail (these errors are from a month ago so details are foggy) but I recall removing almost all other plugins and it not working still. :(
    If I'm not the only one with this issue ... well, I'll still try and do what I can to help troubleshoot and get this awesome plugin working again. :3
     
  11. Offline

    sfxworks

    Is this mod still live? I find it quite amazing and realistic.
     
  12. Offline

    radarwolf

    Are you still updating this plugin?
     
  13. Offline

    sfxworks

    Apparently not :(
     
  14. Offline

    radarwolf

    Ahhhhhhh, this plugin is like epic. And you just throw it away?
     
  15. Offline

    sfxworks

    Id be willing to take a wack at it if I had his source!
     
    Cellybeans likes this.
  16. Offline

    Admiral666

    I desperately want this for my server :(
     
    Cellybeans likes this.
  17. Please, update this plugin.. :(
     
  18. Offline

    LucidLethargy

    I miss this one, it was one of those rare great ideas...
     
  19. I created a similar plugin here to continue this idea, maybe you want to take a look at it ;)
     
  20. Offline

    THEBEASTCREEPER

    Could You make a video or easy commands
     

Share This Page