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.
There are three ways to change server.properties:
| Method | What to do |
|---|---|
| Configuration tab | The values from server.properties appear as form fields. Change them, save, and restart the server. |
| Files tab | The 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 Generator | Set your values in the generator and transfer them to your server with Apply changes. |
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.
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:
| Setting | Why |
|---|---|
server-port | This is the port ZapX assigned to your server. You can see your port in Overview. |
server-ip | This must remain empty so the server listens on all interfaces. A fixed IP prevents the server from starting. |
enable-rcon, rcon.port, rcon.password | The 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-enabled | Settings for the management interface in newer Minecraft versions. You can change them only using the Config Generator (the remote management category). |
enable-query, query.port | The Query protocol isn’t available on ZapX servers, so no port is opened for it. Server status is provided through the game port. |
Proxy servers such as Velocity, BungeeCord, or Waterfall don’t have a server.properties file. Their settings are explained in BungeeCord Server Config Settings.
Minecraft doesn’t have freely editable startup parameters in ZapX. You configure what happens at startup in other places:
| What | Where |
|---|---|
| Server type (e.g., Vanilla, Paper, Fabric, Forge), version, or modpack | Games & variants tab; see Create a Minecraft Server |
| Memory | Determined by your plan |
| All game settings | server.properties (Configuration tab, Files tab, or Config Generator) |
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.
| Setting | Meaning | Default |
|---|---|---|
motd | Message beneath the server name in the multiplayer server list | A Minecraft Server |
max-players | How many players can be connected at the same time | 20 |
white-list | Only players on the whitelist can join | false |
enforce-whitelist | Enforces the whitelist so players not on it can’t join the server | false |
online-mode | Checks whether players have a genuine Minecraft account | true |
hide-online-players | Hides the number of players online | false |
prevent-proxy-connections | Blocks connections through proxies | false |
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.
| Setting | Meaning | Default |
|---|---|---|
gamemode | Default game mode for new players: survival, creative, adventure, or spectator | survival |
force-gamemode | Sets every player to the default game mode when they join | false |
difficulty | Difficulty: peaceful, easy, normal, or hard | easy |
hardcore | One life per player; difficulty is locked to hard | false |
pvp | Players can damage each other | true |
allow-flight | Allows flying in survival mode (e.g., for mods or plugins) | false |
spawn-protection | Radius in blocks around the spawn where only operators can build; set to 0 to disable | 16 |
spawn-monsters, spawn-animals, spawn-npcs | Whether monsters, animals, or villagers spawn | true |
| Setting | Meaning | Default |
|---|---|---|
level-name | Name of the world folder to load or create | world |
level-seed | Seed for a new world; leave empty for a random seed | empty |
level-type | World type: minecraft:normal, minecraft:flat, minecraft:large_biomes, or minecraft:amplified | minecraft:normal |
generate-structures | Generates villages, temples, and other structures | true |
generator-settings | Advanced settings for the world generator in JSON format | {} |
max-world-size | Maximum world size in blocks from the center | 29999984 |
| Setting | Meaning | Default |
|---|---|---|
view-distance | How many chunks the server sends to players. Higher values require more RAM and CPU. | 10 |
simulation-distance | How far around players the world is simulated (mobs, plants, redstone) | 10 |
pause-when-empty-seconds | How many seconds the server waits with no players online before pausing | 60 |
player-idle-timeout | Time before inactive players are automatically disconnected; 0 = off | 0 |
max-tick-time | Maximum tick duration in milliseconds before the server is considered unresponsive | 60000 |
network-compression-threshold | The packet size in bytes at which network data is compressed | 256 |
entity-broadcast-range-percentage | Percentage of the range within which entities are sent to players | 100 |
| Setting | Meaning | Default |
|---|---|---|
op-permission-level | Permission level (1 to 4) assigned to new operators | 4 |
function-permission-level | Permission level used to run functions | 2 |
enable-command-block | Allows command blocks in the world | false |
broadcast-console-to-ops | Shows console messages in chat to operators | true |
resource-pack | Direct download link to a resource pack for your players | empty |
require-resource-pack | Players must accept the resource pack | false |
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
difficultyin the Configuration tab while the server is running, ZapX also sends thedifficulty <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.
To upload your own world or pregenerate a new one, see Add Your Own World and Pregenerate a World with Chunky.
For most player-related tasks, you only need to enable the relevant setting in server.properties. See the dedicated guides for details:
- Set up a whitelist: Enable and Edit the Whitelist
- Make yourself an operator: Grant OP Permissions
- Kick, ban, and unban players: Manage Players
- Console commands: General Server Commands
- Server icon in the server list: Add or Change the Server Icon
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.
