WeatherRestrictions

Logo

Update: (September 30th, 2013) Entirely Re-coded plugin! Everything is brand new!

This is no longer a fork of the NoWeather Plugin! I designed it because it rains/snows too frequently on my server, yet I don't really want to put the weather on a schedule. This has several commands to start and stop storms (respects config file) as well as optional permissions support. If there is no permissions plugin the commands are OP only.

Note: As an entirely new, recoded version of the plugin, this should fix all the race conditions, etc. and should work on every server, large or small!

Old Version's Source Code

Features

  • Can totally stop weather
  • Toggles different aspects of the weather.
  • An option to stop snow and/or ice from accumulating
  • An option to make all storms thunder storms!
  • Set the minimum delay before it can snow/rain again.
  • Set the maximum time it can rain/snow.
  • Set the max amount of time between the rainy times.
  • Control the storms with admin commands
  • Permissions support
  • Configurable chance (disabled by default) Supercharged lightning strikes that will blow a hole in the ground.
  • Configurable explosion radius

Commands

  • /wr rain <world> and /rain <world> - Makes it rain in that world. Defaults to current world if no options given.
  • /wr thunder <world> and /thunder <world> - Makes it start thundering in the current world. Defaults to current world if no options given.
  • /wr lightning and /lightning - make a lightning bolt strike in a random locationwithin a radius of 10 blocks from you. (It has the same chance as being supercharged as regular lightning)
  • /wr clear <world> and /clearrain or /rainclear <world> - Clears all thunder and rain from the world. Defaults to current world if no options given.
  • /wr stats and /weatherstats - Gives you stats on the current weather in each world.
  • /wr reload - Reloads the configuration file.

Permissions

  • weatherRestrictions.rain - Can use /rain command
  • weatherRestrictions.thunder - Can use /thunder command
  • weatherRestrictions.clear - Can use /rainclear and /clearrain command
  • weatherRestrictions.stats - Can use /weatherstats command
  • weatherRestrictions.lightning - Can use the /lightning command
  • weatherrestrictions.reload - Reload the configuration file

Config File Options

  • CanRain - Set to false to disable all rain/snow in a world
  • MaxSunTime - Maximum time to wait between storms in seconds.
  • MinimumSunTime - Minimum amount of time in seconds between storms.
  • MaxRainTime - Maximum time for a storm in seconds.
  • MinimumRainTime - Minimum amount of time in seconds for a storm.
  • CanSnowForm - if set to false will disable all snow accumulation in that world
  • CanSnowMelt - if set to false will disable all snow melting in that world
  • CanIceForm - if set to false will disable all ice accumulation in that world
  • CanIceMelt - if set to false will disable all ice melting in that world
  • ThunderstormChancePercentage - Sets the thunderstorm chance in the world. Set to 0 to disable thunderstorms.
  • SuperchargedThunderChance - Set the percentage chance that a supercharged thunderbolt will blow a hole in the ground.
  • SuperchargedExplosionRadius - Set the radius of the supercharged explosion

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of der_Kernschatten der_Kernschatten Dec 24, 2013 at 07:56 UTC - 0 likes

    @Tux2: Go

    Thank you for bringing this back!

    BFAK:90783932,536877cf53ffc0283aa02178c881d6a072fdc16cf29f7c849b79f02dc8708d08

  • Avatar of ha11oga11o ha11oga11o Dec 16, 2013 at 18:11 UTC - 0 likes

    Me like it, just hope it will work on 1.7.2

    Cheers :)

    http://minestatus.net/10142-yugoslavia/image/original.png

  • Avatar of Tux2 Tux2 Oct 07, 2013 at 22:40 UTC - 0 likes

    @Darkhand81: Go

    Wow! I'm impressed! Waiting more than a year for an update is quite a commitment! I'd have to say that when I originally coded this plugin not only did I not know as much about bukkit and Minecraft but bukkit worked differently. I've always wanted to resurrect this plugin, but I couldn't figure out a way around some of the problems the first version experienced because of changes to bukkit. Then, just recently I had an epiphany about how it should work and voila! It's smaller, lighter, and faster than ever, and I'm quite pleased with myself. Enjoy using it and spread the word. :D

    http://myfavs.me/bcs.pngDonate Bitcoins?1Lr7prAnqYpZe2UizvPKV2Cg4KSuj2weXb
    If you didn't take the time to read how my plugins work, don't expect me to take the time to diagnose your stupidity.
    If updates to my plugins depended on donations, they would never update. Donate!

  • Avatar of Darkhand81 Darkhand81 Oct 05, 2013 at 15:03 UTC - 0 likes

    Tux!

    This is great! I've had this plugin on update notifications for over a year, with the faint hope that it would one day be updated... I was shocked when I saw an email telling me it had been updated! This is exactly what I've been looking for, literally, for years... Thank you for your efforts!

  • Avatar of Tux2 Tux2 Sep 30, 2013 at 20:06 UTC - 0 likes

    @eagleFMJ: Go

    This is abandoned no longer! I finally figured out a new system of doing things that makes the plugin MUCH, MUCH better without all the problems the old version had. This version has been built from the ground up with none of the old code in an entirely different fashion, but still offers the same functionality, so enjoy!

  • Avatar of eagleFMJ eagleFMJ Apr 07, 2013 at 20:41 UTC - 0 likes

    So the dev of this plugin, has abandoned it? Wish there was a 1.4.7 version =(

  • Avatar of Darkhand81 Darkhand81 Feb 07, 2013 at 17:30 UTC - 1 like

    I converted a local copy to the modern permissions api and removed thundertower support, and I still have the same problem so it's not that. So far I can't see why it can't pass the WeatherChangeEvent

    Last edited Feb 07, 2013 by Darkhand81
  • Avatar of Darkhand81 Darkhand81 Feb 06, 2013 at 03:05 UTC - 0 likes

    I'm being flooded with 21,000 lines of event exceptions each time the weather changes. Running 1.4.7 RB1.0. I opened ticket #11 with an excerpt!

  • Avatar of TnTBass TnTBass Jan 27, 2013 at 22:04 UTC - 0 likes

    @keytastic: Go

    This plugin hasn't broken since 1.3.2

    Last edited Jan 27, 2013 by TnTBass

    BFAK:TnT,595,e6aa1b0d4b6749b31a920a21e29e4963f3e0541c6a639601a1288a6b06ab7407

  • Avatar of keytastic keytastic Nov 27, 2012 at 02:33 UTC - 0 likes

    Does this work for 1.4.5? I would love to use this! :D

Facts

Date created
Sep 05, 2011
Categories
Last update
Sep 30, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
WeatherRestrictions
Downloads
117,075
Recent files
  • R: v3.0 for CB 1.7.2-R0.2 Sep 30, 2013
  • R: v2.6.3 for CB 1.3.2-R0.1 Sep 08, 2012
  • R: v2.6.2 for CB 1.3.1-R1.0 May 03, 2012
  • R: v2.6.1 for CB 1.2.3-R0.2 Feb 04, 2012
  • R: v2.6 for CB 1.1-R3 Jan 31, 2012

Authors

  • Avatar of Tux2
    • Manager
    • Author