With the right configuration, you can make your Luanti (Minetest) game server exactly the server you have in mind: its own name in the server list, a welcome message for your players, the right game such as Minetest Game, VoxeLibre, or Mineclonia, and rules for creative mode, damage, or PvP. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can customize in the minetest.conf file.
Luanti reads its server settings from the minetest.conf file. However, you don’t have to change the most important values there by hand: you’ll find them in ZapX under the Startup parameters tab in Configuration.
Each time your server starts, it writes the values from the start parameters to minetest.conf. All other lines in the file remain as you saved them. The file is located directly in your server’s main folder, and you can open it in the Files tab. You’ll also find the minetest.conf.example file there, with a list of all options and explanations.
Always change values that are available as start parameters in the Start Parameters, not directly in minetest.conf. Any change you make in the file will be overwritten with the value from the start parameters the next time the server starts. If you leave a start parameter blank, the value in minetest.conf applies. If you clear a field later, the last value written there remains. To remove it, delete the line in the file while the server is stopped.
Your server sets the port itself each time it starts, and it also removes any old bind_address line. You don’t need to manage either of these values.
After you save, ZapX will offer to restart the server right away. Your changes will only take effect after the restart.
| Start parameter | Meaning |
|---|---|
| Server name | Your server’s name in the server list and when players join. Default: A ZapX Luanti Server |
| Server description | A short description of your server in the server list |
| Message of the day (MOTD) | The message every player sees in chat after joining |
| World name | The folder under worlds for the world your server loads. Default: world |
| Game Id | The game used to create a new world. Default: minetest_game |
| Max. players | The maximum number of players who can be connected at the same time: 500 |
| Admin Name | The player name that gets all permissions on your server. Maximum 20 characters, with no spaces |
| Server Announce | true lists your server on Luanti’s public server list; false (default) keeps it private |
| Creative Mode | true enables creative mode: blocks can be mined almost instantly and all items are available in unlimited quantities. Default: false |
| Enable Damage | true (default): players take damage and can die. false: no one gets hurt |
| Enable Pvp | true (default): players can hurt each other. This only applies when Enable Damage is on |
For Server Announce, Creative Mode, Enable Damage, and Enable Pvp, enter true or false. Your server also understands 1/0, yes/no, and on/off.
For information on how to connect to your server and how it appears in the public server list, see Connecting to the server.
Use World name and Game Id to choose which world your server loads and which game is used to create a new world. Each world is a separate folder under worlds, which you can also see in the Savegames tab.
- World Name: If the folder already exists, your server loads that world. If it doesn’t exist yet, the server creates a new world with that name when it starts. Use a simple folder name without
/or\and without a period at the beginning. - Game Id: This only applies when a new world is created. An existing world always keeps the game it was created with. Minetest Game (
minetest_game) is already included on your server.
- Upload the game as a folder to
gamesin the Files tab, for examplegames/mineclonia. - Enter the folder name as the Game Id, for example
mineclonia. - Enter a new name for World name to create a new world with this game.
- Save and restart your server.
Your old world will remain unchanged in the worlds folder. To switch back to it, simply enter its name again under World name.
A few minetest.conf settings also only apply when creating a new world: fixed_map_seed (seed, blank = random), mg_name (map generator, default v7), water_level (sea level, default 1), and world_start_time (time of day at startup, default 6125 = early morning). An existing world keeps its seed and map generator.
If your server doesn’t start after switching, the Console will show the cause in a line containing [luanti-entrypoint] ERROR. Find solutions in Common issues.
Enter your player name in the Admin Name start parameter, using exactly the same spelling as in the game. Anyone who joins with this name will have all permissions on your server. If the account doesn’t exist yet, simply register with this name the first time you join.
Set which permissions new players receive and who can join in minetest.conf:
| Setting | Meaning |
|---|---|
default_privs | Permissions every new player receives. Default: interact, shout. interact allows building and mining, while shout allows chat. Without interact, new players can only look around |
basic_privs | Permissions players with the basic_privs permission can grant to others. Default: interact, shout |
default_password | The password new players must enter to register. Existing accounts keep their own passwords. Blank = open server |
disallow_empty_password | true prevents players from joining without a password or setting an empty password. Default: false |
default_password is stored in plain text in minetest.conf. Use a password that you don’t use anywhere else.
You can grant permissions to individual players directly in the in-game chat: use /grant followed by the player name and permission to grant a permission, or /revoke to remove one. Use /privs to see a player’s current permissions.
In minetest.conf, each setting is on its own line in the format name = value. Lines that start with # are comments. For example:
time_speed = 72
give_initial_stuff = true
enable_tnt = false
bones_mode = bones
Only edit minetest.conf while your server is stopped. When Luanti shuts down, it writes its current settings back to the file. Any changes you make while the server is running will be lost.
These are the settings that are most commonly changed:
| Setting | Meaning |
|---|---|
time_speed | Length of the day-night cycle. 72 (default) = 20 minutes, 360 = 4 minutes, 0 = time stands still |
item_entity_ttl | Number of seconds before dropped items disappear. Default: 900, -1 = never |
static_spawnpoint | Fixed spawn point for all players as x, y, z, for example 0, 10, 0. Blank = normal search for a spawn point |
enable_rollback_recording | true records who built or mined what, allowing admins to undo destruction with /rollback. Uses more storage space. Default: false |
server_url | Your server’s website, shown in the public server list |
chat_message_limit_per_10sec | How many chat messages a player can send in 10 seconds. Default: 8 |
If your server runs Minetest Game, you can also use these game settings. Other games ignore them:
| Setting | Meaning |
|---|---|
enable_fire | Whether fire spreads. auto (default) means only in single-player, so it’s off on your server |
enable_tnt | Whether TNT explodes. auto (default) means only in single-player, so it’s off on your server |
bones_mode | What happens to a player’s inventory when they die: bones (default, items go into a bones block), drop (items fall to the ground), or keep (player keeps everything) |
give_initial_stuff | true gives new players tools, torches, and cobblestone to start with. Default: false |
enable_bed_respawn | true (default): after dying, players respawn in the last bed they slept in |
enable_bed_night_skip | true (default): the night is skipped when more than half of the players are in bed |
If your server slows down with many players, try lower values for active_block_range (default 4) and max_block_send_distance (default 13). Find out more under Performance in Common issues.
Upload mods as folders to mods in the Files tab. A mod only becomes active after you enable it for your world: add a line such as load_mod_areas = true to the world.mt file in your world’s folder under worlds. The mod’s name comes after load_mod_. It’s best to edit world.mt while your server is stopped, too, and restart it afterward.
For information on what to do if a mod doesn’t load or causes your server to crash, see Common issues. For an example using a mod to send recurring chat messages, see Automated server messages.
You’ve now configured your Luanti server just the way you want it. For an overview of all areas of your server, see the Dashboard overview. If something isn’t working as it should, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂
