diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index dea472f3f..8a6ea5dea 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -932,6 +932,12 @@ Server: minetest.request_shutdown() -> request for server shutdown minetest.get_server_status() -> server status string +Bans: +minetest.get_ban_list() -> ban list (same as minetest.get_ban_description("")) +minetest.get_ban_description(ip_or_name) -> ban description (string) +minetest.ban_player(name) -> ban a player +minetest.unban_player_or_ip(name) -> unban player or IP address + Random: minetest.get_connected_players() -> list of ObjectRefs minetest.hash_node_position({x=,y=,z=}) -> 48-bit integer |