Difficulty, game mode and PvP
The difficulty, the default game mode and player combat are in the main server settings.
9 stepsThe server must be stopped
Open Configuration files
Open your server in the list of services and click Configuration files in the left menu. The difficulty and the game rules are in the main server settings. Leave the server stopped.
The steps as text 9 steps
- Open your server in the list of services and click Configuration files in the left menu. The difficulty and the game rules are in the main server settings. Leave the server stopped.
- In the Main Minecraft server settings row (file server.properties) click Editor.
- Click the group Game rules in the left column of the editor.
- The Default game mode field sets the mode in which new players start: Survival, Creative, Adventure or Spectator. The Force default game mode option also sets it for existing players every time they join.
- The Allow PvP option decides whether players can hurt each other. Hardcore mode above it means a player can no longer play after dying.
- Click the group World and resources in the left column of the editor.
- Click into the list in the Difficulty field.
- Peaceful is a world without enemies, Hard is the hardest difficulty.
- Check the new value and click Save configuration; only the edited fields are saved. The change takes effect at the next start of the server.
Good to know Hardcore mode means a player can no longer play after dying; switch it on only on purpose.
Did it not work? Write to support and include your service number.
← Back to the guides: Minecraft
No Minecraft server of your own yet? Order a server →
