summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/RankManager.lua
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-04-04 07:53:14 +0200
committerMattes D <github@xoft.cz>2017-04-04 07:53:14 +0200
commitfb205174350792c5840897b63d7457b3536e0c27 (patch)
treeff5a7e38c3f56793a382a59287c352ec0769bc35 /Server/Plugins/APIDump/Classes/RankManager.lua
parentAdded a nullptr check to cEntity::IsA (#3659) (diff)
downloadcuberite-fb205174350792c5840897b63d7457b3536e0c27.tar
cuberite-fb205174350792c5840897b63d7457b3536e0c27.tar.gz
cuberite-fb205174350792c5840897b63d7457b3536e0c27.tar.bz2
cuberite-fb205174350792c5840897b63d7457b3536e0c27.tar.lz
cuberite-fb205174350792c5840897b63d7457b3536e0c27.tar.xz
cuberite-fb205174350792c5840897b63d7457b3536e0c27.tar.zst
cuberite-fb205174350792c5840897b63d7457b3536e0c27.zip
Diffstat (limited to 'Server/Plugins/APIDump/Classes/RankManager.lua')
-rw-r--r--Server/Plugins/APIDump/Classes/RankManager.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/RankManager.lua b/Server/Plugins/APIDump/Classes/RankManager.lua
index 9695117a6..be2969298 100644
--- a/Server/Plugins/APIDump/Classes/RankManager.lua
+++ b/Server/Plugins/APIDump/Classes/RankManager.lua
@@ -626,6 +626,22 @@ 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.",
},
+ RemoveRestrictionFromGroup =
+ {
+ IsStatic = true,
+ Params =
+ {
+ {
+ Name = "Restriction",
+ Type = "string",
+ },
+ {
+ Name = "GroupName",
+ Type = "string",
+ },
+ },
+ Notes = "Removes the specified restriction from the specified group.",
+ },
RenameGroup =
{
IsStatic = true,