mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add get_server_max_lag() (#11671)
This commit is contained in:
parent
d7e7ade0f6
commit
4fca601e0c
3 changed files with 17 additions and 0 deletions
|
@ -5647,6 +5647,8 @@ Server
|
|||
a player joined.
|
||||
* This function may be overwritten by mods to customize the status message.
|
||||
* `minetest.get_server_uptime()`: returns the server uptime in seconds
|
||||
* `minetest.get_server_max_lag()`: returns the current maximum lag
|
||||
of the server in seconds or nil if server is not fully loaded yet
|
||||
* `minetest.remove_player(name)`: remove player from database (if they are not
|
||||
connected).
|
||||
* As auth data is not removed, minetest.player_exists will continue to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue