mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add get_server_max_lag() (#11671)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user