summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r--MCServer/Plugins/HookNotify/HookNotify.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/MCServer/Plugins/HookNotify/HookNotify.lua b/MCServer/Plugins/HookNotify/HookNotify.lua
index 09759451d..6badc63e7 100644
--- a/MCServer/Plugins/HookNotify/HookNotify.lua
+++ b/MCServer/Plugins/HookNotify/HookNotify.lua
@@ -45,6 +45,10 @@ function Initialize(Plugin)
PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_USING_ITEM);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_POST_CRAFTING);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_PRE_CRAFTING);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_SPAWNED_ENTITY);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_SPAWNED_MONSTER);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_SPAWNING_ENTITY);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_SPAWNING_MONSTER);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_TAKE_DAMAGE);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_UPDATED_SIGN);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_UPDATING_SIGN);
@@ -358,6 +362,38 @@ end
+function OnSpawnedEntity(...)
+ LogHook("OnSpawnedEntity", unpack(arg));
+end
+
+
+
+
+
+function OnSpawnedMonster(...)
+ LogHook("OnSpawnedMonster", unpack(arg));
+end
+
+
+
+
+
+function OnSpawningEntity(...)
+ LogHook("OnSpawningEntity", unpack(arg));
+end
+
+
+
+
+
+function OnSpawningMonster(...)
+ LogHook("OnSpawningMonster", unpack(arg));
+end
+
+
+
+
+
function OnUpdatedSign(...)
LogHook("OnUpdatedSign", unpack(arg));
end