Overview
Minecraft Java server properties are editable settings that allow players to adjust the gameplay on their servers. Many settings are available that allow a very in-depth level of customization, such as permission levels, platform settings, or whitelists.
Note: Follow our guide to learn How to Edit Minecraft Server Settings.
Note: The settings listed are default for Minecraft version 1.19.3.
Minecraft Java Server Properties Guide
Below will be listed all available server properties and a short description.
Server Property |
Description |
enable-jmx-monitoring=false |
Sets whether JMX technology is enabled or not. |
rcon.port=25575 |
Sets the Rcon port for when enable-rcon=true . |
level-seed= |
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. |
gamemode=survival |
Sets the gamemode on the server. The values are survival , creative , adventure , and spectator . |
enable-command-block=false |
Sets whether command blocks are enabled or not on the server. |
enable-query=false |
Sets whether a query is enabled or not. Server lists use it to get information about the server. |
generator-settings={} |
Sets world generation customization. |
enforce-secure-profile=true |
Sets whether chat reporting is enabled or not. |
level-name=world |
Sets the name of the world and folder save. |
motd=A Minecraft Server |
Sets the message of the day. |
query.port=25565 |
Sets the query port for when enable-query=true . |
pvp=true |
Sets whether PvP is enabled or not. |
generate-structures=true |
Sets whether structures such as villages generate in new chunks. Dungeons generate regardless of setting. |
max-chained-neighbor-updates=1000000 |
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. |
difficulty=easy |
Sets the difficulty of the game. The values are peaceful , easy , normal , and hard . |
network-compression-threshold=256 |
Sets the networking packets below the value to be compressed, recommended to leave on default. |
max-tick-time=60000 |
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 . |
require-resource-pack=false |
Setting the value to true prompts joining players to accept the server resource pack. Declining will disconnect players from the server. |
use-native-transport=true |
Specifies whether Linux server performance improvements are enabled or not. Recommended to leave it on true . |
max-players=20 |
Sets the maximum number of players on the server. A higher number of players consume more server resources. |
online-mode=true |
Specifies 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. |
enable-status=true |
Sets the privacy of showing up on the server list. When set to false , the server is hidden but still allows connections. |
allow-flight=false |
Sets whether flying is allowed or not on Survival mode. Some mods may require setting to true . |
initial-disabled-packs= |
List of data packs to not be auto-enabled on world creation. Separate data packs with a comma. |
broadcast-rcon-to-ops=true |
Sets whether to send rcon console command outputs to all online operators when enable-rcon=true . |
view-distance=10 |
Sets the view distance of the server, regardless of players' client settings. A lower value is recommended when experiencing significant lag. |
server-ip= |
Sets the IP to bind the server to. |
resource-pack-prompt= |
Sets whether to show a custom message on the prompt when require-resource-pack=true . |
allow-nether=true |
Sets whether players can travel to the Nether or not. |
server-port=25565 |
Sets the port of the server. |
enable-rcon=false |
Sets whether remote access to the server console is enabled or not. Recommended to leave on false as rcon does not have encryption. |
sync-chunk-writes=true |
Sets whether synchronous chunk writes are enabled or not. Recommended to leave on true . |
op-permission-level=4 |
Sets the default permission levels of operators. |
prevent-proxy-connections=false |
Sets whether players using VPNs or proxies can join the server or not. |
hide-online-players=false |
Sets whether sending a player list on status requests is enabled or not. |
resource-pack= |
Sets the resource pack URL when adding a resource pack to the server. |
entity-broadcast-range-percentage=100 |
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. |
simulation-distance=10 |
Sets the maximum distance entities are visible to players. A lower value is recommended when experiencing significant lag. |
rcon.password= |
Sets the rcon password for when enable-rcon=true . |
player-idle-timeout=0 |
Sets whether idle players get kicked from the server after some time. The value is in minutes. |
force-gamemode=false |
Sets whether players are forced on the server's default gamemode on joining, regardless if they changed gamemodes when logging out. |
rate-limit=0 |
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 . |
hardcore=false |
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. |
white-list=false |
Sets whether whitelisting is enabled or not. Players not on the whitelist are unable to connect. Operators are automatically whitelisted when enabled. |
broadcast-console-to-ops=true |
Sets whether to send console command outputs to all online operators. |
spawn-npcs=true |
Sets whether NPCs can spawn or not. |
spawn-animals=true |
Sets whether animals can spawn or not. |
function-permission-level=2 |
Sets the default permission level for functions. |
initial-enabled-packs=vanilla |
List of data packs to be auto-enabled on world creation. Separate data packs with a comma. |
level-type=minecraft\:normal |
Sets the generated world preset. generator-settings={} Allows further customization. |
text-filtering-config= |
Sets text filtering from an online service. |
spawn-monsters=true |
Sets whether monsters can spawn or not. |
enforce-whitelist=false |
Sets whether to enforce the whitelist. When set to true , players not on the list get kicked after reloading the whitelist. |
spawn-protection=16 |
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. |
resource-pack-sha1= |
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. |
max-world-size=29999984 |
Sets the maximum block size of the world border. A higher value has no impact. It is recommended to leave on default. |