Your server.properties,set key by key, for Minecraft 26.3.

Every setting in the file, with what it does and when to change it. Import your current file or start from the defaults, then download the result. Everything happens in your browser: nothing is sent.

Import my file

Players and access

Who gets in, in which mode, with which rights.

Maximum number of players online at the same time. Match it to the power of the server. Default: 20.

Turns on the whitelist: only players in whitelist.json (and operators) can join. On by default since 26.3: set it to false for a server open to everyone. Default: true.

When the whitelist is on, kicks online players who are not on it at the moment it is reloaded. Turn it on if a player removed from the list must leave right away. Default: false.

Checks every player against the Minecraft account database. Only set it to false if the server is not connected to the Internet: otherwise anyone can join with a fake account. Default: true.

Default game mode for players. The old numeric values 0 to 3 are converted to names automatically. Default: survival.

Server difficulty (monster damage, hunger and poison effects). The old numeric values 0 to 3 are converted to names automatically. Default: easy.

Creates worlds in hardcore mode. Only affects worlds created after the change. Default: false.

Allows flying in Survival for players with a flight mod or plugin; otherwise, a player who stays in the air for about 5 seconds is kicked. Set it to true if your mods or plugins let players fly (no effect in Creative). Default: false.

Spawn protection: a square area with sides of 2x+1 where only operators can change blocks; 0 turns it off. If there are no operators, it is turned off automatically. Default: 16.

Does not send the list of online players in the status response (server list). Turn it on to keep the names of present players private. Default: false.

The 8 other settings

Only accepts players whose public key is signed by Mojang; otherwise chat messages are neither signed nor reportable, and clients are warned when they join. Leave it true unless you have a specific need. Default: true.

Puts every player back in the default game mode each time they join. Turn it on if nobody should keep another mode from one session to the next (adventure server, minigames). Default: false.

Minutes of inactivity before a player is kicked; 0 = never. Useful on a server that is often full, to free up the slots of absent players. Default: 0.

Permission level granted by /op (4 = all commands). Lower it if your operators should not be able to do everything. Default: 4.

Default permission level of datapack functions (see levels 1 to 4). Only change it if a datapack needs commands of a higher level. Default: 2.

Kicks a player if the internet provider (ISP/AS) seen by your server differs from the one seen by Mojang's authentication server. Turn it on to hinder connections through a VPN or proxy. Default: false.

Accepts players sent to your server by another server (transfer packet, /transfer command). Only turn it on if you run several servers that send players to each other. Since 1.20.5. Default: false.

Shows players a code of conduct to accept before playing, read from the codeofconduct/ folder (one <language_code>.txt file per language, en_us as a fallback). Turn it on if you want players to accept your rules. Since 1.21.9. Default: false.

World

World generation and storage; most only take effect when the world is created.

World name and path to its folder: if there is a valid world there it is loaded, otherwise a new one is generated. Change it to switch from one world to another. Default: world.

World seed; empty = random seed. Only takes effect when a new world is generated. Default: empty.

Generation preset: normal, flat, large_biomes, amplified or single_biome_surface; the minecraft: prefix is optional. Only takes effect when a new world is created. Default: normal.

Generates structures (villages, etc.) in new chunks; dungeons still appear with false. Changes nothing in chunks already generated. Default: true.

The 6 other settings

World generation settings in JSON, depending on level-type (for example the layers of a flat world). Leave {} for standard generation. Default: {}.

Maximum distance in blocks from the centre of the world, where the border appears. Lower it to limit the size of the map. Default: 29999984.

Datapacks enabled when the world is created, separated by commas; feature packs must be listed explicitly. Only used when the world is created. Default: vanilla.

Datapacks not to enable automatically when the world is created, separated by commas. Only used when the world is created. Default: empty.

Compression algorithm for region files: deflate, lz4 or none (no compression, much bigger files). Existing chunks are not recompressed automatically. Since 1.20.5. Default: deflate.

Writes chunks synchronously to avoid data loss and corruption after a crash, at the cost of possibly slower disk access. Leave it true unless the disk is the bottleneck. Default: true.

Display and performance

What players see, and what the server computes.

Message shown under the server name in the list; accepts colour and formatting codes and non-ASCII characters. Beyond 59 characters, the list may show a communication error. Default: A Minecraft Server.

Radius, in chunks around each player, of the world area sent to clients (server-side view distance). 10 is the recommended value; lower it if the server lags. Default: 10.

Radius, in chunks around each player, in which entities are updated; beyond it, they are frozen and invisible. 10 is the recommended value; lower it if the server lags. Default: 10.

Pauses the server after this many seconds without players (positive value); a value of 0 or less turns the pause off. Turn it off if farms, plugins or tasks must keep running with no players. Since 1.21.2. Default: 60.

The 8 other settings

Distance, as a percentage of normal, at which entities are sent to players (50 = half). Lower it to lighten the load on the server and clients, raise it to see entities from further away at the cost of lag. Default: 100.

Maximum length of a tick, in milliseconds, before the watchdog stops the server thinking it has frozen; -1 turns the watchdog off. Raise it for big modpacks where some ticks are very long. Default: 60000.

Maximum number of chained neighbour block updates before the next ones are ignored; a negative value removes the limit. Lower it if redstone machines make the server lag. Default: 1000000.

Size in bytes from which packets are compressed; -1 turns compression off, 0 compresses everything. Avoid going below 64 or above the MTU (usually 1500). Default: 256.

Maximum number of packets a player can send before being kicked; 0 turns the limit off. Default: 0.

Chat anti-spam: each message adds 1 second to a counter that drops by 1/20 s per tick, and the player is kicked when the counter reaches this threshold. Set 0 to never kick for chat spam. Since 26.2. Default: 10.

Same mechanism as the chat anti-spam, but for commands sent by players. Set 0 to turn off kicking. Since 26.2. Default: 10.

Uses the optimised Linux network I/O. Leave it true. Default: true.

Network

Ports, public status, Query protocol.

All 8 settings

IP address the server listens on; empty = all addresses. Leave it empty unless you have a special case. Default: empty.

TCP port of the server. Change it if several servers share the same IP; it must be open or forwarded to the machine. Default: 25565.

Makes the server show as “online” in the server list. With false it looks offline, but still accepts connections. Default: true.

Turns on the Query protocol (UDP), which gives information about the server to external tools. Turn it on if a server listing site or a monitoring tool asks you to. Default: false.

UDP port of the Query protocol (used if enable-query=true). Change it if this port is already taken. Default: 25565.

Shows players' IP addresses in the console and logs. Set false to keep less personal data. Since 1.20.2. Default: true.

Interval of the “heartbeat” notifications sent by the management API to connected clients; 0 = off. Since 1.21.9. Default: 0.

Resource pack

The pack offered to or forced on players.

All 5 settings

Download URL of the resource pack offered to players (250 MiB maximum). Leave empty to offer none. Default: empty.

SHA-1 hash of the pack in lowercase hexadecimal, used to check its integrity. Fill it in as soon as you provide a pack. Default: empty.

Optional UUID (hyphenated format) that identifies the resource pack to clients. Since 1.20.3. Default: empty.

Custom message shown when the pack is required (require-resource-pack), in text component format, over several lines if needed. Empty = default message. Default: empty.

Disconnects players who decline the server's resource pack. Turn it on if the server is unplayable without the pack. Default: false.

Remote administration

RCON and the management API: keep them closed unless you have a specific need.

All 16 settings

Turns on RCON, the remote console. The protocol is not encrypted (password included): do not expose it to the Internet, and preferably connect from localhost. Default: false.

TCP port of RCON. Do not open it to the Internet. Default: 25575.

RCON password; if RCON is enabled with an empty password, it does not start. Choose a long, unique password: it travels in plain text over the network. Default: empty.

Sends online operators the output of commands run through RCON. Set false if a tool sends lots of RCON commands. Default: true.

Sends online operators the output of commands typed in the console. Set false if it clutters their chat. Default: true.

Turns on the server management API (Minecraft Server Management Protocol, JSON-RPC over WebSocket). Only turn it on if an admin tool uses it. Since 1.21.9. Default: false.

Listening address of the management API. Leave localhost so it stays unreachable from the Internet. Since 1.21.9. Default: localhost.

Port of the management API; 0 = random port chosen at startup. Set a fixed port if a tool needs to connect to it. Since 1.21.9. Default: 0.

40-character alphanumeric secret that management API clients must provide; if empty, the server generates one at startup and writes it to the file. Keep it like a password. Since 1.21.9. Default: empty.

Origins (HTTP Origin header) allowed to connect to the management API from a browser, separated by commas; empty = no connection from a browser. Only fill it in if a web panel needs to control the server. Since 1.21.11. Default: empty.

Encrypts the management API with TLS; if TLS is on without a keystore, the server refuses to start. Only turn it off for strictly local use. Since 1.21.9. Default: true.

Path to the keystore (PKCS12 format) used for the management API's TLS. Required if TLS is on. Since 1.21.9. Default: empty.

TLS keystore password. Prefer the MINECRAFT_MANAGEMENT_TLS_KEYSTORE_PASSWORD environment variable or the -Dmanagement.tls.keystore.password= JVM option so you don't write it in plain text. Since 1.21.9. Default: empty.

Exposes tick times through JMX (MBean net.minecraft.server:type=Server). Only useful with a Java monitoring tool, and you also need the JVM's JMX options. Default: false.

Chat filter configuration used internally by Realms. Leave empty. Default: empty.

Format version of text-filtering-config (0 or 1). Leave 0. Since 1.21.2. Default: 0.

server.properties0 settings changed

#Minecraft server properties
#Généré avec https://arkya.gg/outils/server-properties
accepts-transfers=false
allow-flight=false
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
bug-report-link=
chat-spam-threshold-seconds=10
command-spam-threshold-seconds=10
difficulty=easy
enable-code-of-conduct=false
enable-jmx-monitoring=false
enable-query=false
enable-rcon=false
enable-status=true
enforce-secure-profile=true
enforce-whitelist=false
entity-broadcast-range-percentage=100
force-gamemode=false
function-permission-level=2
gamemode=survival
generate-structures=true
generator-settings={}
hardcore=false
hide-online-players=false
initial-disabled-packs=
initial-enabled-packs=vanilla
level-name=world
level-seed=
level-type=minecraft\:normal
log-ips=true
management-server-allowed-origins=
management-server-enabled=false
management-server-host=localhost
management-server-port=0
management-server-secret=
management-server-tls-enabled=true
management-server-tls-keystore=
management-server-tls-keystore-password=
max-chained-neighbor-updates=1000000
max-players=20
max-tick-time=60000
max-world-size=29999984
motd=A Minecraft Server
network-compression-threshold=256
online-mode=true
op-permission-level=4
pause-when-empty-seconds=60
player-idle-timeout=0
prevent-proxy-connections=false
query.port=25565
rate-limit=0
rcon.password=
rcon.port=25575
region-file-compression=deflate
require-resource-pack=false
resource-pack=
resource-pack-id=
resource-pack-prompt=
resource-pack-sha1=
server-ip=
server-port=25565
simulation-distance=10
spawn-protection=16
status-heartbeat-interval=0
sync-chunk-writes=true
text-filtering-config=
text-filtering-version=0
use-native-transport=true
view-distance=10
white-list=true

What changed recently

If you are reusing an old file, three changes may surprise you.

  • The whitelist is on by default since 26.3. A brand-new server therefore turns away players who are not in whitelist.json. For an open server, set white-list to false.
  • Four keys became game rules in 1.21.9: pvp, allow-nether, enable-command-block and spawn-monsters. In the file, they no longer have any effect; set them with /gamerule pvp false, /gamerule allow_entering_nether_using_portals false, /gamerule command_blocks_work true or /gamerule spawn_monsters false.
  • A management API arrived in 1.21.9 (management-server-*). It is off by default, and should stay that way unless an admin tool uses it.

The settings that really matter

  • view-distance and simulation-distance: the first sets how far players see, the second how far the world stays alive. Lowering simulation relieves the server far more than lowering view.
  • online-mode: leave it at true. At false, anyone can join under anyone else's name.
  • pause-when-empty-seconds: the server pauses after 60 seconds without players. Set 0 if farms or plugins must keep running with nobody online; PaperMC turns it off by default.
  • motd: the message in the server list. Colour codes § and accented characters are written in the \u00A7 form the server can read back. To build a coloured MOTD with a preview, use the MOTD generator.

Where to put the file

The server.properties file goes at the root of the server, next to the .jar. Stop the server, replace the file, then restart: the server does not reload its settings on the fly. A missing key falls back to its default value, and the server writes it back at startup.

With a host, keep the port and address it gives you: server-port and server-ip are often managed by the panel. On an Arkya server, you replace the file from the file manager or over SFTP.

Questions we get asked

  • My changes don't apply, why?

    The server only reads the file at startup. Stop it first, replace the file, then restart. Some keys, like level-seed or level-type, only take effect when a new world is created.

  • pvp=false no longer works, what do I do?

    Since 1.21.9, combat between players is set by a game rule: type /gamerule pvp false in the console. The pvp key in the file is ignored.

  • How do I add colours to the MOTD?

    Use § codes, for example §6 for gold and §l for bold. The generator writes them in the \u00A7 form, which the server reads back correctly whatever the file's encoding. Beyond 59 characters, the server list may show an error.

  • Are my settings or my file sent anywhere?

    No. The imported file is read by your browser, and the downloaded file is built there. Nothing goes through our servers.

  • Does the generator work for Paper or Spigot?

    Yes: they read the same server.properties, with a few differences (PaperMC, for example, turns off the empty-server pause). Their own settings live in other files, such as paper-global.yml.

A Minecraft server to drop this file on

Live console, file manager and SFTP, backups, and a free MariaDB database for your plugins.

See the Minecraft server