WorldBedrockEducation

/immutableworld

Sets or queries the world's immutable state, preventing block changes by players. A debug/test command for read-only world scenarios.

Syntax

Parameters

valueoptional
boolean
true to lock the world, false to allow edits.

Examples

  • Make the world read-only.

Permission level

/immutableworld 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.