mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add minetest.player_exists() (#5064)
This commit is contained in:
parent
a378e32751
commit
c5967f75f0
2 changed files with 9 additions and 5 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue