1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-17 10:25:21 +02:00

Add minetest.get_player_ip()

This commit is contained in:
ShadowNinja
2013-04-04 04:28:21 -04:00
committed by Perttu Ahola
parent 3d4d0cb574
commit 4a9b8aae5e
2 changed files with 27 additions and 0 deletions

View File

@@ -1002,6 +1002,7 @@ minetest.auth_reload()
^ These call the authentication handler
minetest.check_player_privs(name, {priv1=true,...}) -> bool, missing_privs
^ A quickhand for checking privileges
minetest.get_player_ip(name) -> IP address string
Chat:
minetest.chat_send_all(text)