1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 17:05:05 -05:00
minetest/builtin/game
Robert Zenz c32847838d Add more ways to pass data to check_player_privs
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")
2015-10-22 19:55:48 +02:00
..
auth.lua SAPI: Track last executed mod and include in error messages 2015-08-12 23:56:12 -04:00
chatcommands.lua Add /emergeblocks command and core.emerge_area() Lua API 2015-09-23 15:56:24 -04:00
deprecated.lua Refactor logging 2015-10-14 01:03:54 -04:00
detached_inventory.lua SAPI: Track last executed mod and include in error messages 2015-08-12 23:56:12 -04:00
falling.lua Minor tweaks __builtin:falling_node 2015-09-01 19:14:08 +02:00
features.lua Small fixes of minetest.has_feature 2015-09-03 06:10:17 +02:00
forceloading.lua Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726 2014-07-13 11:05:07 +02:00
init.lua Remove builtin_biome.lua from builtin and add simple biome minimal 2015-01-11 22:32:48 -05:00
item_entity.lua Some map border related fixes 2015-09-29 23:06:15 +02:00
item.lua Added minetest.wallmounted_to_dir 2015-10-04 03:19:18 +02:00
misc.lua Add more ways to pass data to check_player_privs 2015-10-22 19:55:48 +02:00
mod_profiling.lua Fix retval of entity.get_staticdata beeing lost while profiling is enabled 2014-08-24 01:56:27 +02:00
privileges.lua Use "core" namespace internally 2014-05-08 13:02:04 -04:00
register.lua Refactor logging 2015-10-14 01:03:54 -04:00
statbars.lua Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2015-02-08 12:47:45 -05:00
static_spawn.lua Use "core" namespace internally 2014-05-08 13:02:04 -04:00
voxelarea.lua Improved VoxelArea variable locality, thus performance 2014-11-14 00:10:09 +10:00