LuckPerms
Control features/permissions between servers
What is LuckPerms?
LuckPerms is a plugin that manages permissions to certain groups across multiple servers. You can use LuckPerms to enforce what commands players can use.
Installing Plugin
Find Luckperms under Plugins and select on download.
Depending on your what version of Minecraft is running, you may need to switch plugin versions. For this example, I'm using Velocity so I'll install v5.5.0 (Velocity). After selecting the version, you can select Install Plugin
Make sure to install the plugin on every server you intend to enforce permissions across.
Verify it's working
To confirm LuckPerms is running, start your server. You should see log entries similar to the output below, confirming the plugin loaded successfully.
Configuring LuckPerms
In File Manager, you can find the config files under plugins/luckperms/
config.yml
is your config file for Bukkit, Spigot, etcluckperms.conf
is your config file for Sponge or Fabric
Database File
When configuring LuckPerms, make sure you DO NOT delete luckperms-h2-v2.mv.db. By default, LuckPerms stores its data locally. If you intend on only having one server, you can keep this for your permission data.
Local Database Files
By default, Luckperms uses H2. Depending on your preference, you can set storage-method
in config.yml
to SQLite. If you plan on using H2 or SQLite, modifying data outside Minecraft may be harder since you'll need a program
that can read the data.
If you want to read and edit quicker, you can use yaml
, json
, hocon
, or toml
based on your preference.
Remember that these options are better if you only have one server. Do not use any of these options if you are running more servers.
Switching to MariaDB/MySQL
Planning on running multiple servers? You can setup LuckPerms to run with MySQL so you can sync data back and forth.
Databases
Looking for more information about databases? Click on me to read our dedicated article.
Once you create your database, copy the information and plug into the config file as so. After filling in your information, your file should look similar to ours.
Save your file and then restart. When looking at your console, it should say SQL
instead of H2
Repeat this for as many servers you have. Remember, you only need one database to share across all your servers.
Debugging
If you get an error similar to this:
Go back and make sure your database password is the same as whats in the config.
After selecting the eye icon, your password along with the rest of your connection information is there.