Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
changesetting
Permission level
required

4

Restrictions

No command blocks
Cheat only
Dedicated server only

Information icon.svg
This feature is exclusive to Bedrock Edition. 

Changes a setting on the dedicated server (BDS) while it's running.

Can be executed only on BDS console.

Syntax[]

changesetting allow-cheats <value: Boolean>
changesetting difficulty <value: Difficulty>
changesetting difficulty <value: int>

Arguments[]

value: Difficulty: Difficulty and value: int: int

Specifies the new difficulty level. Must be one of the following:
  • peaceful (can be abbreviated as p or 0) for peaceful difficulty
  • easy (can be abbreviated as e or 1) for easy difficulty
  • normal (can be abbreviated as n or 2) for normal difficulty
  • hard (can be abbreviated as h or 3) for hard difficulty

value: Boolean: bool

Specifies whether allowing cheats.
Must be a boolean (either true or false).

Result[]

Changes a setting. Note that this does not change values in the server.properties file.

History[]

Jigsaw Block (top texture) JE2 BE2.png
This section needs expansion. 
You can help by expanding it.
Advertisement