Skip to content

How to Change the Difficulty on a Minecraft Java Server

What is the difficulty?

The difficulty determines how challenging the game is. It affects mob damage, hunger and other gameplay mechanics.

ValueDifficultyDescription
peacefulPeacefulNo hostile mobs, health regenerates quickly
easyEasyHostile mobs spawn but deal low damage
normalNormalDefault difficulty
hardHardMobs deal more damage, hunger can be lethal

How do I change the difficulty?

  1. Open server.properties
    Connect to your server via SFTP and open the file server.properties.

  2. Find the entry
    Search for the following entry:

    difficulty=easy
    difficulty=easy
  3. Change the value
    Change the value to the desired difficulty.

  4. Restart the server
    Save the changes and restart the server.