How to Change Mob Difficulty on Your Minecraft Server
Change server difficulty safely using server.properties or commands, with Java and Bedrock notes plus verification steps.
March 29, 2026 by Terabit Editorial / 2 min read
Difficulty controls hostile mob behavior, combat pressure, and survival pacing. You can change it in two clean ways: persistent config, or live command.
Pick your target before changing anything
peaceful: no natural hostile mob pressure.easy: lighter combat pressure.normal: default survival balance.hard: highest standard survival pressure.
Detailed mechanics by mode are documented in Minecraft Wiki: Difficulty.
Method 1: Set default difficulty in server.properties (Java)
Use this when you want the server to always boot with the same value.
- Stop the server.
- Open
server.properties. - Set:
difficulty=hard
- Save the file.
- Start the server again.
Accepted values are peaceful, easy, normal, and hard.
Reference: Minecraft Wiki: server.properties.
Method 2: Change difficulty immediately with a command
Use this when you want to switch live without editing files.
In-game (with permission):
/difficulty hard
From console:
difficulty hard
Command reference: Minecraft Wiki: /difficulty.
Bedrock dedicated server note
Bedrock Dedicated Server also supports difficulty in its own server.properties format, but Java and Bedrock property sets are not identical. Always edit the variant that matches your server software.
Reference: Minecraft Wiki: server.properties (Java and Bedrock variants).
Verify the change worked
- Run
difficultyin console (or/difficultyin-game) to confirm the active value. - Check hostile mob behavior in survival gameplay.
- If behavior does not match, confirm you edited the correct server instance and restarted after property edits.
Troubleshooting quick checks
- Change resets after restart: you used command-only and did not update
server.properties. - No effect in expected world: verify you are testing the active server and world.
- Command denied: run from console or ensure your account has permission.