summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/main.lua
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-07-30 17:26:06 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-07-30 17:26:06 +0200
commite57b4e1e59075254f5f26545e2180cda7346146b (patch)
tree09d612feda11a092aaa8520553ff44d5fc0c508b /MCServer/Plugins/APIDump/main.lua
parentMoved the file to a more sensible name. (diff)
downloadcuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar.gz
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar.bz2
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar.lz
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar.xz
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.tar.zst
cuberite-e57b4e1e59075254f5f26545e2180cda7346146b.zip
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)