Group Commands
A set of commands to manage the groups on the server.
The commands allows to manage the privileges of the players in the server's worlds.
The command can be used to grant privileges not only to the specific players, but also manage privileges dynamically based on the actions done by the players.
Privileges can be assigned in the dynamic manner with the usage of tokens and token-set commands on blocks, gates and spaces.
Groups can have three types of tokens in any combination:
Type | Description |
---|---|
or-tokens | the player has to have one of the tokens from this type to be part of the group |
and-tokens | the user has to have all of these tokens to be part of the group |
no-tokens | the user should NOT have any of the tokens of that type to be part of the group |
Groups consist of users, other groups or tokens (tree types).
The group managed by the admin users or admin groups. These are users that can change the properties of the group. They are similar to players, but does not support token assignment.
Add User to Group​
/share group $name add-user $user-name
Adds a specific user to the group.
Add Sub-Group to Group​
/share group $name add-group $other-group-name
Adds another group to this group.
Add an Or-Token to Group​
/share group $name add-or-token $token-name
Adds token as an or-token to the group.
A player should hold any of such tokens to be considered as part of the group.
Add an And-Token to Group​
/share group $name add-and-token $token-name
Adds token as an and-token to the group.
The player should hold all the tokens added to the group to be considered a part of the group (AND operation is applied to these tokens).
Add a No-Token to Group​
/share group $name add-no-token $token-name
Adds token as a no-token to the group.
The player should NOT hold any of such tokens to be considered a part of the group (NOT operation is applied to these tokens).
Add an Admin User to Group​
/share group $name add-admin-user $user-name
Adds a specific user to be part of the admin users of this group. Only these players can change the group.
Add an Admin Group to Group​
/share group $name add-admin-group $other-group-name
Adds another group to the set of admin groups of this group. The users present in any of the admins group can change this group.
Delete a User from Group​
/share group $name delete-user $user-name
Removes a specific user from the group.
Delete a Sub-Group from Group​
/share group $name delete-group $other-group-name
Removes other group from this group.
Delete an Or-Token from Group​
/share group $name delete-or-token $token-name
Removes a token from the set of tokens previously added by add-or-token operation.
Delete an And-Token from Group​
/share group $name delete-and-token $token-name
Removes a token from the set of tokens previously added by add-and-token operation.
Delete a No-Token from Group​
/share group $name delete-no-token $token-name
Removes a token from the set of tokens previously added by add-no-token operation.
Delete an Admin User from Group​
/share group $name delete-admin-user $user-name
Removes a specific user from the set of admin users. This reverts previous add-admin-user operation.
Delete an Admin Sub-Group from Group​
/share group $name delete-admin-group $other-group-name
Removes another group from the set of admin groups of this group. This reverts previous add-admin-group operation.
Delete a Group​
/share group $name delete
Deletes the whole group.
The operation does not check if the group is in use.
Get a Group Info​
/share group $name info
Provides info about the group.