Skip to main content
Choose peaceful, easy, normal, or hard. Use server.properties when the setting must persist after a restart.

Change difficulty temporarily

Start the server and enter the command without /.
Replace normal with peaceful, easy, or hard. A command-based change can revert when the server restarts.

Make the difficulty persistent

1

Stop the server

Stop the server before editing its configuration.
2

Open server.properties

Open the file manager and select server.properties.
3

Set the difficulty

Enter one supported value.
4

Save and start

Save the file and start the server. Run difficulty in the console to confirm the active value.

Java server properties

Review other persistent Java server settings.