Atomatrix Documentation
Atomatrix StoreDiscord Server
Atomatrix Guides
Atomatrix Guides
  • Guides
    • Welcome
  • Changing the chat format
  • Changing the MOTD
  • Changing the Scoreboard and Tablist
  • Giving Currency to Players
  • Changing the spawn for another
  • Set up a global LuckPerms Database for your servers
  • Editing Crate Information
  • Giving Crate Keys
  • Editing the shop
  • Customizing allowed versions
  • Small Caps Font
  • Changing your world size
Powered by GitBook
On this page
  • 1. Export permissions to a file
  • 2. Change storage method
  • 3. Import permissions
  • 4. Bulk update server contexts

Was this helpful?

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.

/lp bulkupdate groups update server <server-name> "server == global"  

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:

/lp bulkupdate groups update server lifesteal "server == global"  

Last updated 1 month ago

Was this helpful?

Struggling to change storage types? See the official LuckPerms documentation .

here