This is the complete list of members for ServerScripting, including all inherited members.
addObjectReference(ServerActiveObject *cobj) | ScriptApiBase | |
allocateDynamicMediaCallback(lua_State *L, int f_idx) | ScriptApiServer | static |
asyncEngine | ServerScripting | private |
can_bypass_userlimit(const std::string &name, const std::string &ip) | ScriptApiPlayer | |
check_for_falling(v3s16 p) | ScriptApiEnv | |
checkPath(lua_State *L, const char *path, bool write_required, bool *write_allowed=nullptr) | ScriptApiSecurity | static |
checkPathInternal(const std::string &abs_path, bool write_required, bool *write_allowed) override | ServerScripting | inlineprotectedvirtual |
checkPathWithGamedef(lua_State *L, const std::string &abs_path, bool write_required, bool *write_allowed) | ScriptApiSecurity | protectedstatic |
checkSetByBuiltin() | ScriptApiBase | |
checkWhitelisted(lua_State *L, const std::string &setting) | ScriptApiSecurity | static |
clientOpenLibs(lua_State *L) | ScriptApiBase | inline |
createAuth(const std::string &playername, const std::string &password) | ScriptApiServer | |
createEmptyEnv(lua_State *L) | ScriptApiSecurity | private |
deprecation_warned_init_properties | ScriptApiEntity | private |
detached_inventory_AllowMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiDetached | |
detached_inventory_AllowPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiDetached | |
detached_inventory_AllowTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiDetached | |
detached_inventory_OnMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiDetached | |
detached_inventory_OnPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiDetached | |
detached_inventory_OnTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiDetached | |
DISABLE_CLASS_COPY(ScriptApiBase) | ScriptApiBase | |
environment_OnGenerated(v3s16 minp, v3s16 maxp, u32 blockseed) | ScriptApiEnv | |
environment_Step(float dtime) | ScriptApiEnv | |
es_ContentParamType | ScriptApiNode | static |
es_ContentParamType2 | ScriptApiNode | static |
es_DrawType | ScriptApiNode | static |
es_LiquidMoveType | ScriptApiNode | static |
es_LiquidType | ScriptApiNode | static |
es_NodeBoxType | ScriptApiNode | static |
es_TextureAlphaMode | ScriptApiNode | static |
formatChatMessage(const std::string &name, const std::string &message) | ScriptApiServer | |
freeDynamicMediaCallback(u32 token) | ScriptApiServer | |
getAuth(const std::string &playername, std::string *dst_password, std::set< std::string > *dst_privs, s64 *dst_last_login=nullptr) | ScriptApiServer | |
getAuthHandler() | ScriptApiServer | private |
getCurrentModName(lua_State *L) | ScriptApiSecurity | static |
getCurrentModNameInsecure(lua_State *L) | ScriptApiBase | static |
getDetachedInventoryCallback(const std::string &name, const char *callbackname) | ScriptApiDetached | private |
getEmergeThread() | ScriptApiBase | inlineprotected |
getEnv() | ScriptApiBase | inlineprotected |
getGameDef() | ScriptApiBase | inline |
getGlobalsBackup(lua_State *L) | ScriptApiSecurity | static |
getItemCallback(const char *name, const char *callbackname, const v3s16 *p=nullptr) | ScriptApiItem | protected |
getOrigin() | ScriptApiBase | inline |
getServer() | ScriptApiBase | |
getStack() | ScriptApiBase | inlineprotected |
getThread(lua_State *L) | ScriptApiSecurity | private |
getType() | ScriptApiBase | inline |
has_on_mapblocks_changed() | ScriptApiEnv | |
initAsync() | ServerScripting | |
InitializeAsync(lua_State *L, int top) | ServerScripting | privatestatic |
initializeEnvironment(ServerEnvironment *env) | ScriptApiEnv | |
InitializeModApi(lua_State *L, int top) | ServerScripting | private |
initializeSecurity() | ScriptApiSecurity | |
initializeSecurityClient() | ScriptApiSecurity | inline |
isSecure(lua_State *L) | ScriptApiSecurity | static |
item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv) | ScriptApiItem | |
item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv) | ScriptApiItem | |
item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos) | ScriptApiItem | |
item_OnPlace(std::optional< ItemStack > &item, ServerActiveObject *placer, const PointedThing &pointed) | ScriptApiItem | |
item_OnSecondaryUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed) | ScriptApiItem | |
item_OnUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed) | ScriptApiItem | |
loadBuiltin() | ServerScripting | |
loadMod(const std::string &script_path, const std::string &mod_name) | ScriptApiBase | |
loadScript(const std::string &script_path) | ScriptApiBase | |
logDeprecationForExistingProperties(lua_State *L, int index, const std::string &name) | ScriptApiEntity | private |
luaentity_Activate(u16 id, const std::string &staticdata, u32 dtime_s) | ScriptApiEntity | |
luaentity_Add(u16 id, const char *name) | ScriptApiEntity | |
luaentity_Deactivate(u16 id, bool removal) | ScriptApiEntity | |
luaentity_GetProperties(u16 id, ServerActiveObject *self, ObjectProperties *prop, const std::string &entity_name) | ScriptApiEntity | |
luaentity_GetStaticdata(u16 id) | ScriptApiEntity | |
luaentity_on_attach_child(u16 id, ServerActiveObject *child) | ScriptApiEntity | |
luaentity_on_death(u16 id, ServerActiveObject *killer) | ScriptApiEntity | |
luaentity_on_detach(u16 id, ServerActiveObject *parent) | ScriptApiEntity | |
luaentity_on_detach_child(u16 id, ServerActiveObject *child) | ScriptApiEntity | |
luaentity_Punch(u16 id, ServerActiveObject *puncher, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, s32 damage) | ScriptApiEntity | |
luaentity_Remove(u16 id) | ScriptApiEntity | |
luaentity_Rightclick(u16 id, ServerActiveObject *clicker) | ScriptApiEntity | |
luaentity_run_simple_callback(u16 id, ServerActiveObject *sao, const char *field) | ScriptApiEntity | private |
luaentity_Step(u16 id, float dtime, const collisionMoveResult *moveresult) | ScriptApiEntity | |
luaPanic(lua_State *L) | ScriptApiBase | privatestatic |
m_emerge | ScriptApiBase | private |
m_environment | ScriptApiBase | private |
m_gamedef | ScriptApiBase | private |
m_last_run_mod | ScriptApiBase | protected |
m_lock_recursion_count | ScriptApiBase | protected |
m_luastack | ScriptApiBase | private |
m_luastackmutex | ScriptApiBase | protected |
m_owning_thread | ScriptApiBase | protected |
m_secure | ScriptApiSecurity | private |
m_type | ScriptApiBase | private |
modNamesAreTrusted() override | ServerScripting | inlineprotectedvirtual |
node_after_destruct(v3s16 p, MapNode node) | ScriptApiNode | |
node_on_construct(v3s16 p, MapNode node) | ScriptApiNode | |
node_on_destruct(v3s16 p, MapNode node) | ScriptApiNode | |
node_on_dig(v3s16 p, MapNode node, ServerActiveObject *digger) | ScriptApiNode | |
node_on_flood(v3s16 p, MapNode node, MapNode newnode) | ScriptApiNode | |
node_on_punch(v3s16 p, MapNode node, ServerActiveObject *puncher, const PointedThing &pointed) | ScriptApiNode | |
node_on_receive_fields(v3s16 p, const std::string &formname, const StringMap &fields, ServerActiveObject *sender) | ScriptApiNode | |
node_on_timer(v3s16 p, MapNode node, f32 dtime) | ScriptApiNode | |
nodemeta_inventory_AllowMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiNodemeta | |
nodemeta_inventory_AllowPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiNodemeta | |
nodemeta_inventory_AllowTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiNodemeta | |
nodemeta_inventory_OnMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiNodemeta | |
nodemeta_inventory_OnPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiNodemeta | |
nodemeta_inventory_OnTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiNodemeta | |
objectrefGetOrCreate(lua_State *L, ServerActiveObject *cobj) | ScriptApiBase | protected |
on_authplayer(const std::string &name, const std::string &ip, bool is_success) | ScriptApiPlayer | |
on_chat_message(const std::string &name, const std::string &message) | ScriptApiServer | |
on_cheat(ServerActiveObject *player, const std::string &cheat_type) | ScriptApiPlayer | |
on_dieplayer(ServerActiveObject *player, const PlayerHPChangeReason &reason) | ScriptApiPlayer | |
on_dynamic_media_added(u32 token, const std::string &playername) | ScriptApiServer | |
on_emerge_area_completion(v3s16 blockpos, int action, ScriptCallbackState *state) | ScriptApiEnv | |
on_joinplayer(ServerActiveObject *player, s64 last_login) | ScriptApiPlayer | |
on_leaveplayer(ServerActiveObject *player, bool timeout) | ScriptApiPlayer | |
on_liquid_transformed(const std::vector< std::pair< v3s16, MapNode > > &list) | ScriptApiEnv | |
on_mapblocks_changed(const std::unordered_set< v3s16 > &set) | ScriptApiEnv | |
on_modchannel_message(const std::string &channel, const std::string &sender, const std::string &message) | ScriptApiModChannels | |
on_modchannel_signal(const std::string &channel, ModChannelSignal signal) | ScriptApiModChannels | |
on_mods_loaded() | ScriptApiServer | |
on_newplayer(ServerActiveObject *player) | ScriptApiPlayer | |
on_player_hpchange(ServerActiveObject *player, s32 hp_change, const PlayerHPChangeReason &reason) | ScriptApiPlayer | |
on_playerReceiveFields(ServerActiveObject *player, const std::string &formname, const StringMap &fields) | ScriptApiPlayer | |
on_prejoinplayer(const std::string &name, const std::string &ip, std::string *reason) | ScriptApiPlayer | |
on_punchplayer(ServerActiveObject *player, ServerActiveObject *hitter, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, s32 damage) | ScriptApiPlayer | |
on_respawnplayer(ServerActiveObject *player) | ScriptApiPlayer | |
on_rightclickplayer(ServerActiveObject *player, ServerActiveObject *clicker) | ScriptApiPlayer | |
on_shutdown() | ScriptApiServer | |
player_event(ServerActiveObject *player, const std::string &type) | ScriptApiEnv | |
player_inventory_AllowMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiPlayer | |
player_inventory_AllowPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiPlayer | |
player_inventory_AllowTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiPlayer | |
player_inventory_OnMove(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiPlayer | |
player_inventory_OnPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiPlayer | |
player_inventory_OnTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player) | ScriptApiPlayer | |
pushMoveArguments(const MoveAction &ma, int count, ServerActiveObject *player) | ScriptApiPlayer | private |
pushPlayerHPChangeReason(lua_State *L, const PlayerHPChangeReason &reason) | ScriptApiBase | protected |
pushPointedThing(const PointedThing &pointed, bool hitpoint=false) | ScriptApiItem | protected |
pushPutTakeArguments(const char *method, const InventoryLocation &loc, const std::string &listname, int index, const ItemStack &stack, ServerActiveObject *player) | ScriptApiPlayer | private |
queueAsync(std::string &&serialized_func, PackedValue *param, const std::string &mod_origin) | ServerScripting | |
read_nodenames(lua_State *L, int idx, std::vector< std::string > &to) | ScriptApiEnv | privatestatic |
readABMs() | ScriptApiEnv | private |
readLBMs() | ScriptApiEnv | private |
readParam(lua_State *L, int index) | LuaHelper | protectedstatic |
readParam(lua_State *L, int index, const T &default_value) | LuaHelper | inlineprotectedstatic |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readParam(lua_State *L, int index) | LuaHelper | protected |
readPrivileges(int index, std::set< std::string > &result) | ScriptApiServer | private |
realityCheck() | ScriptApiBase | protected |
removeObjectReference(ServerActiveObject *cobj) | ScriptApiBase | |
runCallbacksRaw(int nargs, RunCallbacksMode mode, const char *fxn) | ScriptApiBase | |
safeLoadFile(lua_State *L, const char *path, const char *display_name=nullptr) | ScriptApiSecurity | static |
safeLoadString(lua_State *L, std::string_view code, const char *chunk_name) | ScriptApiSecurity | static |
saveGlobals() | ServerScripting | |
ScriptApiBase(ScriptingType type) | ScriptApiBase | |
ScriptApiBase() | ScriptApiBase | inline |
ScriptApiNode()=default | ScriptApiNode | |
ScriptApiNodemeta()=default | ScriptApiNodemeta | |
scriptError(int result, const char *fxn) | ScriptApiBase | protected |
ServerScripting(Server *server) | ServerScripting | |
setEmergeThread(EmergeThread *emerge) | ScriptApiBase | inlineprotected |
setEnv(Environment *env) | ScriptApiBase | inlineprotected |
setGameDef(IGameDef *gamedef) | ScriptApiBase | inlineprotected |
setLuaEnv(lua_State *L, int thread) | ScriptApiSecurity | private |
setOriginDirect(const char *origin) | ScriptApiBase | |
setOriginFromTableRaw(int index, const char *fxn) | ScriptApiBase | |
setPassword(const std::string &playername, const std::string &password) | ScriptApiServer | |
sl_g_dofile(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_g_load(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_g_loadfile(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_g_loadstring(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_g_require(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_io_input(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_io_lines(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_io_open(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_io_output(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_os_remove(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_os_rename(lua_State *L) | ScriptApiSecurity | privatestatic |
sl_os_setlocale(lua_State *L) | ScriptApiSecurity | privatestatic |
stackDump(std::ostream &o) | ScriptApiBase | protected |
stepAsync() | ServerScripting | |
triggerABM(int id, v3s16 p, MapNode n, u32 active_object_count, u32 active_object_count_wider) | ScriptApiEnv | |
triggerLBM(int id, MapBlock *block, const std::unordered_set< v3s16 > &positions, float dtime_s) | ScriptApiEnv | |
~ScriptApiBase() | ScriptApiBase | virtual |
~ScriptApiNode()=default | ScriptApiNode | virtual |
~ScriptApiNodemeta()=default | ScriptApiNodemeta | virtual |
~ScriptApiPlayer()=default | ScriptApiPlayer | virtual |