Skip to content
🧮 Is Lifetime with ZapX Pass worth it? Work it out for your own servers in 30 seconds. Open the Lifetime calculator →

Minecraft: Server Configuration

Learn how to configure your Minecraft server: key server.properties settings, what ZapX manages, and which values apply only to new worlds.

4 December 20265 min read89 Views0 helpful

Don't have your own server yet? Host your Minecraft server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

The most important settings for your Minecraft game server are in the server.properties file: the message in the server list, game mode, difficulty, whitelist, view distance, and much more. In this guide, we’ll show you where to change these values in ZapX, which settings ZapX manages for you, and what to keep in mind about world settings.

How configuration works

There are three ways to change server.properties:

MethodWhat to do
Configuration tabThe values from server.properties appear as form fields. Change them, save, and restart the server.
Files tabThe server.properties file is in your server’s main folder. You can edit it directly there. Remember to restart the server after saving.
Minecraft Config GeneratorSet your values in the generator and transfer them to your server with Apply changes.
Important

Once you transfer values to your server with the Config Generator, your server writes them to server.properties again every time it starts. If you later change one of these values only in the Configuration tab or in the file, it will be reset the next time the server restarts. So, change transferred values using the Config Generator.

Settings managed by ZapX

ZapX sets some lines in server.properties itself each time the server starts to keep your server reachable and ensure the Console in the panel works. Changes to these settings are rejected or overwritten the next time the server starts:

SettingWhy
server-portThis is the port ZapX assigned to your server. You can see your port in Overview.
server-ipThis must remain empty so the server listens on all interfaces. A fixed IP prevents the server from starting.
enable-rcon, rcon.port, rcon.passwordThe Console in the panel sends your commands to the server via RCON. ZapX therefore sets these values every time the server starts.
management-server-enabled, -host, -port, -tls-enabledSettings for the management interface in newer Minecraft versions. You can change them only using the Config Generator (the remote management category).
enable-query, query.portThe Query protocol isn’t available on ZapX servers, so no port is opened for it. Server status is provided through the game port.
Tip

Proxy servers such as Velocity, BungeeCord, or Waterfall don’t have a server.properties file. Their settings are explained in BungeeCord Server Config Settings.

An overview of startup parameters

Minecraft doesn’t have freely editable startup parameters in ZapX. You configure what happens at startup in other places:

WhatWhere
Server type (e.g., Vanilla, Paper, Fabric, Forge), version, or modpackGames & variants tab; see Create a Minecraft Server
MemoryDetermined by your plan
All game settingsserver.properties (Configuration tab, Files tab, or Config Generator)

The most important server.properties settings

The default values in the tables are the defaults for Minecraft (Java Edition). If your file contains a different value, the value in your file applies.

Server and access

SettingMeaningDefault
motdMessage beneath the server name in the multiplayer server listA Minecraft Server
max-playersHow many players can be connected at the same time20
white-listOnly players on the whitelist can joinfalse
enforce-whitelistEnforces the whitelist so players not on it can’t join the serverfalse
online-modeChecks whether players have a genuine Minecraft accounttrue
hide-online-playersHides the number of players onlinefalse
prevent-proxy-connectionsBlocks connections through proxiesfalse
Important

With online-mode=false, anyone can connect using any player name, including an operator’s name. Disable this setting only if you know exactly why you’re doing so.

Gameplay

SettingMeaningDefault
gamemodeDefault game mode for new players: survival, creative, adventure, or spectatorsurvival
force-gamemodeSets every player to the default game mode when they joinfalse
difficultyDifficulty: peaceful, easy, normal, or hardeasy
hardcoreOne life per player; difficulty is locked to hardfalse
pvpPlayers can damage each othertrue
allow-flightAllows flying in survival mode (e.g., for mods or plugins)false
spawn-protectionRadius in blocks around the spawn where only operators can build; set to 0 to disable16
spawn-monsters, spawn-animals, spawn-npcsWhether monsters, animals, or villagers spawntrue

World

SettingMeaningDefault
level-nameName of the world folder to load or createworld
level-seedSeed for a new world; leave empty for a random seedempty
level-typeWorld type: minecraft:normal, minecraft:flat, minecraft:large_biomes, or minecraft:amplifiedminecraft:normal
generate-structuresGenerates villages, temples, and other structurestrue
generator-settingsAdvanced settings for the world generator in JSON format{}
max-world-sizeMaximum world size in blocks from the center29999984

Performance

SettingMeaningDefault
view-distanceHow many chunks the server sends to players. Higher values require more RAM and CPU.10
simulation-distanceHow far around players the world is simulated (mobs, plants, redstone)10
pause-when-empty-secondsHow many seconds the server waits with no players online before pausing60
player-idle-timeoutTime before inactive players are automatically disconnected; 0 = off0
max-tick-timeMaximum tick duration in milliseconds before the server is considered unresponsive60000
network-compression-thresholdThe packet size in bytes at which network data is compressed256
entity-broadcast-range-percentagePercentage of the range within which entities are sent to players100

Permissions and content

SettingMeaningDefault
op-permission-levelPermission level (1 to 4) assigned to new operators4
function-permission-levelPermission level used to run functions2
enable-command-blockAllows command blocks in the worldfalse
broadcast-console-to-opsShows console messages in chat to operatorstrue
resource-packDirect download link to a resource pack for your playersempty
require-resource-packPlayers must accept the resource packfalse

World settings apply only to new worlds

Minecraft reads level-seed, level-type, generator-settings, generate-structures, hardcore, and difficulty only when creating a new world. Your existing world keeps its settings, even after a restart.

  • Create a new world with different settings: Enter a new level-name. The next time the server starts, it will create a new world with that name, and your old world will remain in its folder. Learn more in Manage Worlds and Custom World Seed.
  • Change the difficulty of the current world: If you save difficulty in the Configuration tab while the server is running, ZapX also sends the difficulty <level> command to the server. The new difficulty takes effect immediately and remains in place after a restart. If the server is stopped, enter the command yourself in the Console after the next startup.
Tip

To upload your own world or pregenerate a new one, see Add Your Own World and Pregenerate a World with Chunky.

Manage players and permissions

For most player-related tasks, you only need to enable the relevant setting in server.properties. See the dedicated guides for details:

Improve performance

The biggest performance levers in server.properties are view-distance and simulation-distance: lower values reduce the load on your server’s RAM and CPU. Find more tips in Server Performance Optimization. You can analyze lag with the Timings Report.

Conclusion

You now know where to change your Minecraft server’s server.properties, which values ZapX manages for you, and why some world settings only take effect in a new world. If you have questions, our support team is happy to help. 🙂

Free tools

Minecraft Tools

View all

FAQ

Frequently asked questions

Use the Configuration tab to edit the form fields, the Files tab to edit server.properties directly in the main folder, or the Minecraft Config Generator and select “Apply changes.” Restart the server after saving.
The setting may be one ZapX sets at every startup (server-port, server-ip, RCON, and Query), or you may have previously transferred it using the Config Generator. The server writes transferred values again at every startup, so change them in the Config Generator.
level-seed, level-type, generator-settings, generate-structures, hardcore, and difficulty only apply when a new world is created. To create a new world, enter a new level-name. Change the current world’s difficulty with the command difficulty <level> in the console.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.