summaryrefslogtreecommitdiffstats
path: root/MCServer
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
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 'MCServer')
-rw-r--r--MCServer/Plugins/APIDump/main.lua13
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua12
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...");