test
This commit is contained in:
parent
c5abec3712
commit
2708f0769e
|
@ -77,22 +77,10 @@ Mod load path
|
|||
-------------
|
||||
Generic:
|
||||
|
||||
* `$path_share/games/gameid/mods/`
|
||||
* `$path_share/mods/`
|
||||
* `$path_share/games/gameid/files/`
|
||||
* `$path_share/files/`
|
||||
* `$worldpath/worldmods/`
|
||||
|
||||
In a run-in-place version (e.g. the distributed windows version):
|
||||
|
||||
* `minetest-0.4.x/games/gameid/mods/`
|
||||
* `minetest-0.4.x/mods/` (User-installed mods)
|
||||
* `minetest-0.4.x/worlds/worldname/worldmods/`
|
||||
|
||||
On an installed version on Linux:
|
||||
|
||||
* `/usr/share/minetest/games/gameid/mods/`
|
||||
* `$HOME/.minetest/mods/` (User-installed mods)
|
||||
* `$HOME/.minetest/worlds/worldname/worldmods`
|
||||
|
||||
Mod load path for world-specific games
|
||||
--------------------------------------
|
||||
It is possible to include a game in a world; in this case, no mods or
|
||||
|
|
|
@ -345,6 +345,9 @@ ServerModConfiguration::ServerModConfiguration(const std::string &worldpath):
|
|||
addModsInPath(gamespec.gamemods_path);
|
||||
addModsInPath(worldpath + DIR_DELIM + "worldmods");
|
||||
|
||||
//Data for not duplicate mods for all games.
|
||||
addModsInPath(porting::path_share + DIR_DELIM + "files");
|
||||
|
||||
// Load normal mods
|
||||
std::string worldmt = worldpath + DIR_DELIM + "world.mt";
|
||||
addModsFormConfig(worldmt, gamespec.addon_mods_paths);
|
||||
|
|
Loading…
Reference in New Issue