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

    sfxworks

    OK...
    I like this. But its always raining on my server.

    The configuration file details are...I don't understand them. Maybe im just tired.

    In any case, my server is a giant square that consists of 925400 chunks.
    So...I tried to take account for the size and..wel...
    tell me what im doing wrong
    Code:
    regionalweather:
        ## Size (in blocks) of weather tiles.  Tiles are always square.
        tiling: 8192
        ## Lightning-specific settings
        lightning:
            ## Hear lightning if your altitude is over this
            hearabove: 60
            ## Hear lightning if less than this many blocks below ground
            hearwithin: 8
        fronts:
            ## Number of weather fronts to simulate in the weather tile
            number: 6
            ## Minimum radius of weather systems
            baseradius: 300
            ## Maximum amount to add to system radius (Random 0..This)
            radiusvariance: 250
            ## Minimum storm intensity.  Intensity 0 storms will not have weather effects or lightning
            baseintensity: 1
            ## Maximum amount to add to system intensity (Random 0..This)
            intensityvariance: 8
            ## Maximum velocity of a storm.  Velocity can be [0..This] in either direction on both planes.
            maxvelocity: 9
        effects:
            ## (DOES NOT WORK) Wash away redstone and un-build diodes
            wash: true
            ## (DOES NOT WORK) Extinguish fires
            extinguish: true
            ## (DOES NOT WORK) Solidify shallow lava in winter biomes
            harden: true
            ## (DOES NOT WORK) Accumulate snow in winter biomes
            snow: true
    
    ## Per-World overrides.  Worlds are keyed by name, e.g. "world1", "normal", etc.
    worlds:
        ## Example world with a greater number of larger, more violent storms over a wider area
        Area7:
            tiling: 8192
            fronts:
                number: 607
                baseradius: 500
                radiusvariance: 350
                baseintensity: 0
                intensityvariance: 9
     
  3. Offline

    40540057

    FYI both download links are broken
     
  4. Offline

    sintri

    Code:
    regionalweather:
        ## Size (in blocks) of weather tiles.  Tiles are always square.
        tiling: 8192
        ## Lightning-specific settings
        lightning:
            ## Hear lightning if your altitude is over this
            hearabove: 60
            ## Hear lightning if less than this many blocks below ground
            hearwithin: 8
        fronts:
            ## Number of weather fronts to simulate in the weather tile
            number: 6
            ## Minimum radius of weather systems
            baseradius: 300
            ## Maximum amount to add to system radius (Random 0..This)
            radiusvariance: 250 #
            ## Minimum storm intensity.  Intensity 0 storms will not have weather effects or lightning
            baseintensity: 1
            ## Maximum amount to add to system intensity (Random 0..This)
            intensityvariance: 8
        effects:
            ## (DOES NOT WORK) Wash away redstone and un-build diodes
            wash: true
            ## (DOES NOT WORK) Extinguish fires
            extinguish: true
            ## (DOES NOT WORK) Solidify shallow lava in winter biomes
            harden: true
            ## (DOES NOT WORK) Accumulate snow in winter biomes
            snow: true
    
    ## Per-World overrides.  Worlds are keyed by name, e.g. "world1", "normal", etc.
    worlds:
        ## Example world with a greater number of larger, more violent storms over a wider area
        world2:
            tiling: 32768
            fronts:
                number: 24
                baseradius: 1200
                radiusvariance: 500
                baseintensity: 50
                intensityvariance: 25
        ## Example world with no storms
        Arrakis:
            fronts:
                number: 0
    No clue but no rain in world2. Sitting here for the past 30 minutes or so suppose there is the slight possibility of it sitting right in a no rain zone, but the biome terrain settings were set for max humidity, and the ground below was grasslands when generated. At any rate, any chance you can check the settings to ensure that there isn't anything out of bounds messing with it. Was a tweak of the pre-existing storm world files.

    edit: Yea, it's not the world, disabled regional weather so I could use essential's storm commands, rained fine.
    edit2: Been bit over an 'our and naught but the sun shining on me tropical rocky paradise, with a stargate sitting on it.
     
  5. Offline

    Denney

    Installed this plugin but it doesn't seem to do anything. If I remove the plugin, rain and storms are frequent. Install this plugin and they don't ever happen.

    One thing I noticed is that the version v0.4.6 and updated for CB #766 but when I start the server it says "RegionalWeather v0.4.5 enabled."

    I've tried both the Adfly and non-Adfly links along with multiple downloads.
     
  6. Offline

    Kebab

    You should add weather controls with this mod.
    Other mods that control weather don't work.

    Cheers.
     
  7. Offline

    Juze

  8. Offline

    Onza40

    Any ETA on moving storm systems?
     
  9. Offline

    sintri

    Quite under the impression that this doesn't function properly if at all atm.
     
  10. Offline

    Kebab

    It didn't rain during the whole weekend on my server, so I must agree.
     
  11. Offline

    Denney

    I've been running this for almost a week now and haven't had a single drop of rain on the entire server. Removing for now and will come back to it later.

    Sorry I couldn't give a better error report but I can't seem to find anything wrong.
     
  12. Offline

    Sukasa

    I'd like to apologize for disappearing; I've had some issues IRL that I'm dealing with which have basically crowded out minecraft altogether. I'll try to get back to this as soon as I can:(
     
  13. Offline

    Denney

    It's all good. With 1.6 coming out today, I feel that quite a bit of stuff might stop working. Work on it when you have time.
     
  14. Offline

    Eoghan

    Just wondering - any plans to allow us to set regional weather by chunk/block? Such as, an eternal storm across 500 blocks etc
     
  15. Offline

    Mentioum

    Hope you are well @Sukasa - looking forward to your return to the plugin and to the server. Hope all is ok!
     
  16. Offline

    77tontos

    I have a server i play on that uses this plugin. the only thing that aggravates me and many other players is how long a rain front lasts. say ill be building a base and it starts raining. the rain will then continue on and on and on and on and on and on and on and on and on and on and on.... well u get the point. for literally hours it will be raining and that annoys my eyes and i cannot stand it. is it possible to make the fronts a little less bigger? im sure many players would appreciate it.
     
  17. Offline

    Mentioum

    Yes in the config you can change front size... and length of time that they last for.
     
  18. Offline

    steveuci


    How do you configure how long they last? Other than configuring their size and speed?
    I also have the problem of rain that goes on forever and ever, basically depressing the one guy that's stuck in it.

    This part of the config bothers me:

    ## Maximum velocity of a storm. Velocity can be [0..This] in either direction on both planes. maxvelocity: 9

    So the speed of a storm will be anywhere from 0 to 9. If it's 0, it won't move at all? How will it go away? Is there any way to specify a minimum velocity so that we can ensure they are always moving?
     
  19. Offline

    Mentioum

    The storms die off after a while... (you can set their maximum duration). The reason they last so long over your particular users head is because it is probably several storms overlapping one another. I dont have the text file with me but I will do a tutorial on this plugin soon. - you can always find me at lpminecraftvideos (On YouTube) , lpminecraft.com or just log into my server at server.lpminecraft.com

    Remember also this plugin is very early in development - a lot of its configurations will improve with time. Im looking forward to @Sukasa 's return as much as everyone else. I miss him on my server too!
     
  20. Offline

    Jallenator

    Is there going to be an update or another plugin that does the same but for #860?
     
  21. Very cool plugin.

    Is there any chance this will get open source?
    My goal is to combine this plugin with dynmap and make the weather visible on the map.
     
  22. Offline

    sagethor

    @Sukasa

    Like Jallenator, I too am curious as to when an update for #860 will come out for this. Unless it's compatible regardless?

    I may test this with #860 today. Nifty plugin! :D
     
  23. Offline

    gamer1129

    Why isn't the download link working? I open it, and Google Chrome says it could not access the page because it could not talk with the server.... Then I tried it on Safari and the same thing, are your servers down?
     
  24. Offline

    Sukasa

    Yeah, the server is down. I haven't updated this for 860 yet publically, so it's a moot point until I get that done. 1.6.6 apparently changed how the server sends weather updates to the client, meaning that the plugin half broke.
     
  25. Offline

    gamer1129

    Ah, ok. Well this looks like an epic plugin i can't wait for the update :D As soon as I see its been released for 860 I am going to install it on my server :) Thanks for the quick reply too. :D
     
  26. Offline

    Roboterlein

    I agree with gamer; I've been watching this one for a few weeks and am dying to use it. Very nice job.
     
  27. Offline

    Sukasa

    The big reason there has been no update is that I'm running into issues where rain just seems to not work and I'm not able to figure out why. That, getting a job, trying to sell the house, and a few other things together are eating at my time a lot right now.
     
  28. Offline

    gamer1129

    Oh wow. I can't even believe you can code anything with so much on your hands. All I can say is, thank you for the effort :) It takes determination for someone going through all that to still code. I hope all goes well for you and I can wait for the update ;D
     
  29. Offline

    Sukasa

    However, I do manage to get some stuff done. Adding and deleting non-permanent fronts via command is in, world weather status is next, and I've half-completed a secret command as well.
     
  30. Offline

    gamer1129

    Epic, sounds good. I will install this the second I see its been updated :D
     
  31. Offline

    LucidLethargy

    Awesome! I can't believe this plugin isn't more famous... it does absolutely amazing things! I've used it since the day you introduced it here, and man does it beat the old system Notch made... absolutely remarkable!
     

Share This Page