Commands/changesetting

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

Can be executed only on 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.

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