Change the difficulty
The difficulty lives in server.properties. Change it there for a permanent setting, or use the console for a quick switch that lasts until the next restart.
What you'll do
- Open server.properties
- Set difficulty=
- Save
- Restart the server
| Value | What it means |
|---|---|
peaceful | No hostile mobs, no hunger damage. |
easy | Mobs deal low damage. |
normal | Default Minecraft. |
hard | Full damage, hunger can kill, zombies break doors. |
-
Open server.properties
Section titled “Open server.properties”In the game panel go to Files and click
server.properties. -
Set the difficulty
Section titled “Set the difficulty”Find the line and change the value:
server.properties difficulty=hard
-
Save and restart
Section titled “Save and restart”Click Save, then Restart the server. The new difficulty applies to the whole world.
Without a restart
Section titled “Without a restart”In the Console type:
difficulty hardThis applies immediately but is overwritten by server.properties at the next restart, unless you change the file too. Players with op can run the same command in-game with a leading slash.
Extra tips
Section titled “Extra tips”- Hardcore? That’s a separate setting:
hardcore=trueinserver.properties. Players are banned on death; think twice. - Peaceful removes existing hostile mobs on the next restart; they don’t come back until you raise the difficulty.