-
Notifications
You must be signed in to change notification settings - Fork 243
How to assign players into groups
NEZNAMY edited this page Mar 23, 2020
·
37 revisions
You have 3 ways to assign your players into groups:
This is the easiest, most common and default method. Plugin will simply ask your permission plugin for primary group.
- Make sure your permission plugin is configured correctly.
- Run
/tab debug
to see if your permission plugin is picked up correctly. You should see:Found permission system: <YourPermissionPlugin>
andPrimary permission group: <YourGroup>
. If not, configure your permission plugin correctly or try one of the next methods.
If you don't know how to configure your permission plugin to show primary group correctly in case players are in more than one or just can't do it because something else would break, you have another option:
- Go to advancedconfig.yml set
use-primary-group: false
- Add the groups from your permission plugin to the 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.
- Save the file and reload the plugin. Check with
/tab debug
if everything's correct.
Note: The list does nothing for sorting, just puts you in the right group.
None of the above worked or do you simply prefer permission nodes ? No problem !
- Open up advancedconfig.yml and set
assign-groups-by-permissions: true
. - Give
tab.group.<group name>
permission with your permission plugin 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).
- 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