Skip to content
/SLASHPLAY

How to set the difficulty on a Minecraft server

Set difficulty=hard in server.properties and restart the server. It accepts peaceful, easy, normal or hard.

difficulty

Sets the world difficulty: peaceful, easy, normal or hard.

difficulty=<level>

Examples

difficulty=normal

Standard survival difficulty.

difficulty=hard

Hard mode for experienced players.

Values

ValueWhat it does
peaceful No hostile mobs, health regenerates
easyDefault Less mob damage
normal Standard
hard More mob damage, starvation can kill

Arguments

levelRequired
peaceful, easy, normal or hard.

What it does

Difficulty controls mob damage, hunger damage and which mobs spawn. Peaceful removes hostile mobs entirely. You can also change it live with /difficulty hard, but the value in server.properties is what the server uses on the next start.

Good to know

  • Changes take effect after a server restart.
  • Use /difficulty to change it without a restart.

Run it on your server

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.

Your own
Minecraft server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.