Skip to content
BlueTree242 edited this page Jul 28, 2022 · 16 revisions

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.

Group Name

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

TabComplete

It is a list of commands to show or not show, Depending on the mode as shown below

Subarg Tab Complete

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.

Group Modes

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

Group Merging

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.

Note

Listing commands that wouldn't show up to player already will never show up because plugin removes existing ones and never adds new ones