Adjusting your server's difficulty level is the easiest way to tailor the gameplay experience for your community. Whether you are running a relaxed building server or a brutal survival world, this guide will show you exactly how to change your difficulty setting.
The Four Difficulty Levels
Minecraft features four distinct difficulty levels. Before making a change, review what each level does to ensure it fits your community's playstyle:
- Peaceful (
peacefulor0): No hostile mobs (zombies, skeletons, creepers) will spawn. Players' health regenerates rapidly, and the hunger bar never depletes. Perfect for creative or pure building servers. - Easy (
easyor1): Hostile mobs spawn, but they deal significantly less damage. Cave spiders cannot poison players, and players cannot starve to death. - Normal (
normalor2): The standard Minecraft experience. Mobs spawn at normal rates and deal standard damage. Vindicators can break doors, and players can starve down to half a heart. - Hard (
hardor3): The ultimate vanilla challenge. Mobs deal heavy damage, zombies can break down wooden doors, and players can completely starve to death.
Method 1: Changing Difficulty In-Game (Dynamic)
The absolute fastest way to change the difficulty is by using an in-game command. This method changes the difficulty instantly without requiring a server restart.
- You must be an Operator (OP) on the server to execute this command.
- Open your chat and type the following command:
(For example:
/difficulty <level>/difficulty hardor/difficulty peaceful) - A message will appear in chat confirming the difficulty has been updated.
Tip: You can also run this exact command directly from your Cubes Hosting Console! Just type
difficulty hard(without the/slash) in the console input box.
Method 2: Changing Difficulty via Server.Properties (Permanent)
If you want to ensure your difficulty setting is permanently saved and applied every time the server boots up, you should set it in your configuration files.
- Go to your Cubes Hosting Game Panel and navigate to the File Manager.
- Locate the
server.propertiesfile in your root directory and open it for editing. - Find the line that starts with
difficulty=. By default, it looks like this:difficulty=easy - Change the value to your desired difficulty level (
peaceful,easy,normal, orhard). - Save the file and Restart your server. The new difficulty will be applied immediately upon boot!
Locking the Difficulty
If you are running a vanilla server and want to prevent anyone (even other OPs) from accidentally changing the difficulty via in-game commands, you can add this line to your server.properties file:
difficulty-locked=true
When this is set to true, the /difficulty command will be completely disabled in-game.
