Commands/changesetting

Minecraft Wiki article. Categories: Bedrock_Edition, Articles_to_be_expanded, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/changesetting on the Minecraft Wiki. Mirrored from revision 3686584. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Bedrock Edition.
 
/changesetting

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: enum 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: enum

Specifies whether the server is allowing cheats.
Must be a [Boolean]Boolean (either true or false).

Result

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

History

This section needs expansion.
 
You can help by expanding it.

Sources