INTRODUCTION
With CustomWheater you have the possibility to:
- Add new weather types
- Change min/max duration of the weather
- Set in what timespan the weather should switch
- Add particles/effects to the weather
The plugin is in its early state, so if there are any bugs feel free to report them.
HOW TO USE
After you've put the jar file into the plugins folder and reloaded the server, two files generated in the "CustomWeather" folder:
#Any block that is higher than the amount specified below relative to the player will be ignored when determining if the player is outside or inside.
#Attention: Setting this number to a large number could lag the server out
checkHeight: 30
airBlocks:
- AIR
- CAVE_AIR
- VOID_AIR
#All worlds that aren't defined here won't be able to use the commands!
worlds:
world:
#in minutes (1.5 = 1 minute and 30 seconds)
#A random number between minDelay and maxDelay will be the final delay of how long it should take
#until the weather changes from CLEAR to a new random weather
minDelay: 1.5
maxDelay: 30
#You can specify what types of weather you want the world to randomly switch through.
#(If you leave this out, all weather types will be used for this world)
weather:
- Rain
- Thunder
- HeatWave
- BloodRain
# NAME: (Unique name of the weather)
# rain: true
# thunder: true
# minDuration: 0.5 (in minutes)
# maxDuration: 1.5 (in minutes)
# damage:
# hearts: 1.0
# interval: 2 (Tick interval before the player gets damaged again)
# particleInterval: 90 (The tick interval in which the particles will spawn (Here: every 90 ticks = every 4.5 seconds)
# particles:
# KEY: (Just name it whatever you want, for multiple particles choose different names!)
# xExpand: 0.1
# yExpand: 0.1
# zExpand: 0.1
# particle: BLOCK_CRACK
# material: STONE (if the particle supports it)
# count: 1 (How many particles)
# height: 7 (Height in which the particles appear (relative to the player)
# radius: 7 (Check radius)
# effects:
# KEY:
# name: BLINDNESS
# strength: 1
# ticks: 1
# modifiers:
# setOnFire: false
Rain:
rain: true
minDuration: 0.5
maxDuration: 2.5
Thunder:
thunder: true
rain: true
minDuration: 0.5
maxDuration: 2.5
BloodRain:
rain: true
minDuration: 0.5
maxDuration: 1
damage:
hearts: 1
interval: 2
particles:
blood:
particle: BLOCK_CRACK
material: REDSTONE_BLOCK
xExpand: 0.3
yExpand: 0.3
zExpand: 0.3
radius: 7
count: 5
height: 8
effects:
blindness:
name: BLINDNESS
strength: 2
ticks: 40
HeatWave:
miDuration: 0.3
maxDuration: 1
particleInterval: 40
particles:
test:
particle: FALLING_DUST
material: SAND
xExpand: 0.3
yExpand: 0.3
zExpand: 0.3
radius: 9
count: 1
height: 11
modifiers:
setOnFire: true
When you've changed the config.yml and weather.yml to your likings, you can go back onto the server and type in
/weather reload - to reload the files
After that, you can test out some of the weather types by typing in:
/weather set <type> - to start a specific weather type in the current world you're in.
Attention
If you are in a world that is not registered in the config.yml, you will need to run "/minecraft:weather..." as the plugin has no control over the weather there.
If you are happy with how the weather turned out, run:
/weather clear - Clears the current weather
(All the commands above need the permission betterweather.admin)
This plugin is still in early development, so expect some bugs. If you have any issues, feel free to present them in the issues tab.