diff options
author | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
commit | be32c0527cd6c69289217999927c3308d8169465 (patch) | |
tree | 2b106aeae7032205c8bc1abf06c9e7f646021af9 /MCServer/Plugins/Debuggers | |
parent | Type warning fixes. (diff) | |
parent | RankMgr: Exported the default-rank functions. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 15 |
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..."); |