Mineuniverse
Plugins
WeatherRestrictions

WeatherRestrictions

PLUGIN
WeatherRestrictions
by Tux2
Download Claim this project
128,462 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Admin Tools Fixes Mechanics
Advertisement Remove ads with Premium →

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
v3.1
MC 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.19.2, 1.20.1, 1.17, 1.14, 1.18, 1.15, 1.19.4, 1.13, 1.19, 1.18.2, 1.19.1
Release 2023-11-27 Get
v3.0
MC CB 1.7.9-R0.2, 1.9, 1.11, 1.8.3, 1.8.1, 1.8, 1.12, 1.10
Release 2013-09-30 Get
v2.6.3
MC CB 1.3.2-R0.1, CB 1.3.1-R2.0, CB 1.3.1-R1.0
Release 2012-09-08 Get
v2.6.2
MC CB 1.2.5-R5.0, CB 1.3.1-R1.0, CB 1.2.5-R4.0
Release 2012-05-03 Get
v2.6.1
MC CB 1.2.3-R0.1, CB 1.2.3-R0.2, CB 1.1-R6
Release 2012-02-04 Get
v2.6
MC CB 1.1-R3, CB 1.1-R2, CB 1.1-R1
Release 2012-01-31 Get
v2.4
MC CB 1.1-R1
Release 2012-01-26 Get
v2.5
MC CB 1.1-R1
Release 2012-01-26 Get
v2.3
MC CB 1.0.1-R1
Release 2012-01-11 Get
v2.2
MC CB 1.0.1-R1, CB 1317, CB 1337
Release 2011-12-20 Get
v2.1
MC CB 1.0.1-R1, CB 1317, CB 1337
Release 2011-11-01 Get
v2.0 [CB1185]
MC CB 1185, CB 1240
Release 2011-09-23 Get
v1.9 [CB1060]
MC CB 1060
Release 2011-09-05 Get

More from Tux2

Advertisement Remove ads with Premium →

You Might Also Like