WorldBedrockEducation
/daylock
also /alwaysdayFreezes time at the current moment (or unfreezes it) on Bedrock — equivalent to /gamerule doDaylightCycle on Java. Also known as /alwaysday. Run with no argument to toggle.
Syntax
Parameters
- lockoptional
- boolean
- true to freeze time, false to resume.
Examples
Lock the time of day.
Resume the day-night cycle.
Permission level
/daylock 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.