mirror of
https://github.com/minetest/minetest.git
synced 2024-11-15 15:00:30 +01:00
c32847838d
The callback can now be invoked with either the player object or name as the first parameter, and with either a table or a list of strings, like this: minetest.check_player_privs(player_name, { shout = true, fly = true }) minetest.check_player_privs(player_name, "shout", "fly") minetest.check_player_privs(player, { shout = true, fly = true }) minetest.check_player_privs(player, "shout", "fly") |
||
---|---|---|
.. | ||
auth.lua | ||
chatcommands.lua | ||
deprecated.lua | ||
detached_inventory.lua | ||
falling.lua | ||
features.lua | ||
forceloading.lua | ||
init.lua | ||
item_entity.lua | ||
item.lua | ||
misc.lua | ||
mod_profiling.lua | ||
privileges.lua | ||
register.lua | ||
statbars.lua | ||
static_spawn.lua | ||
voxelarea.lua |