-
Notifications
You must be signed in to change notification settings - Fork 5
groups
Groups is a group of tabcomplete, where you configure a list of tabcomplete and plugin will apply them to the player with the group.
The name used to give player the permission, the permission is plhide.group.<name>
Note: Default group is added to players who has no groups Read about Group Merging
It is a list of commands to show or not show, Depending on the mode as shown below
Subarg TabCompletion can be controlled too, the same behaviour as regular, but the only difference is that in whitelist mode (see below) it will keep all completions as normal, but if you add the command to config, ex. commandname test
it will remove all except test, but if this isn't there all of the entries will be shown.
They are modes that are set by permissions, the player has blacklist mode by default and can be turned to whitelist using plhide.whitelist-mode
permission.
Blacklist Mode: Removes the commands listed in the config, any command that matches the config will be removed
-
Example:
- "ban"
ban command will be removed from tab complete
Whitelist Mode: Removes all commands, except the commands listed, any command that matches will be kept.
-
Example:
- "warp"
the warp command will show up to the player, as well as other commands listed ONLY
Merging groups is really simple, Plugin will gather all the groups in the config and check which groups player has got, from permissions, and it will merge these groups into 1 and apply this when controlling the player's tab completion, so all you have to do is to give all your groups their permissions (and give defaul group) Make sure all groups inherit default group in your permission manager.
Listing commands that wouldn't show up to player already will never show up because plugin removes existing ones and never adds new ones
Something not working? Have feature request, or a Bug Report? Confused about something? Join our Discord