summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Debuggers/Debuggers.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-26 14:23:21 +0200
committerMattes D <github@xoft.cz>2014-08-26 14:23:21 +0200
commitbe32c0527cd6c69289217999927c3308d8169465 (patch)
tree2b106aeae7032205c8bc1abf06c9e7f646021af9 /MCServer/Plugins/Debuggers/Debuggers.lua
parentType warning fixes. (diff)
parentRankMgr: Exported the default-rank functions. (diff)
downloadcuberite-be32c0527cd6c69289217999927c3308d8169465.tar
cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.gz
cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.bz2
cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.lz
cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.xz
cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.zst
cuberite-be32c0527cd6c69289217999927c3308d8169465.zip
Diffstat (limited to 'MCServer/Plugins/Debuggers/Debuggers.lua')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index 7e220952e..81cf02f3c 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -80,7 +80,8 @@ function Initialize(Plugin)
TestBlockAreasString()
TestStringBase64()
- TestUUIDFromName()
+ -- TestUUIDFromName()
+ -- TestRankMgr()
--[[
-- Test cCompositeChat usage in console-logging:
@@ -352,6 +353,18 @@ end
+function TestRankMgr()
+ LOG("Testing the rank manager")
+ cRankManager:AddRank("LuaRank")
+ cRankManager:AddGroup("LuaTestGroup")
+ cRankManager:AddGroupToRank("LuaTestGroup", "LuaRank")
+ cRankManager:AddPermissionToGroup("luaperm", "LuaTestGroup")
+end
+
+
+
+
+
function TestSQLiteBindings()
LOG("Testing SQLite bindings...");