Configuring server.properties for Your Minecraft Server

Guide to the most important server.properties settings — difficulty, game mode, world seed, player limits, and more.

Configuring server.properties for Your Minecraft Server

The server.properties file controls your Minecraft server's core settings. You can edit it directly from the control panel's file manager.

How to Edit server.properties

  1. Stop your server from the panel
  2. Go to the File Manager tab
  3. Click on server.properties
  4. Make your changes, then click Save
  5. Start the server — changes take effect on next startup

Always stop the server before editing. Changes made while the server is running may be overwritten.

Key Settings

Game Settings

PropertyDefaultDescription
gamemodesurvivalDefault game mode: survival, creative, adventure, or spectator
difficultyeasypeaceful, easy, normal, or hard
hardcorefalsePlayers are banned on death when true
pvptrueWhether players can damage each other
allow-nethertrueEnables the Nether dimension
spawn-monsterstrueHostile mobs spawn when true
spawn-animalstruePassive mobs spawn when true

World Settings

PropertyDefaultDescription
level-seed(empty)World generation seed — set before first startup to use a specific seed
level-nameworldName of the world folder
level-typeminecraft\:normalWorld type: normal, flat, large_biomes, amplified
max-world-size29999984Maximum world radius in blocks
generate-structurestrueVillages, temples, and other structures generate when true
spawn-protection16Radius around spawn where non-ops cannot build (set to 0 to disable)

Server Settings

PropertyDefaultDescription
max-players20Maximum players allowed (limited by your plan's slot count)
view-distance10Chunk render distance — lower values reduce RAM usage
simulation-distance10Distance in chunks where entities are ticked
online-modetrueAuthenticates players against Mojang — keep this true for security
white-listfalseOnly whitelisted players can join when true
motdA Minecraft ServerMessage shown in the server list
server-port25565Do not change — the panel manages this

Performance Tuning

PropertyRecommendedDescription
view-distance8Reduce from default 10 if players experience lag
simulation-distance6Reduce to lower entity processing load
entity-broadcast-range-percentage75How far entities are visible (percentage of view distance)

Properties You Should Not Change

  • server-port — Managed by the control panel. Changing it will prevent players from connecting.
  • server-ip — Leave blank. The panel binds the correct address.
  • enable-rcon / rcon.port / rcon.password — Managed by the panel for console access. Changing these may break panel functionality.

Common Gamerules

Gamerules are in-game settings that you change with commands, not by editing server.properties. Run these in the server console or in-game with OP permissions:

/gamerule <rule> <value>

Changes take effect immediately — no restart needed.

GameruleDefaultDescription
keepInventoryfalsePlayers keep items on death when true
playersSleepingPercentage100Percentage of players that must sleep to skip night (set to 0 for one-player sleep)
mobGriefingtrueMobs can destroy blocks (creepers, endermen, ghasts) when true
doFireTicktrueFire spreads when true — set to false to prevent accidental burns
doDaylightCycletrueTime progresses when true — set to false to freeze time
doInsomniatruePhantoms spawn when true — set to false to disable them
naturalRegenerationtruePlayers regenerate health from food when true
announceAdvancementstrueAdvancement messages broadcast to chat when true

Note: Gamerule names are case-sensitive. keepInventory works, keepinventory does not.

Resetting to Defaults

To reset server.properties:

  1. Stop the server
  2. Delete server.properties in the file manager
  3. Start the server — it generates a fresh server.properties with default values