diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-01-11 17:54:00 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-01-11 17:54:00 +0100 |
commit | 84b94eb19804484b689cec441e175628fd10335f (patch) | |
tree | 2f94c4bc1d9244160af36df8f6560f3c51c5056e /doc | |
parent | e21b29f4227581162490cc70aaf4009118544f97 (diff) | |
download | minetest-84b94eb19804484b689cec441e175628fd10335f.tar.gz minetest-84b94eb19804484b689cec441e175628fd10335f.tar.bz2 minetest-84b94eb19804484b689cec441e175628fd10335f.zip |
Add forceloading
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index f4bc95786..4e73136de 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1590,6 +1590,15 @@ minetest.rotate_node(itemstack, placer, pointed_thing) the creative mode setting, and checks for "sneak" to set the invert_wall parameter. +minetest.forceload_block(pos) +^ forceloads the position pos. +^ returns true if area could be forceloaded + +minetest.forceload_free_block(pos) +^ stops forceloading the position pos. + +Please note that forceloaded areas are saved when the server restarts. + Global objects: minetest.env - EnvRef of the server environment and world. ^ Any function in the minetest namespace can be called using the syntax |