server.properties Generator
Build a valid server.properties file from a form, with each setting explained.
Set the common server options, then copy or download the server.properties file. Pairs well with the startup flags generator.
Gameplay
gamemodeDefault mode for new players.
difficultyWorld difficulty level.
hardcoreSingle life; death switches to spectator. Forces hard difficulty.
pvpAllow players to damage each other.
allow-flightAllow flight for mods/plugins. Without it, flying players may be kicked.
enable-command-blockEnable command blocks in the world.
Players
max-playersMaximum players online at once.
online-modeVerify accounts against Mojang. Turn off only for cracked servers.
white-listOnly whitelisted players can join.
enforce-whitelistKick non-whitelisted players when the whitelist changes.
player-idle-timeoutMinutes before an idle player is kicked (0 = disabled).
World
level-nameWorld folder name.
level-seedSeed for world generation (blank = random).
level-typeWorld generation type.
spawn-monstersAllow monsters to spawn.
allow-netherAllow the Nether dimension.
view-distanceChunk view distance sent to clients.
simulation-distanceChunks simulated (entities, redstone).
spawn-protectionProtected block radius around spawn (0 = disabled).
Network
server-portPort the server listens on.
motdMessage shown in the server list. Supports § color codes.
# Minecraft server properties
# Generated by minecraftserver.id/tools (targets MC 1.21)
gamemode=survival
difficulty=easy
hardcore=false
pvp=true
allow-flight=false
enable-command-block=false
max-players=20
online-mode=true
white-list=false
enforce-whitelist=false
player-idle-timeout=0
level-name=world
level-seed=
level-type=minecraft:normal
spawn-monsters=true
allow-nether=true
view-distance=10
simulation-distance=10
spawn-protection=16
server-port=25565
motd=A Minecraft Server
Key names and defaults follow Minecraft 1.21.x and may differ on other versions. This covers the commonly-changed settings; other keys keep their defaults.
How to set up a Minecraft server.properties file
The server.properties file holds a Minecraft server's main settings, such as game mode, player limit, and port. This tool builds that file from a form, with a short explanation for each setting and Minecraft 1.21.x defaults. It suits anyone setting up a new server who does not know the setting names by heart yet.
- Fill in the settings under Gameplay, Players, World, and Network. Each setting has a short explanation under its name.
- Click true or false to turn an option on or off, pick from a list, or type a number or text. The server.properties panel updates right away.
- Click Copy to copy the contents, or Download to save it as a server.properties file. Click Reset to defaults to go back to the default values.
- Use this file to replace your old server.properties, then restart the server so the changes take effect.
Common questions
Where is the server.properties file?
In the server's main folder, next to the server .jar file. It is created automatically the first time the server runs.
What is the difference between view-distance and simulation-distance?
view-distance sets how far chunks are sent to and seen by players. simulation-distance sets how far the world keeps running, such as mobs moving, crops growing, and redstone working. If the server feels slow, a smaller simulation-distance can lower the load without shortening how far players can see.
Does this file work on Paper or Spigot?
Yes. Paper, Spigot, and Purpur use the same server.properties as a vanilla server. Their own extra settings live in other files, such as bukkit.yml, spigot.yml, or Paper's config folder.