3️Role Synchronization

Open the second configuration file (sync.json) and link Discord roles to Minecraft permissions:

{
  "roles": [
    {
      "role_id": "1234567890", // Discord role ID
      "permission": "group.vip" // Minecraft permission
    },
    {
      "role_id": "9876543210",
      "permission": "group.moderator"
    }
  ]
}

What does this do?

  • If a player has the specified Discord role, they will automatically receive the assigned Minecraft permission.

  • Synchronization runs automatically when a player logs in or can be triggered manually using the admin command:

    /discordadmin resync <player>

    or

    /discordadmin resyncAll

Last updated