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

Luanti (Minetest): Server Configuration

Learn how to set the server name, world, game, admin, player permissions, and other settings in minetest.conf for your Luanti (Minetest) game server.

26 November 20267 min read19 Views0 helpful

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

Introduction

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.

How the configuration works

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.

Important

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 parameters at a glance

Start parameterMeaning
Server nameYour server’s name in the server list and when players join. Default: A ZapX Luanti Server
Server descriptionA short description of your server in the server list
Message of the day (MOTD)The message every player sees in chat after joining
World nameThe folder under worlds for the world your server loads. Default: world
Game IdThe game used to create a new world. Default: minetest_game
Max. playersThe maximum number of players who can be connected at the same time: 500
Admin NameThe player name that gets all permissions on your server. Maximum 20 characters, with no spaces
Server Announcetrue lists your server on Luanti’s public server list; false (default) keeps it private
Creative Modetrue enables creative mode: blocks can be mined almost instantly and all items are available in unlimited quantities. Default: false
Enable Damagetrue (default): players take damage and can die. false: no one gets hurt
Enable Pvptrue (default): players can hurt each other. This only applies when Enable Damage is on
Info

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.

Choose a world and game

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.

Use a different game

  1. Upload the game as a folder to games in the Files tab, for example games/mineclonia.
  2. Enter the folder name as the Game Id, for example mineclonia.
  3. Enter a new name for World name to create a new world with this game.
  4. 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.

Tip

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.

Admin, password, and player permissions

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:

SettingMeaning
default_privsPermissions 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_privsPermissions players with the basic_privs permission can grant to others. Default: interact, shout
default_passwordThe password new players must enter to register. Existing accounts keep their own passwords. Blank = open server
disallow_empty_passwordtrue prevents players from joining without a password or setting an empty password. Default: false
Warning

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.

More settings in minetest.conf

In minetest.conf, each setting is on its own line in the format name = value. Lines that start with # are comments. For example:

Code
time_speed = 72
give_initial_stuff = true
enable_tnt = false
bones_mode = bones
Important

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:

SettingMeaning
time_speedLength of the day-night cycle. 72 (default) = 20 minutes, 360 = 4 minutes, 0 = time stands still
item_entity_ttlNumber of seconds before dropped items disappear. Default: 900, -1 = never
static_spawnpointFixed spawn point for all players as x, y, z, for example 0, 10, 0. Blank = normal search for a spawn point
enable_rollback_recordingtrue records who built or mined what, allowing admins to undo destruction with /rollback. Uses more storage space. Default: false
server_urlYour server’s website, shown in the public server list
chat_message_limit_per_10secHow 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:

SettingMeaning
enable_fireWhether fire spreads. auto (default) means only in single-player, so it’s off on your server
enable_tntWhether TNT explodes. auto (default) means only in single-player, so it’s off on your server
bones_modeWhat 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_stufftrue gives new players tools, torches, and cobblestone to start with. Default: false
enable_bed_respawntrue (default): after dying, players respawn in the last bed they slept in
enable_bed_night_skiptrue (default): the night is skipped when more than half of the players are in bed
Tip

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.

Enable mods

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.

Conclusion

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! 🙂

Free tools

Luanti Tools

View all

FAQ

Frequently asked questions

There are two common reasons: each time the server starts, it overwrites the server name, description, MOTD, max. players, admin, server list, creative mode, damage, and PvP settings with the start parameters. Change these in the Configuration tab under Start Parameters. Also, when Luanti shuts down, it writes its current settings back to minetest.conf. Only edit the file while your server is stopped.
With the server stopped, add the line default_password = yourpassword to minetest.conf, then restart the server. New players must enter this password when registering; existing accounts keep their own passwords.
The Game Id only applies to a new world. An existing world always keeps its game. Enter a new world name as well, and your server will create a new world with the selected game the next time it starts. Your old world will remain in the worlds folder.

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.