server.properties

Minecraft Server Properties Generator

Choose your Minecraft Java version, edit the server settings, and download a server.properties file with the matching keys and defaults.

Target version
Java 252026-09-1569 keys
Load existing server.properties

General

allow-flightboolean

Allow Survival flight from client mods. Creative mode is unchanged.

Default: false

broadcast-console-to-opsboolean

Send console command output to online operators.

Default: true

bug-report-linkstring

URL for the report_bug server link. Leave blank to hide the link.

Default: (blank)

difficultyenum

World difficulty. The default shown below comes from the selected version.

Default: easy

enable-code-of-conductboolean

Look for code of conduct files in the codeofconduct folder.

Default: false

enable-statusboolean

Reply to server-list pings. false still accepts connections.

Default: true

force-gamemodeboolean

Force the default game mode when a player joins.

Default: false

function-permission-levelinteger

Permission level used by datapack functions.

Default: 2

gamemodeenum

Default game mode for new players.

Default: survival

hardcoreboolean

Create the world in Hardcore mode.

Default: false

hide-online-playersboolean

Hide the player list from status pings.

Default: false

log-ipsboolean

Write client IP addresses in the server log.

Default: true

max-playersinteger

Maximum players shown in the server list and accepted by login.

Default: 20

motdstring

Message of the day shown in the multiplayer server list.

Default: A Minecraft Server

op-permission-levelinteger

Default operator permission level.

Default: 4

pause-when-empty-secondsinteger

Seconds with no players before the server pauses ticking.

Default: 60

player-idle-timeoutinteger

Minutes of idle time before a kick. 0 disables the timeout.

Default: 0

spawn-protectioninteger

Spawn protection radius in blocks. 0 disables it. Ops bypass protection.

Default: 16

status-heartbeat-intervalinteger

Status heartbeat interval. 0 uses the vanilla interval.

Default: 0

World

entity-broadcast-range-percentageinteger

How far entities are sent to players, as a percentage of the usual range.

Default: 100

generate-structuresboolean

Generate villages and other structures in new chunks. Dungeons can still appear.

Default: true

generator-settingsstring

JSON used by some level-type values, such as minecraft:flat.

Default: {}

initial-disabled-packsstring

Comma-separated datapacks that stay disabled on world creation.

Default: (blank)

initial-enabled-packsstring

Comma-separated datapacks enabled on world creation. Feature packs need an explicit name.

Default: vanilla

level-namestring

World folder name, relative to the server directory or --universe.

Default: world

level-seedstring

World seed. Blank uses a random seed.

Default: (blank)

level-typestring

World generation preset. The minecraft: namespace can be omitted in the file.

Default: minecraft:normal

max-world-sizeinteger

World border radius in blocks from the origin.

Default: 29999984

simulation-distanceinteger

Chunks around a player that still tick entities and redstone.

Default: 10

view-distanceinteger

Chunks sent to each player. Clients cannot exceed this value.

Default: 10

Network

accepts-transfersboolean

Accept incoming transfers sent with a transfer packet.

Default: false

enforce-secure-profileboolean

Require a Mojang-signed player key. Off leaves chat unsigned.

Default: true

network-compression-thresholdinteger

Packet size in bytes before compression. -1 disables compression. 0 compresses everything.

Default: 256

online-modeboolean

Authenticate players with Mojang. false is offline mode.

Default: true

prevent-proxy-connectionsboolean

Disconnect players whose ISP IP does not match the Mojang session IP.

Default: false

rate-limitinteger

Maximum packets per second from one player before a kick. 0 disables the limit.

Default: 0

server-ipstring

Bind address. Blank listens on every interface.

Default: (blank)

server-portinteger

TCP port for gameplay.

Default: 25565

use-native-transportboolean

Use Linux native packet IO when the OS supports it.

Default: true

Access

enforce-whitelistboolean

Kick players who are not on the whitelist after a reload.

Default: false

white-listboolean

Require whitelist.json. Vanilla 26.3 default is true; 26.2 and older default to false.

Default: true

Resource pack

require-resource-packboolean

Disconnect players who decline the server resource pack.

Default: false

resource-packstring

URL of the server resource pack ZIP.

Default: (blank)

resource-pack-idstring

Optional UUID for the resource pack in hyphenated form.

Default: (blank)

resource-pack-promptstring

Prompt shown when the client asks to download the pack. JSON text is allowed.

Default: (blank)

resource-pack-sha1string

SHA-1 of the resource pack ZIP, 40 hex characters.

Default: (blank)

Query and RCON

broadcast-rcon-to-opsboolean

Send RCON command output to online operators.

Default: true

enable-queryboolean

Enable GameSpy query so tools can read server status.

Default: false

enable-rconboolean

Enable remote console. RCON is not encrypted.

Default: false

query.portinteger

UDP port for GameSpy query.

Default: 25565

rcon.passwordstring

Password for RCON. Keep this secret and do not share the downloaded file carelessly.

Default: (blank)

rcon.portinteger

TCP port for RCON.

Default: 25575

Management protocol

management-server-allowed-originsstring

Origins allowed to call the Minecraft Server Management Protocol.

Default: (blank)

management-server-enabledboolean

Enable the Minecraft Server Management Protocol.

Default: false

management-server-hoststring

Host used by the management protocol listener.

Default: localhost

management-server-portinteger

Port used by the management protocol listener.

Default: 0

management-server-secretstring

40-character Authorization secret. Blank omits this key so the server generates one.

Default: (blank)

management-server-tls-enabledboolean

Use TLS for the management protocol.

Default: true

management-server-tls-keystorestring

Path to the TLS keystore. Required if TLS is enabled.

Default: (blank)

management-server-tls-keystore-passwordstring

TLS keystore password. Can also come from MINECRAFT_MANAGEMENT_TLS_KEYSTORE_PASSWORD.

Default: (blank)

Performance

chat-spam-threshold-secondsinteger

Chat spam kick threshold in seconds. 0 disables the kick.

Default: 10

command-spam-threshold-secondsinteger

Command spam kick threshold in seconds. 0 disables the kick.

Default: 10

enable-jmx-monitoringboolean

Expose tick-time MBeans. JVM JMX flags are still required.

Default: false

max-chained-neighbor-updatesinteger

Limit chained neighbor block updates before skipping the rest.

Default: 1000000

max-tick-timelong

Watchdog timeout in milliseconds. -1 disables the watchdog.

Default: 60000

region-file-compressionenum

Chunk compression: deflate, lz4, or none. Existing chunks are not recompressed automatically.

Default: deflate

sync-chunk-writesboolean

Write region files synchronously. false can be faster and less safe on crash.

Default: true

text-filtering-configstring

Path to the chat text-filtering configuration.

Default: (blank)

text-filtering-versioninteger

Text filtering protocol version.

Default: 0

How it works

What server.properties is

Java Edition dedicated servers store most process settings in a single UTF-8 file named server.properties. The syntax is Java Properties: one key, an equals sign, and a value per line. Lines that start with # are comments. After every start, the server copies known values, fills missing or invalid keys with defaults, and rewrites the file. A colon in a value is escaped as \: so the vanilla default for the overworld preset appears as minecraft\:normal.

How to generate and install the file

Select the version your server runs before importing a file. The importer loads matching settings and reports unsupported keys. Edit the values, copy or download server.properties, then place it in the server working directory and restart the server. If you use a panel, Docker or --universe, check which directory the startup command uses.

Identity, ports, and authentication

motd is the two-line list text players see before they join. Keep it short. server-port defaults to 25565. query.port is separate and only matters when enable-query=true. rcon.port defaults to 25575 and is unused while enable-rcon=false. Leave server-ip blank to listen on every interface. Set a bind address only when the host has more than one NIC and you need a specific one.

Resource packs, RCON, and the management protocol

resource-pack is a URL to a ZIP. resource-pack-sha1 should be the 40-character SHA-1 of that ZIP so clients can verify the download. require-resource-pack=true disconnects players who decline. resource-pack-prompt can hold JSON text. Leave the pack keys blank when you are not serving a pack.

RCON is disabled by default and sends its password without encryption. Keep it on a trusted network if you enable it. Versions that support the Minecraft Server Management Protocol show its settings here. Leave the management secret blank to let the server generate it. Enabling TLS also requires a keystore.

Official Downloads

Use the Java dedicated server download that matches the version selected above. Read the Minecraft EULA and accept it yourself in eula.txt. The generator exports vanilla settings for that version; extra settings from plugins or hosting panels are not included.