mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
[CSM] Add function to get player names in range (#5435)
* [CSM] Add function to get currently connected player names
This commit is contained in:
parent
c4b98deb61
commit
9efc5da0fb
4 changed files with 33 additions and 2 deletions
|
@ -737,6 +737,10 @@ Call these functions only at load time!
|
|||
* `minetest.get_wielded_item()`
|
||||
* Returns the itemstack the local player is holding
|
||||
|
||||
### Client Environment
|
||||
* `minetest.get_player_names()`
|
||||
* Returns list of player names on server
|
||||
|
||||
### Misc.
|
||||
* `minetest.parse_json(string[, nullvalue])`: returns something
|
||||
* Convert a string containing JSON data into the Lua equivalent
|
||||
|
@ -870,4 +874,4 @@ Named colors are also supported and are equivalent to
|
|||
[CSS Color Module Level 4](http://dev.w3.org/csswg/css-color/#named-colors).
|
||||
To specify the value of the alpha channel, append `#AA` to the end of the color name
|
||||
(e.g. `colorname#08`). For named colors the hexadecimal string representing the alpha
|
||||
value must (always) be two hexadecima
|
||||
value must (always) be two hexadecima
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue