-
Notifications
You must be signed in to change notification settings - Fork 243
How to assign players into groups
- About
- Method 1: Primary group from permission plugin
- Method 2: Choosing from group list
- Method 3: Permission nodes
TAB uses groups to assign properties and sort players in tablist (if sorting by groups). You have 3 ways of configuring primary groups of players in TAB.
Methods 1 and 2 hook into your permission plugin and take groups from it. Therefore, your permission plugin must be supported. If your plugin is not supported, you can still use Method 3
Supported permission plugins on bukkit: LuckPerms and UltraPermissions directly, other plugins through Vault (if you're using PowerRanks, you must enable vault_permissions
option in PowerRanks config).
Supported permission plugins on bungeecord: Luckperms, UltraPermissions and BungeePerms.
This is the default method. TAB will ask your permission plugin for player's primary group.
- Put players into groups in your permission plugin (don't forget to configure weights - for luckperms /lp group <group> setweight <number>).
TAB will ask your permission plugin for full list of groups a player is in and picks one based on your settings.
- Go to config.yml and set
use-primary-group: false
- Put all groups from your permission plugin to primary-group-finding-list in order you want them to be picked. Out of player's groups the highest one in this list will be chosen as primary.
None of the above worked or do you simply prefer permission nodes?
- Go to config.yml and set
assign-groups-by-permissions: true
. - Give
tab.group.<group name>
permission to the user/permission group. - Put all possible groups into primary-group-finding-list. This is needed because:
#1 - there's no way to get list of permissions of a player, only checking for a permission. The list will be used for list of permissions to check for.
#2 - if a player has permission for more than one group, the list will be used to pick the correct one (the one higher in the list).
Don't forget that OP = all permissions! That's the whole point of OP function. To grant all permissions. In that case, you need to negate permissions in your permission plugin for other groups which are higher than player's wanted group (depending on your permission plugin it can be achieved using -tab.group.groupname
or setting the permission value to false).
- Why TAB?
- Installation
- Commands & Permissions
- Frequently Asked Questions
- Compatibility
- How to assign players into groups
- Known issues
- TAB-Bridge plugin
- Belowname
- Bossbar
- Global playerlist
- Header/Footer
- Layout
- Nametags
- Per world playerlist
- Ping spoof
- Playerlist objective
- RedisBungee support
- Scoreboard
- Sorting in tablist
- Spectator fix
- Tablist name formatting
- Animations
- Conditional placeholders
- Error logging
- MySQL
- Placeholder output replacements
- Placeholders
- RGB/font usage
- Client-sided mechanics
- Quick PlaceholderAPI startup guide
- How to setup compatibility with glow plugins
- How to display name from nickname plugins
- How to configure weights in LuckPerms
- How to save config in UTF-8 encoding
- Mini guides collection
- Additional information
- Optimizing plugin's CPU usage
- Developer API