World

/weather

Set the weather.

Syntax

Parameters

type
literal
clear, rain, or thunder.
secondsoptional
integer
Duration. Default is a random natural duration.

Command builder

Configure the options below to generate a ready-to-paste /weather command.

Leave off for a random/default duration.
/weather clear

Examples

  • Stop the rain/thunder immediately.

  • Start a 60-second thunderstorm.

Permission level

/weather requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.