diff options
author | rubenwardy <rubenwardy@gmail.com> | 2017-01-18 10:19:57 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-01-18 11:19:57 +0100 |
commit | c5967f75f0a9827d1b65b384edd6ba07c73ffd2f (patch) | |
tree | c52b2a94a74c9513a103e86ba670a6d38a7be278 /doc/lua_api.txt | |
parent | a378e32751127e2ae3708a33f035d1dcf5d400a1 (diff) | |
download | minetest-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.txt | 1 |
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"` |