[MECH] WeatherScopes 1.13 - Weather in Regions [1.6.2-R0.1]

Discussion in 'Archived: Plugin Releases' started by DarkShadow44, May 31, 2012.

  1. Weather Scopes
    For newest Updates look here:

    Description:
    A plugin to manage regional weather - inspired by this Plugin I created a similar one that allows you to create dynamic and regional weather.

    Features:
    It replaces the old weather system and allows you to create storms for every single world. You can set up
    • Location
    • Movement Speed
    • Intensity
    • Size
    • Duration
    • WorldGuard regions can have a Flag called "rain"
    for every Storm - or just add random storms with variable parameters.So every Player can have different weather, if you enter a stormy region it will begin to rain and depending on the configuration you will see lightnings. If you leave the region of the storm the sun will come back.

    More Features:
    • Multiverse compatible
    • PermissionEx support
    • Dynmap compatible
    • WorldGuard Integration if "WorldGuard Custom Flags" is installed
    Projekt + Download on BukkitDev


    Commands:
    • storms reload - reloads all files and configs
    • storms save - saves all storms to the disk
    • storms del - deletes the closest weather front
    • storms addrandom - adds an reoccurring random storm
    • storms delrandom - deletes an reoccurring random storm
    • storms add L {x} {z} V {x} {z} S {size} D {time} I {intensity} R - adds an storm, all parameters are optional and case insensitive
    • storms addClear L {x} {z} V {x} {z} S {size} D {time} R - adds an clear area, all parameters are optional and case insensitive
    • - D: duration in sek (default: infinite)
    • - L: Location in X/Z (default: Player X/Z)
    • - V: Velocity in X/Y (default:0)
    • - S: size in blocks(default:200)
    • - I : intensity - lighnings/min (default:0)
    • - R: recreation at a new location after the duration
    Permissions:
    • weatherscopes.modify - allows players to configurate the weather
    Configuration:
    For Random Storms:
    • MaxDistanceFromSpawn: Maximum distance from the spawn where random storms are created
    • MinSpeedX: Minimum speed of the storm (X-direction) (blocks / sec)
    • MaxSpeedX: Maximum speed of the storm (X-direction) (blocks / sec)
    • MinSpeedZ: Minimumspeed of the storm (Z-direction) (blocks / sec)
    • MaxSpeedZ: Maximum speed of the storm (Z-direction) (blocks / sec)
    • MinDuration: Minimum duration of the storm (in sec) (blocks / sec)
    • MaxDuration: Maximum duration of the storm
    • MaxIntensity: Maximum intensity of the storm (in lightnings / sec)
    • PercentageForOnlyRain: Percentage of storms without lightnings (as float)
    • MinSize: Minimum size of the storm
    • MaxSize: Maximum size of the storm
    Other Options:
    • useDynmapIntegration: enable Dynmap Integration
    Changelog:

    Version 1.13
    • Updated for 1.6.2
    Version 1.12
    • Updated for 1.5.2
    Version 1.11
    • Dynmap fix: Storm size now displayed correct
    Version 1.10
    • Updated for 1.5.1
    Version 1.9
    • Updated for 1.5.0
    Version 1.8
    • Updated for 1.4.7
    Version 1.7
    • dynmap changes: markers renamed to Clouds, now white, transparent circle
    • thunder sound can only be heared if you are in the thunder storm
    Version 1.6
    • Update for 1.4.6
    • WorldGuard regions integration (for use with the "WorldGuard Custom Flags" plugin)
    Version 1.5
    • Update for 1.4.5
    • Possiblity to add clear areas in a storm
    • Bugfix: Joining players dont have always a short raining animation
    Version 1.4
    • Dynmap Integration
    Version 1.3
    • update for server version 1.3.1
    Version 1.2
    • Bukkit permission Api supported
    • fix: delrandom deletes only random stormes
    • Java 6 compatible
    Version 1.1
    • Recreation of manually created storms possible
    • Storms only saved after command and on server stop - or manually
    • Added permissions
    • time span for scheduler decreased
    Version 1.0
    • Initial Release
     
    sfxworks likes this.
  2. Offline

    sfxworks

    YES
     
  3. Sorry but it still needs to be approved by a moderator - I uploaded the most recent version one hour ago ^^
    Then on BukkitDev under "Files".
     
  4. Does this already support the other Permission plugins or did you only code for PermEx? If not PLEASE make it compatible with the Bukkit Perm API!!!
     
  5. You mean for example PermissionsBukkit ?
     
  6. Offline

    sfxworks

    Why isn't this approved yet.
     
  7. Well now it is ^^
     
  8. Offline

    Techjar

    Code:
    java.lang.UnsupportedClassVersionError: darkshadow44/WeatherScopes/WeatherScopes : Unsupported major.minor version 51.0
    Compile for Java 6 please, thanks!
     
  9. Awesome work! Keep going. :D

    PS: One question, are storms created alone, and random, despite manually created or random manually created storms? If not, it will be cool to add, just to continue the random weather, with random storms building alone.
     
  10. Random storms are not created automatically, only if you add a new random storm. But if there are for example 2 random storms and one is finished because its duration the plugin creates a new random storm. So you have always the amount of random storms that you once created.
    Did you mean that ?

    Ok the next version will be compiled with java 6.
     
  11. I just asked if storms were created automatically, but you have just answer one more question I had, about random storms finishing and creating others with different random parameters.

    Thanks. :)
     
  12. Offline

    md_5

    Approved.
     
  13. Offline

    Techjar

    Bug report!
    After a while of running this plugin the server will freeze, and spam the following error endlessly, although the file name is different each time.
    Code:
    2012-07-10 10:39:57 [SEVERE] java.io.FileNotFoundException: ./world/region/r.-6.-8.mca (Too many open files)
    2012-07-10 10:39:57 [SEVERE]at java.io.RandomAccessFile.open(Native Method)
    2012-07-10 10:39:57 [SEVERE]at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.RegionFile.<init>(SourceFile:98)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.RegionFileCache.a(SourceFile:65)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.RegionFileCache.c(SourceFile:95)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:136)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.ChunkRegionLoader.c(ChunkRegionLoader.java:126)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.FileIOThread.b(SourceFile:29)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.FileIOThread.run(SourceFile:22)
    2012-07-10 10:39:57 [SEVERE]at java.lang.Thread.run(Thread.java:679)
    2012-07-10 10:39:57 [SEVERE] java.lang.NullPointerException
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.RegionFile.a(SourceFile:292)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.ChunkBuffer.close(SourceFile:262)
    2012-07-10 10:39:57 [SEVERE]at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:166)
    2012-07-10 10:39:57 [SEVERE]at java.io.FilterOutputStream.close(FilterOutputStream.java:160)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:139)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.ChunkRegionLoader.c(ChunkRegionLoader.java:126)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.FileIOThread.b(SourceFile:29)
    2012-07-10 10:39:57 [SEVERE]at net.minecraft.server.FileIOThread.run(SourceFile:22)
    2012-07-10 10:39:57 [SEVERE]at java.lang.Thread.run(Thread.java:679)
    I have 20 storms on one world, here's my configuration:
    Code:
    random:
      MaxDistanceFromSpawn: 20000
      MinSpeedX: -2
      MaxSpeedX: 2
      MinSpeedZ: -2
      MaxSpeedZ: 2
      MinDuration: 30
      MaxDuration: 1800
      MaxIntensity: 60
      PercentageForOnlyRain: 0.5
      MinSize: 1000
      MaxSize: 10000
     
  14. Are you sure that it is caused by my plugin ?
    Your error says that there are too many open files - but I only open my two config files.
    So this should be impossible..:confused:
     
  15. Offline

    Unadrielas

    Hi,
    I try your plugin for few days, and I still don't see any drop of water in my worlds. There's sometimes storms, but with only lightning.
    Is it a bug or there's something in the configuration file that I miss ?

    Sorry for my bad english.
     
  16. Hi,
    no this can't be a configuration error.
    Does it work for others who connect on your server ?
     
  17. Offline

    Unadrielas

    No, each player I asked told me that they only saw lightning when storming.
    There's no error on the server log, and the plugin seems to work well.
     
  18. Do you have any any other weather plugins ?
     
  19. Offline

    Unadrielas

    No but... I tried one more time today and guess what ? It worked ! Don't know how, but I saw for the first time since a week !
    Thanks for the help anyway :)
     
  20. Offline

    sfxworks

    Where is the download link?
     
  21. Offline

    Unadrielas

  22. Offline

    sfxworks

    Where on that page is the download link?
     
  23. Offline

    sfxworks

  24. You are on "Pages", the download is on "Files".
     
  25. Version 1.5 for Bukkit 1.4.5 released.

    Now it is possible to have a storm that covers the whole map but some parts are clear. Just add a storm with a big size and add clear areas :D
     
  26. Offline

    jasper580

    It's incompatible with the new beta build. Can you fix it?
     
  27. Version 1.6 for Bukkit 1.4.6 released, now with integration for WorldGuard regions. :cool:
     
  28. Offline

    Morlanius

    very nice plugin, but any chance of making a couple of changes;
    Make it it so that thunder can only be heard under a storm
    Rename the dynmap bubbles to "Cloud" not storm
    Make the dynmap areas circles not squares
    "" white + opaque
     
  29. Hey,
    sorry I can't make it only be heard under a storm. I create thunder global for that world, it don't know how to make it for every player individually, it was designed to be global :/
    But the other ones I think I can implement for the next update :)
     
  30. Offline

    Morlanius

    aah, ok.
    Rather than creating the sound though a thunder event, could it start the visual effect to thunder, then use the radius sound output and set it to the thunder sound effect at relative cords of the cloud of 0,0 and sound range of storm.range (ive not seen your code, im just guesing the format of your element array)

    if not its not a huge thing, but the dynmap changes would be REALLY appreaited, i think most of your users would enjoy that, you could even set the dynmap areas label to be taken from YML. that would be neat and take a little load off you when someone else decides they might want it to be something else and ask you to recode things lol.


    by the way, feel free to come and take a look at what we are doing with your plugin on mc.lifemud.com default port.


    ~Morlanius
     

Share This Page