5️Setting up permissions

Now let's set up permissions using LuckPerms plugin. Give every group every permission you need.

circle-exclamation

Admin commands

Command / Subcommand
Permission

/discordadmin

discordlink.admin

/discordadmin reload

discordlink.admin.reload

/discordadmin resync

discordlink.admin.resync

/discordadmin resyncAll

discordlink.admin.resyncall

Any /discordadmin subcommand

discordlink.admin.*

Player commands

Command / Subcommand
Permission

/discord

discordlink.player

/discord link

discordlink.player.link

/discord unlink

discordlink.player.unlink

/discord info

discordlink.player.info

Any /discord subcommand

discordlink.player.*

✅ All Done!

After configuring all files and customizing your HTML templates, simply restart your server.

If everything is set up correctly, the plugin will automatically connect to Discord and the OAuth2 login system will be ready to use.

Last updated