minetest.get_player_privs

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

Description

Returns table {priv1=true,}

Example

if minetest.get_player_privs("foobar").interact then
   --codes
end

Output all privs of foobar:

print(dump(minetest.get_player_privs("foobar")))
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox