This plugin provides the possibility to add a default group to new Minecraft players using
LuckPerms.
WHY
By default, LuckPerms does not offer this support, and the reason for this is described perfectly on the following link:
https://luckperms.net/wiki/Default-Groups
This plugin proposes to give a quick and easy solution to this small problem by adding a default group to players who do not have an assigned group from a list that you can customize.
HOW IT WORKS
The plugin has the option to configure a list of groups that you must have previously configured, and it will look at it each time a user joins the server to see if they have an assigned group from the list. In case they don't, it will assign them a default group that you decide.
The plugin can also be configured to replace the default group, useful if you are using
Tracks or simply adding the group to your own list of assigned groups.
HOW TO INSTALL
Please note that for the plugin to work correctly, it is necessary to have all the groups that you are going to use previously configured in LuckPerms.
- Download the plugin from this page.
- Move the plugin to your plugins folder.
- Start the server and modify the settings.
- Restart the server to apply the changes.
COMMANDS AND PERMISSIONS
Code (Text):
/lpdg reload # Requires OP or lpdg.admin.reload permission
DEPENDENCIES
The only dependency of this plugin is
LuckPerms.
NOTES
- I have not tested this plugin on any platform other than Spigot, so I'm not sure if it will work on Bungee or any other implementation.
- If you encounter any issues, please post them in the "discuss" section or in the Github repository's issues.
CONFIG FILE
Code (YAML):
# Set to `true` to show the plugin logs
debug
: false
# List of groups to verify that the player has
groupsToFind
:
- player
- vip
- mod
- admin
# Default group that will be assigned to the player in case of not having any group
defaultGroup
: player
# If 'replace', it will override any group assigned, useful when you are using LuckPerms tracks
# If 'append', it will append to the group list of the user, useful if you are supporting multiple groups
strategy
: 'replace'