Games are looked up from:
<gameid> is unique to each game.
The game directory can contain the following files:
game.conf, with the following keys:
name: Required, a human readable title to address the game, e.g.
name = Minetest.
description: Short description to be shown in the content tab
allowed_mapgens = <comma-separated mapgens>e.g.
allowed_mapgens = v5,v6,flatMapgens not in this list are removed from the list of mapgens for the game. If not specified, all mapgens are allowed.
disallowed_mapgens = <comma-separated mapgens>e.g.
disallowed_mapgens = v5,v6,flatThese mapgens are removed from the list of mapgens for the game. When both
allowed_mapgensis applied before
disallowed_mapgen_settings= <comma-separated mapgen settings>e.g.
disallowed_mapgen_settings = mgv5_spflagsThese mapgen settings are hidden for this game in the world creation dialog and game start menu.
disabled_settings = <comma-separated settings>e.g.
disabled_settings = enable_damage, creative_modeThese settings are hidden for this game in the "Start game" tab and will be initialized as
falsewhen the game is started. Prepend a setting name with an exclamation mark to initialize it to
true(this does not work for
enable_server). Only these settings are supported:
author: The author of the game. It only appears when downloaded from ContentDB.
release: Ignore this: Should only ever be set by ContentDB, as it is an internal ID used to track versions.
minetest.conf: Used to set default settings when running this game.
settingtypes.txt: In the same format as the one in builtin. This settingtypes.txt will be parsed by the menu and the settings will be displayed in the "Games" category in the advanced settings tab.
- If the game contains a folder called
texturesthe server will load it as a texturepack, overriding mod textures. Any server texturepack will override mod textures and the game texturepack.
Games can provide custom main menu images. They are put inside a
directory inside the game directory.
The images are named
$identifier is one of
If you want to specify multiple images for one identifier, add additional
images named like
$identifier.$n.png, with an ascending number $n starting
with 1, and a random image will be chosen from the provided ones.