Commands/difficulty

Sets the difficulty level (peaceful, easy, etc.).

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * lit. 'easy' or 'hard' or 'normal' or 'peaceful'
 * 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
 * If unspecified, querys current difficulty rather than changes it.

Note
On a multiplayer server difficilty lasts only until the server is restarted — on restart, difficulty is reloaded from server.properties.

In Hardcore mode, the difficulty doesn't change even when successful.

Examples

 * To change the difficulty to hard:,  , or

History
Befehl/difficulty Comandos/difficulty Команды консоли/difficulty Команди консолі/difficulty 命令/difficulty