Minecraft Java server properties guide

Minecraft server properties enable administrators to tweak different elements of their Minecraft server, such as using popular tools. These adjustments impact gameplay mechanics, including game mode, difficulty, and world generation options. They also regulate server performance by establishing the maximum number of players and managing server view distance. The following guide outlines each setting and what they do.

Note Learn how to edit Minecraft server settings here.

Note The settings listed are default as of Minecraft version 1.20.5.

Minecraft Java Server Properties Guide

Sets whether JMX technology is enabled or not.
Sets the rcon port for when enable-rcon=true.

Sets the algorithm for region chuck compression. The values are deflate, lz4, or none.

Generates a world seed based on the value. Characters and numbers that are both positive and negative can be used. If left blank, it generates a random seed.
level-seed=Steve12345 or level-seed=-98723453134
Sets the gamemode on the server. The values are survival, creative, adventure, and spectator.
Sets whether command blocks are enabled or not on the server.
Sets whether query is enabled or not. Server lists use it to get information about the server.
Sets world generation customization.
Sets whether chat reporting is enabled or not.
Sets the name of the world and folder save.
motd=A Minecraft Server
Sets the message of the day.
Sets the query port for when enable-query=true.
Sets whether PvP is enabled or not.
Sets whether structures such as villages generate in new chunks. Dungeons generate regardless of setting.
Sets the limit of the number of consecutive neighbor updates before skipping additional ones. When the value is negative, it is disabled. Recommended to leave on default.
Sets the difficulty of the game. The values are peaceful, easy, normal, and hard.
Sets the networking packets below the value to be compressed. Recommended to leave on default.
Sets the time a tick is allowed to take before the server stops. The value is in milliseconds. Recommended to disable for heavy modpacks by setting it to -1.
Setting the value to true prompts joining players to accept the server resource pack. Declining will disconnect players from the server.
Sets whether Linux server performance improvements are enabled or not. Recommended to leave on true.
Sets the maximum number of players on the server. A higher number of players consume more server resources.
Sets whether the server checks joining players are listed on the Minecraft account database. Recommended to leave on true to protect the server from fake and unsafe accounts.
Sets the privacy of showing up on the server list. When set to false, the server is hidden but still allows connections.
Sets whether flying is allowed or not on Survival mode. Some mods may require setting to true.
List of datapacks to not be auto-enabled on world creation. Separate datapacks with a comma.
Sets whether to send rcon console command outputs to all online operators when enable-rcon=true.
Sets the view distance of the server, regardless of players' client settings. A lower value is recommended when experiencing significant lag.
Sets the IP to bind the server to.
Sets whether to show a custom message on prompt when require-resource-pack=true.
Sets whether players can travel to the Nether or not.
Sets the port of the server.
Sets whether remote access to the server console is enabled or not. Recommended to leave on false as rcon does not have encryption.
Sets whether synchronous chunk writes are enabled or not. Recommended to leave on true.
Sets the default permission levels of operators.
Sets whether players using VPNs or proxies can join the server or not.
Sets whether sending a player list on status requests is enabled or not.
Sets the resource pack URL when adding a resource pack to the server.

Sets a unique optional UUID for resource-pack to identify the pack with clients.

Sets how near entities need to be before being shown to players. A lower value means a shorter distance and is recommended when experiencing significant lag.
Sets the maximum distance entities are visible to players. A lower value is recommended when experiencing significant lag.
Sets the rcon password for when enable-rcon=true.
Sets whether idle players get kicked from the server after some time. The value is in minutes.
Sets whether players are forced on the server's default gamemode on joining, regardless if they changed gamemodes when logging out.
Sets the maximum number of packets a player can send. Exceeding the limit, such as using too many mods and plugins, kicks the player. Recommended to leave on 0.
Sets whether hardcore mode is enabled or not. When set to true, server difficulty defaults to hard regardless of difficulty=, and players go to spectator mode after death.
Sets whether whitelisting is enabled or not. Players not on the whitelist are unable to connect. Operators are automatically whitelisted when enabled.
Sets whether to send console command outputs to all online operators.
Sets whether NPCs can spawn or not.
Sets whether animals can spawn or not.
Sets the default permission level for functions.
List of datapacks to be auto-enabled on world creation. Separate datapacks with a comma.

Sets the generated world preset. generator-settings={} allows further customization.

1.19 and above:
minecraft:normal - Default world.
minecraft:flat - A flat world with no features.
minecraft:large_biomes - Similar to default with bigger biomes.
minecraft:amplified - Similar to default with the world generation height limit increased.
minecraft:single_biome_surface - A buffet world with a single biome.

1.18 and below:
default - Default world.
flat - A flat world with no features.
largeBiomes - Similar to default with bigger biomes.
amplified - Similar to default with the world generation height limit increased.

1.15 and below:
buffet - Default world along with any customization from generator-settings={}.
default_1_1 - Similar to default but counted as a different world type.
customized - After 1.13, it is similar to a default world. In 1.12 and below, it can create a custom world.

Sets whether IP addresses appear in log messages on the server console or the log file.

Sets text filtering from an online service.

Sets whether monsters can spawn or not.

Sets whether to enforce the whitelist. When set to true, players not on the list get kicked after reloading the whitelist.

Sets the number of spawn-protected blocks. If operators are not present on the server, spawn protection is automatically disabled. When set to 0, spawn protection is disabled.

Example: A value of 1 protects a 3x3 area on the spawn point. 2 protects 5x5, 3 protects 7x7 and so on.

Sets an optional SHA-1 digest of the resource pack in lowercase hexadecimal for when resource-pack= is enabled. It verifies the resource pack's integrity.

Sets the maximum block size of the world border. A higher value has no impact. Recommended to leave on default.

Example: max-world-size=1000 gives a 2000x2000 world border.

Minecraft server properties are important settings that let players customize their gameplay. Learning how to adjust these properties might seem challenging initially for newcomers, but it's a valuable skill for anyone aiming to run an outstanding Minecraft server. Players can craft a memorable and fun Minecraft world for their fellow gamers by setting things up just right.

Helpful Links
Minecraft Server Properties Wiki
Edit Minecraft Server Settings
Add a Resource Pack to a Minecraft Server
Install Minecraft Mods

Was this answer helpful?

« Back