aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-03 03:43:20 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-03 03:43:20 +0200
commitc6dd75ccfb75fcdafc38b63ef1906369c4873948 (patch)
treeb945c5bc20e1dcd387671cd826073d4e1b52b65f /data/mods/default
parent6b2023dc3eb1b483c92ba967f3335bb6880d2db1 (diff)
downloadminetest-c6dd75ccfb75fcdafc38b63ef1906369c4873948.tar.gz
minetest-c6dd75ccfb75fcdafc38b63ef1906369c4873948.tar.bz2
minetest-c6dd75ccfb75fcdafc38b63ef1906369c4873948.zip
Add usermods/ to mod search paths and print out the paths at server startup
Diffstat (limited to 'data/mods/default')
-rw-r--r--data/mods/default/init.lua17
1 files changed, 17 insertions, 0 deletions
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_<whatever>"