diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-10-05 12:35:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 15:35:55 +0300 |
commit | 4fca601e0cf74ce642e4e49ca7d4fe3e59915846 (patch) | |
tree | 985cf00b173113638cf59b29464f5e6bf57de9d6 /doc/lua_api.txt | |
parent | d7e7ade0f61a0f5e05d889ffbc7d9a878148a461 (diff) | |
download | minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.tar.gz minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.tar.bz2 minetest-4fca601e0cf74ce642e4e49ca7d4fe3e59915846.zip |
Add get_server_max_lag() (#11671)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 9efe1afe7..e6cabb68e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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 |