|
|
@ -22,7 +22,6 @@ class ACommandUserGroups extends Command |
|
|
|
|
|
|
|
|
|
|
|
protected function BuildData(CommandDataBuilder builder) |
|
|
|
protected function BuildData(CommandDataBuilder builder) |
|
|
|
{ |
|
|
|
{ |
|
|
|
builder.Name(P("usergroups")); |
|
|
|
|
|
|
|
builder.Group(P("admin")); |
|
|
|
builder.Group(P("admin")); |
|
|
|
builder.Summary(P("User groups management.")); |
|
|
|
builder.Summary(P("User groups management.")); |
|
|
|
builder.Describe(P("Allows to add/remove user groups and users to these: groups. Changes made" |
|
|
|
builder.Describe(P("Allows to add/remove user groups and users to these: groups. Changes made" |
|
|
@ -77,7 +76,7 @@ protected function BuildData(CommandDataBuilder builder) |
|
|
|
builder.Describe(P("Allows to force usage of invalid user IDs.")); |
|
|
|
builder.Describe(P("Allows to force usage of invalid user IDs.")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected function Executed(CallData arguments, EPlayer instigator) |
|
|
|
protected function Executed(CallData arguments, EPlayer instigator, CommandPermissions permissions) |
|
|
|
{ |
|
|
|
{ |
|
|
|
local bool forceOption; |
|
|
|
local bool forceOption; |
|
|
|
local Text groupName, userID, userName, annotation; |
|
|
|
local Text groupName, userID, userName, annotation; |
|
|
@ -653,6 +652,6 @@ private function DisplayUsersFor(Text groupName) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
defaultproperties |
|
|
|
defaultproperties { |
|
|
|
{ |
|
|
|
preferredName = "usergroups" |
|
|
|
} |
|
|
|
} |