diff options
-rw-r--r-- | MCServer/Plugins/APIDump/main.lua | 13 | ||||
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 12 |
2 files changed, 22 insertions, 3 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) diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua index b090ea55c..ab3397f74 100644 --- a/MCServer/Plugins/Debuggers/Debuggers.lua +++ b/MCServer/Plugins/Debuggers/Debuggers.lua @@ -1,9 +1,14 @@ - -- Global variables PLUGIN = {}; -- Reference to own plugin object + g_DropSpensersToActivate = {}; -- A list of dispensers and droppers (as {World, X, Y Z} quadruplets) that are to be activated every tick g_HungerReportTick = 10; + + + + + function Initialize(Plugin) PLUGIN = Plugin @@ -41,6 +46,11 @@ function Initialize(Plugin) return true end; + + + + + function TestBlockAreas() LOG("Testing block areas..."); |