Commands/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==
 and 
: 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
: Specifies whether allowing cheats.
: 
==Result==
Changes a setting. Note that this does not change values in the server.properties file.
==History==
ja:コマンド/changesetting
zh:命令/changesetting