aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2017-01-18 10:19:57 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-01-18 11:19:57 +0100
commitc5967f75f0a9827d1b65b384edd6ba07c73ffd2f (patch)
treec52b2a94a74c9513a103e86ba670a6d38a7be278 /doc/lua_api.txt
parenta378e32751127e2ae3708a33f035d1dcf5d400a1 (diff)
downloadminetest-c5967f75f0a9827d1b65b384edd6ba07c73ffd2f.tar.gz
minetest-c5967f75f0a9827d1b65b384edd6ba07c73ffd2f.tar.bz2
minetest-c5967f75f0a9827d1b65b384edd6ba07c73ffd2f.zip
Add minetest.player_exists() (#5064)
Diffstat (limited to 'doc/lua_api.txt')
-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 da6a898d9..c96131455 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2583,6 +2583,7 @@ These functions return the leftover itemstack.
### Misc.
* `minetest.get_connected_players()`: returns list of `ObjectRefs`
+* `minetest.player_exists(name)`: boolean, whether player exists (regardless of online status)
* `minetest.hud_replace_builtin(name, hud_definition)`
* Replaces definition of a builtin hud element
* `name`: `"breath"` or `"health"`