summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/main.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/main.lua b/MCServer/Plugins/APIDump/main.lua
index 1a6ddda31..853ff6301 100644
--- a/MCServer/Plugins/APIDump/main.lua
+++ b/MCServer/Plugins/APIDump/main.lua
@@ -1,11 +1,15 @@
-
-- Global variables
PLUGIN = {}; -- Reference to own plugin object
+
+
+
+
+
function Initialize(Plugin)
PLUGIN = Plugin
- Plugin:SetName("DumpAPI")
+ Plugin:SetName("APIDump")
Plugin:SetVersion(1)
PluginManager = cRoot:Get():GetPluginManager()
@@ -17,6 +21,11 @@ function Initialize(Plugin)
return true
end
+
+
+
+
+
function DumpAPI()
LOG("Dumping all available functions to API.txt...");
function dump (prefix, a, Output)