peaceful, easy, normal, or hard. Use server.properties when the setting must persist after a restart.
Change difficulty temporarily
- Game panel console
- In Minecraft
Start the server and enter the command without
/.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.
