diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-28 15:29:50 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-28 15:29:50 +0100 |
commit | 27b98dec2b62a1fe88130c6a5c2c840dde293a5e (patch) | |
tree | 6c92a2e4f8614e74362d2695961a9ffba8d08965 /MCServer | |
parent | Fix Double Slabs, fix Slab Meta and add more things to burnable (diff) | |
parent | Merge pull request #709 from Howaner/GlobalFixes (diff) | |
download | cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.gz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.bz2 cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.lz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.xz cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.tar.zst cuberite-27b98dec2b62a1fe88130c6a5c2c840dde293a5e.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/@EnableMobDebug.lua | 29 | ||||
-rw-r--r-- | MCServer/lua5.1.dll | bin | 0 -> 6722 bytes |
2 files changed, 29 insertions, 0 deletions
diff --git a/MCServer/Plugins/@EnableMobDebug.lua b/MCServer/Plugins/@EnableMobDebug.lua new file mode 100644 index 000000000..48d4c36b7 --- /dev/null +++ b/MCServer/Plugins/@EnableMobDebug.lua @@ -0,0 +1,29 @@ + +-- @EnableMobDebug.lua + +-- Enables the MobDebug debugger, used by ZeroBrane Studio, for a plugin +-- Needs to be named with a @ at the start so that it's loaded as the first file of the plugin + +--[[ +Usage: +Copy this file to your plugin's folder when you want to debug that plugin +You should neither check this file into the plugin's version control system, +nor distribute it in the final release. +--]] + + + + + +-- Try to load the debugger, be silent about failures: +local IsSuccess, MobDebug = pcall(require, "mobdebug") +if (IsSuccess) then + MobDebug.start() + + -- The debugger will automatically put a breakpoint on this line, use this opportunity to set more breakpoints in your code + LOG(cPluginManager:GetCurrentPlugin():GetName() .. ": MobDebug enabled") +end + + + + diff --git a/MCServer/lua5.1.dll b/MCServer/lua5.1.dll Binary files differnew file mode 100644 index 000000000..cca0bcb25 --- /dev/null +++ b/MCServer/lua5.1.dll |