Minecraft server.properties Guide: Optimize Your Server & Fix Lag

Learn everything about the Minecraft server.properties file, including all available settings, how to configure them, and the best performance optimizations for smoother server gameplay.

LookedRobob photoLookedRobob·3 months ago
Minecraft server.properties Guide: Optimize Your Server & Fix Lag

The server.properties configuration file in Minecraft stores important settings for your Minecraft server. It is important to understand this file properly when hosting a Minecraft server, as it is the file that controls your Minecraft server’s behavior, performance, and gameplay experience.

This article will break down every property in detail, including what it does and how to change it.

Overview of the server properties file in Minecraft

Here is an overview of the server.properties file in Minecraft and what each setting does:

NameDescriptionIntroduced in version
accepts-transfersDetermines whether your Minecraft server accepts incoming player transfers from other servers.1.20.5 onwards
allow-flightDetermines whether players should be able to fly.1.7 and older
broadcast-console-to-opsDetermines whether server console commands are visible in-game to operators.1.7 and older
broadcast-rcon-to-opsDetermines whether server RCON commands are visible in-game to operators.1.9
bug-report-linkAllows admins to assign a custom web address where players report server-related issues.1.20
debugEnables useful debug features for server admins and developers.1.21.9
difficultyControls the server difficulty (peaceful, easy, normal, hard).1.7 and older
enable-code-of-conductDetermines whether to prompt players with server rules screen when players join the Minecraft server.1.21.9
enable-jmx-monitoringAllows the server to expose performance metrics via Java Management Extensions1.16
enable-queryControls whether the Minecraft server exposes advanced status data.1.9
enable-rconEnables remote access to your Minecraft server console.1.9
enable-statusDictates whether your Minecraft server appears online and displays its information.1.16
enforce-secure-profileForces players to connect with a Mojang-signed public key.1.19.1
enforce-whitelistEnsures that non-whitelisted players are immediately kicked from the Minecraft server the moment the whitelist is enabled.1.7.2
entity-broadcast-range-percentageSets the tracking distance as a percentage of the default vanilla distance1.16
force-gamemodeForces all players to join in the default Minecraft server gamemode.1.18
function-permission-levelDefines the default operator permission level for command blocks, functions, and other indirect command executors.1.14.4
gamemodeDictates the default world state (survival, creative, adventure, or spectator). Learn how to change Minecraft server difficulty1.7 and older
generate-structuresAllows the game’s terrain generator to naturally spawn structures.1.7 and older
generator-settingsDefines the custom parameters for world generation.1.8
hardcoreEnables hardcore mode on your Minecraft server.1.7 and older
hide-online-playersDetermines whether your server sends the list of currently online players to clients during server status requests.1.18
initial-disabled-packsAllows you to specify a comma-separated list of datapacks that should not be automatically enabled when a new world is created.1.20
initial-enabled-packsAllows you to specify a comma-separated list of datapacks that should be automatically enabled when a new world is created.1.20
level-*Minecraft settings used to define and generate your world.1.7 and older
log-ipsDetermines whether a player’s IP address is recorded in the server console and log files when they join the server.1.20.2
management-server-*Controls the built-in Minecraft Server Management Protocol (MSMP).1.21.9
max-chained-neighbor-updatesLimits the number of consecutive block updates (like redstone signals or falling blocks) a server can process in a single tick.1.19
max-playersDefines the maximum number of people who can join your server at any given time.1.7 and older
max-tick-timeDefines the maximum tick time in milliseconds.1.8.1
max-world-sizeDefines the maximum size of the world border in blocks (using a radius).1.8
motdSets the Message Of The Day (MOTD) for your Minecraft server.1.7 and older
network-compression-thresholdDefines the minimum size (in bytes) a network packet must reach before the server compresses it.1.8
online-modeDetermines whether connecting players must be officially authenticated through Mojang/Xbox Live servers.
Learn more about how to make your Minecraft server cracked
1.7 and older
op-permission-levelSets the default permission level assigned to players when you grant them operator status.1.7.10
pause-when-empty-secondsDefines how many seconds must pass without any players online before the server automatically pauses.1.21.2
player-idle-timeoutDictates how many minutes a player can remain inactive (AFK) before being automatically kicked from the server.1.7 and older
prevent-proxy-connectionsBlocks players from connecting to your server using a VPN or proxy.1.12
query.portConfigures the port for the server’s GameSpy4 query protocol.1.9
rate-limitLimits the maximum amount of packets a single player can send per second. Can help with DDoS attacks.
Learn more about DDoS attacks and why DDoS protection is important
1.16.2
rcon.*Individual settings to set up by the RCON protocol on your Minecraft server.1.9
region-file-compressionDetermines the algorithm used to compress and store chunk data in .mca region files.1.7 and older
require-resource-packForces players to use your server’s custom resource pack.1.17
resource-pack-*Individual settings to enable a resource pack on your Minecraft server.1.7 and older
server-ipDefines the specific IP address the Minecraft server will bind to and listen on1.7 and older
server-portDefines the specific port address the Minecraft server will bind to and listen on.1.7 and older
simulation-distanceDetermines how many chunks around a player receive active game updates.1.18
spawn-protectionDetermines the size of the protected square area around the world spawn point.1.7 and older
status-heartbeat-intervalControls how often the server’s management server sends heartbeat notifications to connected clients over the Minecraft Server Management Protocol.1.21.9
sync-chunk-writesConfigures whether chunk data is saved to disk synchronously or asynchronously.1.16
text-filtering-*Minecraft server configurations used to manage the built-in chat profanity and safety filters.1.16.4
use-native-transportOptimizes network packet sending and receiving for Linux-based servers.1.8
view-distanceSets the maximum number of chunks the server loads and sends to clients in all directions around each player.1.9
white-listDetermines whether the Minecraft server should be whitelisted. Also read how to whitelist your Minecraft server1.7 and older

Best server.properties settings for performance

Changing the server.properties file in your Minecraft server strategically can help you achieve better TPS and an overall smoother gameplay. Here are some settings you can change to easily improve performance.

  • view-distance: 8-10
  • simulation-distance: 6-8
  • network-compression-threshold: 256
  • sync-chunk-writes: true

It’s also important to notice that some Minecraft hosts don’t give you full control over the Minecraft server.properties file, which can’t be said about SodiumNodes.

Through our easy-to-use panel, you can change your server properties effortlessly, with full control over your server files.

What is the server.properties file in Minecraft?

The Minecraft server.properties file contains all the important settings of your Minecraft server, a few of those being difficulty, MOTD, whitelist, spawn protection radius, and the Minecraft server port.

How do I change the Minecraft server.properties file?

If you’re on Minecraft hosting like similar to Aternos, you might not be able to edit files directly. Using a Minecraft hosting provider will allow you to have full access to your Minecraft server files. Our affordable Minecraft hosting is a great way to get a Minecraft server with full access to all your server files.

The first step to changing the server.properties file on your Minecraft server is to make sure the server is stopped. This ensures all the changes will be applied successfully.

Next, you will need to navigate to the root directory of your Minecraft server. This is the main directory for your Minecraft server where you see your plugins folder, all your worlds, and a few other files like ops.txt.

Simply open the server.properties file, make sure to respect the key=value syntax (for example online-mode=false), and save your changes.

Conclusion

Overall, understanding the server.properties file is crucial for your Minecraft server, as it’s the main configuration file for your Minecraft server and contains several settings that can help for optimisation for in-game performance or quality.

Your Minecraft server, ready in seconds.

Why wait any longer?

With SodiumNodes, your server is deployed is 60 seconds away from being yours.

DDoS protection: Stay online during raid attacks.

AMD CPUs: No lag, even with several mods or plugins.

Custom Mod Support: Run Fabric, Forge, or Paper mods/plugins.

Friendly customer support: Real answers in under 10 minutes.

Minecraft server.properties Guide: Optimize Your Server & Fix Lag