Commands/daylock

From Minecraft Wiki
Jump to: navigation, search
daylock
Aliases

/alwaysday

Restrictions

Operator

First introduced

Bedrock 1.2

Locks and unlocks the day-night cycle.

Syntax
daylock [true|false]
alwaysday [true|false]
Result
Fails if the arguments are not specified correctly.
On success, sets the dodaylightcycle gamerule to true.