aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-01-16 20:23:56 +0000
committerPerttu Ahola <celeron55@gmail.com>2013-01-21 22:44:41 +0200
commitd8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5 (patch)
tree54d6811202f687a55a639419c2d259c5acc72114 /doc
parentb52dfbe510b56557f73038db722733a49f2a7138 (diff)
downloadminetest-d8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5.tar.gz
minetest-d8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5.tar.bz2
minetest-d8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5.zip
add support for saving settings by lua command (server doesn't autosave on exit)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 94fc78b2e..f935849ca 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -860,6 +860,7 @@ minetest.setting_set(name, value)
minetest.setting_get(name) -> string or nil
minetest.setting_getbool(name) -> boolean value or nil
minetest.setting_get_pos(name) -> position or nil
+minetest.setting_save() -> nil, save all settings to config file
minetest.add_to_creative_inventory(itemstring)
Authentication: