Settings
Everything is in server.toml in the server's folder. Restart the server after changing it.
The first run writes the file with every setting and an explanation of each. A line starting with # is a comment. Text goes in quotes; numbers and true/false do not. If a line has a mistake (an unknown setting or a value out of range), the server does not start and names the line, so a typo never quietly falls back to a default.
All settings
| Setting | Default | What it does |
|---|---|---|
port | 25565 | The UDP port players' games connect to, 1 to 65535. Join codes are always answered on UDP 25566. |
max_players | 8 | Players at once, 1 to 255. See how much computer it needs. |
title | "VoxelMon Server" | The name players see on their server list and when they look up the join code, 24 letters at most. |
description | "" | The server's message, 64 letters at most: one line on each player's server list, all of it in the list's preview. |
icon | none | A picture shown beside the title on players' server lists: a 64 x 64 PNG in the server's own folder, 32 KB at most, for example "icon.png". Leave it out for the game's own icon. A file that is not such a picture stops the server and says what is wrong. Players' games fetch it once and keep it; change the picture and they fetch the new one. |
seed | random | The seed for a new world, a whole number. Leave it out for a random world. An existing world keeps its own seed. |
autosave_minutes | 5 | Minutes between automatic saves, 0 to 1440. 0 saves only on the save and stop commands. |
internet | true | Opens the join code to players on other networks through Epic Online Services. Must stay on: see below. |
difficulty | "normal" | "normal"; "hard" (creatures hit harder and starving can make you faint); or "hardcore" (hard, and one life: a player who faints stays down for good in this world). |
combat | "turn-based" | "turn-based" battles, or "action" for real-time combat. |
keep_inventory | true | A player who faints keeps everything they carry. |
creative | false | Free flight, no harm and unlimited blocks for every player. |
The server lets in only players signed in to their store account, as confirmed by Epic Online Services. That check needs the internet, so
internet must stay true even if all your players are on your own network: with it off, nobody can join.An example
# A hardcore server for up to 30 friends.
port = 25565
max_players = 30
title = "Karagra's Hardcore World"
description = "One life. Make it count."
icon = "icon.png"
autosave_minutes = 5
internet = true
difficulty = "hardcore"
combat = "action"
keep_inventory = false
creative = false