back to list

Weather and Time buildin handler

General

Author 2called-chaos
Source vendor/handlers/_buildin/weather_and_time.rb
Commands !sun !rain !thunder !weather !time !morning !day !noon !evening !midnight !freeze !unfreeze
Description This handler provides shortcuts for the /time, /weather and /gamerule commands.

Weather

Default ACL:member

!sun

Usage:!sun [duration=999999]
Action:Clears the weather for given duration (max duration is 1 million = 11 days RT)

!rain

Usage:!rain [duration]
Action:Sets the weather to rain for given duration (max duration is 1 million = 11 days RT)

!thunder

Usage:!thunder [duration]
Action:Sets the weather to thunder for given duration (max duration is 1 million = 11 days RT)

!weather

Usage:!weather <on/off>
Action:Enable or disable weather cycle

Time

Usage:!time <value>
Action:Sets the time to given value (must be between 0 and 24k)
Default ACL:member

!morning

Usage:!morning
Action:Sets the time to 0

!day (aliases: !noon)

Usage:!day
Action:Sets the time to 6000

!evening

Usage:!evening
Action:Sets the time to 12000

!night

Usage:!night
Action:Sets the time to 14000

!midnight

Usage:!night
Action:Sets the time to 18000

!freeze

Usage:!freeze
Action:Freezes the time.

!unfreeze

Usage:!unfreeze
Action:Unfreezes the time.