@@ -47,47 +47,41 @@ Paths
47
47
Games
48
48
-----
49
49
Games are looked up from:
50
-
51
- * `$path_share/games/gameid/`
52
- * `$path_user/games/gameid/`
53
-
54
- where `gameid` is unique to each game.
55
-
56
- The game directory contains the file `game.conf`, which contains:
57
-
58
- name = <Human-readable full name of the game>
59
-
60
- e.g.
61
-
62
- name = Minetest
63
-
64
- Optionally, game.conf can also contain:
65
-
66
- disallowed_mapgens = <comma-separated mapgens>
67
-
68
- e.g.
69
-
70
- disallowed_mapgens = v5,v6,flat
71
-
72
- These mapgens are removed from the list of mapgens for the game.
73
-
74
- The game directory can contain the file minetest.conf, which will be used
75
- to set default settings when running the particular game.
76
- It can also contain a settingtypes.txt in the same format as the one in builtin.
77
- This settingtypes.txt will be parsed by the menu and the settings will be displayed
78
- in the "Games" category in the settings tab.
50
+ * `$path_share/games/gameid/`
51
+ * `$path_user/games/gameid/`
52
+ Where `gameid` is unique to each game.
53
+
54
+ The game directory can contain the following files:
55
+ * `game.conf`
56
+ Which contains:
57
+ * name = <Human-readable full name of the game>
58
+ e.g.
59
+ name = Minetest
60
+ * Optionally, game.conf can also contain:
61
+ disallowed_mapgens = <comma-separated mapgens>
62
+ e.g.
63
+ disallowed_mapgens = v5,v6,flat
64
+ These mapgens are removed from the list of mapgens for the game.
65
+ * minetest.conf
66
+ Used to set default settings when running this game.
67
+ * settingtypes.txt
68
+ In the same format as the one in builtin.
69
+ This settingtypes.txt will be parsed by the menu and the settings will be
70
+ displayed in the "Games" category in the advanced settings tab.
71
+ * If the subgame contains a folder called `textures` the server will load it
72
+ as a texturepack, overriding mod textures.
73
+ Any server texturepack will override mod textures and the game texturepack.
79
74
80
75
### Menu images
81
76
82
- Games can provide custom main menu images. They are put inside a `menu` directory
83
- inside the game directory.
84
-
85
- The images are named `$identifier.png`, where `$identifier` is
86
- one of `overlay,background,footer,header`.
87
- If you want to specify multiple images for one identifier, add additional images named
88
- like `$identifier.$n.png`, with an ascending number $n starting with 1, and a random
89
- image will be chosen from the provided ones.
77
+ Games can provide custom main menu images. They are put inside a `menu`
78
+ directory inside the game directory.
90
79
80
+ The images are named `$identifier.png`, where `$identifier` is one of
81
+ `overlay`, `background`, `footer`, `header`.
82
+ If you want to specify multiple images for one identifier, add additional
83
+ images named like `$identifier.$n.png`, with an ascending number $n starting
84
+ with 1, and a random image will be chosen from the provided ones.
91
85
92
86
Mod load path
93
87
-------------