Set up a global LuckPerms Database for your servers
Explaination on how to link all your server's permissions into one LuckPerms database on Atomatrix Server Setups
Each Server Setup has it's own permissions set up with a local H2 database, but if you're setting up a network and want all the permissions linked to a global database, while keeping the rank permissions unique to each gamemode, you'll need to complete a few more steps, and that's explained here.
1. Export permissions to a file
Run the command /luckperms export <file>
to export your permissions for that server.
2. Change storage method
Change storage method in the LuckPerms config by changing the storage-method
key and adjusting the details for your database just below.
Set the name of your server in the config too by changing the server
key (found near the top of the file). This is a backend name that'll be used by LuckPerms to identify your server. Then restart your server.
3. Import permissions
Once your server is restarted, re-import your permissions by running the command /luckperms import <file>
. Then, before you do this for any other servers, proceed to the next step.
It's important that you use the bulkupdate command IMMEDIATELY after importing data for each server. Don't import them all and then run the command.
4. Bulk update server contexts
run the following command on your server to set any uncategorised server permissions to the server name you're using.
Replace "<server-name>" with the name you set for the server earlier. For example, if I was uploading permissions for my Lifesteal server at this time, I'd run the command:
Last updated
Was this helpful?