summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 16:55:39 +0200
committerMattes D <github@xoft.cz>2014-08-21 16:55:39 +0200
commit326dd7e4c6baa6070d35a2a46ca20404c623c8e1 (patch)
treec87ad1a554656a97f706c067ee23956849be55a3 /MCServer/Plugins
parentRemoved last remnant of cGroup. (diff)
downloadcuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar.gz
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar.bz2
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar.lz
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar.xz
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.tar.zst
cuberite-326dd7e4c6baa6070d35a2a46ca20404c623c8e1.zip
Diffstat (limited to '')
-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 c474b5eb0..6138f945a 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2030,6 +2030,7 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
RemoveGroup = { Params = "GroupName", Return = "", Notes = "Removes the specified group completely. The group will be removed from all the ranks using it and then erased from the manager. Logs an info message and does nothing if the group doesn't exist." },
RemoveGroupFromRank = { Params = "GroupName, RankName", Return = "", Notes = "Removes the specified group from the specified rank. The group will still exist, even if it isn't assigned to any rank. Logs an info message and does nothing if the group or rank doesn't exist." },
RemovePermissionFromGroup = { Params = "Permission, GroupName", Return = "", Notes = "Removes the specified permission from the specified group. Logs an info message and does nothing if the group doesn't exist." },
+ RemovePlayerRank = { Params = "PlayerUUID", Return = "", Notes = "Removes the player's rank; the player's left without a rank. Note that this doesn't change the {{cPlayer}} instances for the already connected players, you need to update all the instances manually. No action if the player has no rank assigned to them already." },
RemoveRank = { Params = "RankName, [ReplacementRankName]", Return = "", Notes = "Removes the specified rank. If ReplacementRankName is given, the players that have RankName will get their rank set to ReplacementRankName. If it isn't given, or is an invalid rank, the players will be removed from the manager, their ranks will be unset completely. Logs an info message and does nothing if the rank is not found." },
RenameGroup = { Params = "OldName, NewName", Return = "", Notes = "Renames the specified group. Logs an info message and does nothing if the group is not found." },
RenameRank = { Params = "OldName, NewName", Return = "", Notes = "Renames the specified rank. Logs an info message and does nothing if the rank is not found." },