From d8a0efa6af9a10a0d5f97fbc9dc3c107a7c118b5 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 16 Jan 2013 20:23:56 +0000 Subject: add support for saving settings by lua command (server doesn't autosave on exit) --- doc/lua_api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') 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: -- cgit v1.2.3