You can synchronize permission groups in the Admin Menu with Discord roles. To do this, you need to set up the Discord Bot (See: Avatars) and paste the Discord role ID into each permission group in bridge/[framework]/permission_groups.luaPermission Groups.
1
Create a role
Go to your Discord Server Settings -> Roles and create a role relevant to the permission group.
2
Copy Role ID
3
Set the Role ID
Set the discord group ID for the permission group
bridge/[framework]/permission_groups.lua
---@classPermissionGroup---@fieldgroupstring---@fieldpermissionsstring[]---@typePermissionGroup[]return { {group='owner',discord_group_id='1372359455940804620', -- Paste the Discord Role ID herepermissions= { 'all' } },...}
4
Make sure you have Permissions.UseDiscord enabled
Go to the config_server.lua and see if you have Discord permissions enabled.
config_server.lua
return {...,Permissions= {UseDatabase=true,UseAcePerms=false,UseDiscord=true-- CHANGE THIS FROM FALSE TO TRUEUseFramework=false }}