Commands/changesetting

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

Can be executed only in BDS console.

Arguments
and
 * Specifies the new difficulty level. Must be one of the following:
 * (can be abbreviated as  or  ) for peaceful difficulty
 * (can be abbreviated as  or  ) for easy difficulty
 * (can be abbreviated as  or  ) for normal difficulty
 * (can be abbreviated as  or  ) for hard difficulty


 * Specifies whether allowing cheats.
 * Specifies whether allowing cheats.

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