mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Improve /grant and /revoke output, add /auth_reload
This commit is contained in:
@@ -532,6 +532,7 @@ minetest.privs_to_string(privs) -> "priv1,priv2,..."
|
||||
minetest.set_player_password(name, password_hash)
|
||||
minetest.set_player_privs(name, {priv1=true,...})
|
||||
minetest.get_player_privs(name) -> {priv1=true,...}
|
||||
minetest.auth_reload()
|
||||
^ These call the authentication handler
|
||||
minetest.check_player_privs(name, {priv1=true,...}) -> bool, missing_privs
|
||||
^ A quickhand for checking privileges
|
||||
|
Reference in New Issue
Block a user