summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-28 15:16:11 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-28 15:16:11 +0200
commit63c53a8e23776cc3011fd0260857bd22274e2c62 (patch)
tree014d4498cffa77ce5bf504abe96e7d23832c9d5b /MCServer
parentUpdated api documentation. (diff)
downloadcuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.gz
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.bz2
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.lz
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.xz
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.zst
cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index fbed7cc00..2250092ba 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2033,6 +2033,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
AddGroupToRank = { Params = "GroupName, RankName", Return = "bool", Notes = "Adds the specified group to the specified rank. Returns true on success, false on failure - if the group name or the rank name is not found." },
AddPermissionToGroup = { Params = "Permission, GroupName", Return = "bool", Notes = "Adds the specified permission to the specified group. Returns true on success, false on failure - if the group name is not found." },
AddRank = { Params = "RankName, MsgPrefix, MsgSuffix, MsgNameColorCode", Return = "", Notes = "Adds a new rank of the specified name and with the specified message visuals. Logs an info message and does nothing if the rank already exists." },
+ ClearPlayerRanks = { Params = "", Return = "", Notes = "Removes all player ranks from the database. Note that this doesn't change the cPlayer instances for the already connected players, you need to update all the instances manually." },
GetAllGroups = { Params = "", Return = "array-table of groups' names", Notes = "Returns an array-table containing the names of all the groups that are known to the manager." },
GetAllPermissions = { Params = "", Return = "array-table of permissions", Notes = "Returns an array-table containing all the permissions that are known to the manager." },
GetAllPlayers = { Params = "", Return = "array-table of playernames", Notes = "Returns the short uuids of all defined players." },