diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-07-30 17:26:06 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-07-30 17:26:06 +0200 |
commit | e57b4e1e59075254f5f26545e2180cda7346146b (patch) | |
tree | 09d612feda11a092aaa8520553ff44d5fc0c508b /MCServer/Plugins/APIDump/main.lua | |
parent | Moved the file to a more sensible name. (diff) | |
download | cuberite-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.lua | 13 |
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) |