server.properties generator

Every server.properties setting explained. Change what you need and download a ready file.

Edition

Or drop a server.properties file on this card. It is read in your browser and never uploaded.

World12

level-name

The name of the world folder. Changing it starts a new world, unless a folder with that name exists.

Default: world

level-seed

The seed for a new world. Empty means a random seed. It has no effect on an existing world.

Default: (empty)

level-type

The world preset for a new world.

Default: minecraft:normal

generator-settings

Settings of the world generator for a new world, as JSON. Used by some world presets.

Default: {}

difficulty

The difficulty for every player.

Default: easy

gamemode

The game mode for new players.

Default: survival

hardcore

One life: a player who dies becomes a spectator. Forces hard difficulty.

Default: false

spawn-protection

The radius in blocks around spawn that only operators can change. 0 turns it off.

Default: 16

0 – 2147483647

max-world-size

The radius of the world border, in blocks.

Default: 29999984

1 – 29999984

initial-enabled-packs

Data packs turned on when the world is created, separated by commas.

Default: vanilla

initial-disabled-packs

Data packs that are not turned on when the world is created, separated by commas.

Default: (empty)

Players11

max-players

How many players can be online at once.

Default: 20

0 – 2147483647

white-list

Only players on the whitelist can join.

Default: true

enforce-whitelist

Kicks players who are not on the whitelist when it is reloaded.

Default: false

allow-flight

Doesn't kick players who fly in survival, for example with a mod or a plugin.

Default: false

force-gamemode

Puts players into the default game mode every time they join.

Default: false

player-idle-timeout

Minutes before an idle player is kicked. 0 turns it off.

Default: 0

0 – 2147483647

hide-online-players

Hides the list of online players in the multiplayer list.

Default: false

motd

The text under the server name in the multiplayer list. Build a colored one with the MOTD generator.MOTD generator

Default: A Minecraft Server

chat-spam-threshold-seconds

How fast a player may send chat messages before being kicked for spam. 0 never kicks.

Default: 10

0 – 2147483647

Network10

server-port

The port the server listens on.

Default: 25565

1 – 65534

server-ip

Listen on this IP only. Leave it empty to listen on every address.

Default: (empty)

enable-status

Shows the server as online in the multiplayer list.

Default: true

enable-query

Answers Query requests: plugins, the map and the full player list, for tools like the server status check.Server status

Default: false

query.port

The port for Query requests.

Default: 25565

1 – 65534

rate-limit

Kicks players who send more packets per second than this. 0 turns it off.

Default: 0

0 – 2147483647

accepts-transfers

Accepts players sent from another server with /transfer.

Default: false

use-native-transport

Faster networking on Linux. Turn it off only if players have connection problems.

Default: true

Security19

online-mode

Checks every player with Mojang. Turn it off only behind BungeeCord or Velocity.

Default: true

enable-rcon

The remote console over the network.

Default: false

rcon.port

The port for the remote console.

Default: 25575

1 – 65534

rcon.password

The password for the remote console. Without it the console does not start.

Default: (empty)

log-ips

Writes player IP addresses to the server log.

Default: true

status-heartbeat-interval

How often the management server sends a heartbeat, in seconds. 0 turns it off.

Default: 0

0 – 2147483647

text-filtering-config

The chat filter configuration. Used by Realms, rarely needed elsewhere.

Default: (empty)

Performance8

view-distance

How far, in chunks, the server sends the world to players.

Default: 10

3 – 32

simulation-distance

How far, in chunks, from players mobs move and crops grow.

Default: 10

3 – 32

max-tick-time

Milliseconds one tick may take before the watchdog stops the server. -1 turns the watchdog off.

Default: 60000

max-chained-neighbor-updates

The limit of chained block updates in one tick. A negative number turns the limit off.

Default: 1000000

-2147483648 – 2147483647

pause-when-empty-seconds

Seconds without players before the server pauses. A negative number never pauses it.

Default: 60

-2147483648 – 2147483647

region-file-compression

How chunks are compressed in region files. lz4 is faster, none saves CPU and takes more disk.

Default: deflate

Other9

resource-pack

A link to a resource pack that players are offered when they join.

Default: (empty)

resource-pack-sha1

The SHA-1 of the resource pack file, so players can check it.

Default: (empty)

resource-pack-prompt

A message shown with the resource pack offer, as a JSON text component.

Default: (empty)

enable-code-of-conduct

Shows players the rules from the codeofconduct folder before they join.

Default: false

No changes

About the tool

How to use it

Pick the edition and your server version, change what you need and download the file. Or import your current server.properties: it is read in your browser and never uploaded.

Where the file lives

server.properties sits in the main folder of the server, next to the server jar or the bedrock_server program. Stop the server before you replace it, then start it again.

Defaults and versions

Every setting shows its default for the version you picked. Keys come and go between versions: since 1.21.9, pvp, allow-nether and enable-command-block are game rules, and since 26.3 the whitelist is on by default.

FAQ

Do I need to restart the server after changing server.properties?

Yes. The server reads the file when it starts. Some hosts also set values from their control panel, so check there too.

Is it safe to set online-mode to false?

Only behind BungeeCord or Velocity with player forwarding set up. Otherwise anyone can join with any name, an operator's too.

Which version should I pick?

The version your server runs. Settings that your version doesn't have are not in the file, and defaults follow that version.

Is my file uploaded when I import it?

No. The file is read in your browser and stays on your computer.

What happens to settings the generator doesn't know?

They stay in the file as they are, listed under Other as “Not in our reference”.

More tools

All tools