Commands/changesetting

From Minecraft Wiki
Jump to: navigation, search
changesetting
Restrictions

Multiplayer
Operator
No command blocks

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 in BDS console.

Syntax[edit]

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

Arguments[edit]

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

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

Result[edit]

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

History[edit]

This section needs expansion.
You can help by adding to it.