1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

add support for saving settings by lua command (server doesn't autosave on exit)

This commit is contained in:
sapier 2013-01-16 20:23:56 +00:00 committed by Perttu Ahola
parent b52dfbe510
commit d8a0efa6af
2 changed files with 9 additions and 0 deletions

View file

@ -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: