# Frequently Asked Questions

## How to give a player multiple groups at once?

Just make sure the player has permission for the groups, and plugin will simply apply them all at once

**Example: (Whitelist Mode)**

```yaml
groups: 
  default:
    tabcomplete:
     - "warp"
     - "kit"

  admin:
    tabcomplete:
     - "ban"
     - "mute"
```

**Permission Manager:**
```yaml
Default: 
 - 'plhide.whitelist-mode'
 - 'plhide.group.default'

Admin:
 - 'group.default' #Inherit all permissions from default group
 - 'plhide.group.admin'
```

Now Admins can see ban and mute, as well as warp and kit, while default players cannot see mute or kick (assuming you have whitelist mode)

## Give a group to a player

pretty simple, give `plhide.group.<name>` to the player (or the group)

## What is a mode?

The mode, or the Group Mode is the mode where the commands are applied, for **Blacklist (default)** Mode, The listed commands will be removed from tabcomplete, for **Whitelist (plhide.whitelist-mode)** Mode, The listed commands will be shown and all others will be removed. [More Detailed Information](Groups.md#group-modes)

## Operator `*`

This operator just means ALL, for example `ban *` (in blacklist mode) will not tab complete player names when trying to ban, and in whitelist mode there will be no difference

**NOTE:** You cannot use that in plain commands, only in subargs, so it cannot be `* BlueTree242` this won't work

## Add all commands for a plugin

**Only works on Spigot**

It's simple, add `from:PluginName` in your config, it will add all commands, Ex. `from:WorldEdit`

## Groups not working Correctly?

- Check if all your groups in your permission manager have their permissions
- Check if default in your permission manager has `plhide.group.default` and that all groups inherit it
- Check that the player has the correct group mode that you want to use
- Make sure player is not op or does not have * Permission, it sometimes breaks as it gives player all permissions sometimes, note that `plhide.no-group` overrides all group permissions.