From c6dd75ccfb75fcdafc38b63ef1906369c4873948 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 03:43:20 +0200 Subject: Add usermods/ to mod search paths and print out the paths at server startup --- data/mods/default/init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'data/mods') diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index ae917a036..ebb116e29 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -2,6 +2,23 @@ -- dump2(obj, name="_", dumped={}) -- dump(obj, dumped={}) -- +-- Mod load path +-- ------------- +-- Generic: +-- $path_data/mods/ +-- $path_userdata/usermods/ +-- $mapdir/worldmods/ +-- +-- On a run-in-place version (eg. the distributed windows version): +-- minetest-0.4.x/mods/ +-- minetest-0.4.x/usermods/ +-- minetest-0.4.x/world/worldmods/ +-- +-- On an installed version on linux: +-- /usr/share/minetest/mods/ +-- ~/.minetest/usermods +-- ~/.minetest/world/worldmods +-- -- Naming convention for registered textual names -- ---------------------------------------------- -- "modname_" -- cgit v1.2.3