How to change difficulty on a Java server¶
Difficulty on a Java Minecraft server controls how challenging the game is: mob spawns, damage, hunger, and other survival aspects. You can change it in two ways from the NexusCloud panel.
Difficulty values¶
| Value | Meaning |
|---|---|
peaceful |
No hostile mobs, hunger does not drain. |
easy |
Weaker hostile mobs, low damage. |
normal |
The Minecraft default. |
hard |
Stronger mobs, hunger can kill. |
Via server.properties¶
- Open
https://panel.nexuscloud.id/. - Select your Java server.
- Open the Console menu.
- Open the
server.propertiesfile. - Press
Ctrl+F(on a PC or laptop) to search. - Find the
difficultyline and change the value to what you want. - Click Save Content.
- Go back to Console, then click Restart.
- The server difficulty has changed.
Example server.properties content:
Via the console¶
- Open
https://panel.nexuscloud.id/. - Select your Java server.
- Scroll down and find the Execute Command field.
- Type one of the following commands and press Enter.
- The server difficulty changes immediately, no restart required.
Notes¶
- Changes made via
server.propertiesrequire a restart to take effect. - Changes made via a console command take effect right away for players who are online.
- New players joining will use whichever difficulty is currently active on the server.
Help us out
If you found this tutorial useful, please leave a review on Trustpilot! Your rating helps us make more useful guides
Cheers, Team NexusCloud