Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ServerScripting Member List

This is the complete list of members for ServerScripting, including all inherited members.

addObjectReference(ServerActiveObject *cobj)ScriptApiBase
allocateDynamicMediaCallback(lua_State *L, int f_idx)ScriptApiServerstatic
asyncEngineServerScriptingprivate
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=NULL)ScriptApiSecuritystatic
checkSetByBuiltin()ScriptApiBase
checkWhitelisted(lua_State *L, const std::string &setting)ScriptApiSecuritystatic
clientOpenLibs(lua_State *L)ScriptApiBaseinline
createAuth(const std::string &playername, const std::string &password)ScriptApiServer
createEmptyEnv(lua_State *L)ScriptApiSecurityprivate
deprecation_warned_init_propertiesScriptApiEntityprivate
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_ContentParamTypeScriptApiNodestatic
es_ContentParamType2ScriptApiNodestatic
es_DrawTypeScriptApiNodestatic
es_LiquidMoveTypeScriptApiNodestatic
es_LiquidTypeScriptApiNodestatic
es_NodeBoxTypeScriptApiNodestatic
es_TextureAlphaModeScriptApiNodestatic
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()ScriptApiServerprivate
getCurrentModName(lua_State *L)ScriptApiBasestatic
getCurrentModNameInsecure(lua_State *L)ScriptApiBasestatic
getDetachedInventoryCallback(const std::string &name, const char *callbackname)ScriptApiDetachedprivate
getEmergeThread()ScriptApiBaseinlineprotected
getEnv()ScriptApiBaseinlineprotected
getGameDef()ScriptApiBaseinline
getItemCallback(const char *name, const char *callbackname, const v3s16 *p=nullptr)ScriptApiItemprotected
getOrigin()ScriptApiBaseinline
getServer()ScriptApiBase
getStack()ScriptApiBaseinlineprotected
getThread(lua_State *L)ScriptApiSecurityprivate
getType()ScriptApiBaseinline
has_on_mapblocks_changed()ScriptApiEnv
initAsync()ServerScripting
InitializeAsync(lua_State *L, int top)ServerScriptingprivatestatic
initializeEnvironment(ServerEnvironment *env)ScriptApiEnv
InitializeModApi(lua_State *L, int top)ServerScriptingprivate
initializeSecurity()ScriptApiSecurity
initializeSecurityClient()ScriptApiSecurity
isSecure(lua_State *L)ScriptApiSecuritystatic
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)ScriptApiEntityprivate
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)ScriptApiEntityprivate
luaentity_Step(u16 id, float dtime, const collisionMoveResult *moveresult)ScriptApiEntity
luaPanic(lua_State *L)ScriptApiBaseprivatestatic
m_emergeScriptApiBaseprivate
m_environmentScriptApiBaseprivate
m_gamedefScriptApiBaseprivate
m_last_run_modScriptApiBaseprotected
m_lock_recursion_countScriptApiBaseprotected
m_luastackScriptApiBaseprivate
m_luastackmutexScriptApiBaseprotected
m_owning_threadScriptApiBaseprotected
m_secureScriptApiBaseprotected
m_typeScriptApiBaseprivate
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)ScriptApiBaseprotected
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)ScriptApiPlayerprivate
pushPlayerHPChangeReason(lua_State *L, const PlayerHPChangeReason &reason)ScriptApiBaseprotected
pushPointedThing(const PointedThing &pointed, bool hitpoint=false)ScriptApiItemprotected
pushPutTakeArguments(const char *method, const InventoryLocation &loc, const std::string &listname, int index, const ItemStack &stack, ServerActiveObject *player)ScriptApiPlayerprivate
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)ScriptApiEnvprivatestatic
readABMs()ScriptApiEnvprivate
readLBMs()ScriptApiEnvprivate
readParam(lua_State *L, int index)LuaHelperprotectedstatic
readParam(lua_State *L, int index, const T &default_value)LuaHelperinlineprotectedstatic
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readPrivileges(int index, std::set< std::string > &result)ScriptApiServerprivate
realityCheck()ScriptApiBaseprotected
removeObjectReference(ServerActiveObject *cobj)ScriptApiBase
runCallbacksRaw(int nargs, RunCallbacksMode mode, const char *fxn)ScriptApiBase
safeLoadFile(lua_State *L, const char *path, const char *display_name=NULL)ScriptApiSecuritystatic
safeLoadString(lua_State *L, const std::string &code, const char *chunk_name)ScriptApiSecuritystatic
saveGlobals()ServerScripting
ScriptApiBase(ScriptingType type)ScriptApiBase
ScriptApiBase()ScriptApiBaseinline
ScriptApiNode()=defaultScriptApiNode
ScriptApiNodemeta()=defaultScriptApiNodemeta
scriptError(int result, const char *fxn)ScriptApiBaseprotected
ServerScripting(Server *server)ServerScripting
setEmergeThread(EmergeThread *emerge)ScriptApiBaseinlineprotected
setEnv(Environment *env)ScriptApiBaseinlineprotected
setGameDef(IGameDef *gamedef)ScriptApiBaseinlineprotected
setLuaEnv(lua_State *L, int thread)ScriptApiSecurityprivate
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)ScriptApiSecurityprivatestatic
sl_g_load(lua_State *L)ScriptApiSecurityprivatestatic
sl_g_loadfile(lua_State *L)ScriptApiSecurityprivatestatic
sl_g_loadstring(lua_State *L)ScriptApiSecurityprivatestatic
sl_g_require(lua_State *L)ScriptApiSecurityprivatestatic
sl_io_input(lua_State *L)ScriptApiSecurityprivatestatic
sl_io_lines(lua_State *L)ScriptApiSecurityprivatestatic
sl_io_open(lua_State *L)ScriptApiSecurityprivatestatic
sl_io_output(lua_State *L)ScriptApiSecurityprivatestatic
sl_os_remove(lua_State *L)ScriptApiSecurityprivatestatic
sl_os_rename(lua_State *L)ScriptApiSecurityprivatestatic
sl_os_setlocale(lua_State *L)ScriptApiSecurityprivatestatic
stackDump(std::ostream &o)ScriptApiBaseprotected
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()ScriptApiBasevirtual
~ScriptApiNode()=defaultScriptApiNodevirtual
~ScriptApiNodemeta()=defaultScriptApiNodemetavirtual
~ScriptApiPlayer()=defaultScriptApiPlayervirtual