Skip to main content
All tools

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

gamemode

Default mode for new players.

difficulty

World difficulty level.

hardcore

Single life; death switches to spectator. Forces hard difficulty.

pvp

Allow players to damage each other.

allow-flight

Allow flight for mods/plugins. Without it, flying players may be kicked.

enable-command-block

Enable command blocks in the world.

Players

max-players

Maximum players online at once.

online-mode

Verify accounts against Mojang. Turn off only for cracked servers.

white-list

Only whitelisted players can join.

enforce-whitelist

Kick non-whitelisted players when the whitelist changes.

player-idle-timeout

Minutes before an idle player is kicked (0 = disabled).

World

level-name

World folder name.

level-seed

Seed for world generation (blank = random).

level-type

World generation type.

spawn-monsters

Allow monsters to spawn.

allow-nether

Allow the Nether dimension.

view-distance

Chunk view distance sent to clients.

simulation-distance

Chunks simulated (entities, redstone).

spawn-protection

Protected block radius around spawn (0 = disabled).

Network

server-port

Port the server listens on.

motd

Message shown in the server list. Supports § color codes.

server.properties
# 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.

  1. Fill in the settings under Gameplay, Players, World, and Network. Each setting has a short explanation under its name.
  2. 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.
  3. 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.
  4. 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.