From 0c071c593787c1faa86349497101db42ffc92490 Mon Sep 17 00:00:00 2001
From: madmaxoft The following classes are available in the MCServer Lua scripting language:
+ Class index
+
+ ]]);
+ for i, cls in ipairs(a_API) do
+ f:write("
+ A plugin can register to be called whenever an "interesting event" occurs. It does so by calling + cPluginManager's AddHook() function and implementing a callback + function to handle the event.
++ A plugin can decide whether it will let the event pass through to the rest of the plugins, or hide it + from them. This is determined by the return value from the hook callback function. If the function + returns false or no value, the event is propagated further. If the function returns true, the processing + is stopped, no other plugin receives the notification (and possibly MCServer disables the default + behavior for the event). See each hook's details to see the exact behavior.
+Hook name | +Called when | +
---|---|
" .. hook.Name .. " | \n(No documentation yet) | \n
" .. hook.Name .. " | \n" .. LinkifyString(hook.CalledWhen, hook.Name) .. " | \n
The following classes are available in the MCServer Lua scripting language: -
- A plugin can register to be called whenever an "interesting event" occurs. It does so by calling - cPluginManager's AddHook() function and implementing a callback - function to handle the event.
-- A plugin can decide whether it will let the event pass through to the rest of the plugins, or hide it - from them. This is determined by the return value from the hook callback function. If the function - returns false or no value, the event is propagated further. If the function returns true, the processing - is stopped, no other plugin receives the notification (and possibly MCServer disables the default - behavior for the event). See each hook's details to see the exact behavior.
-Hook name | -Called when | -
---|---|
" .. hook.Name .. " | \n(No documentation yet) | \n
" .. hook.Name .. " | \n" .. LinkifyString(hook.CalledWhen, hook.Name) .. " | \n