Skip to content
Game panel

Change the difficulty

MinecraftBeginner

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
  1. Open server.properties
  2. Set difficulty=
  3. Save
  4. Restart the server
ValueWhat it means
peacefulNo hostile mobs, no hunger damage.
easyMobs deal low damage.
normalDefault Minecraft.
hardFull damage, hunger can kill, zombies break doors.
  1. In the game panel go to Files and click server.properties.

  2. Find the line and change the value:

    server.properties
    difficulty=hard

    The difficulty line changed in server.properties

  3. Click Save, then Restart the server. The new difficulty applies to the whole world.

In the Console type:

Console
difficulty hard

This 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.

  • Hardcore? That’s a separate setting: hardcore=true in server.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.