Manage Roles and Permissions
configs/plugins/DU_ManageRolesAndPermissions/DU_ManageRolesAndPermissions.json
You have a choice of two methods. In both methods, the player must have a linked account!
Role To Permission: When a player connects and has a certain role on the discord server, he gets a certain flags, immunity and command overrides on the C2 server.
Permission To Role: When a player connects to the server and has a certain permission (flag/group), he gets a certain role on your Discord server. (The role will remain even if he disconnects from the CS2 server)
•Remove Roles On Permission Loss
This means that if a player no longer has the specified permission (flag/group), the role will be automatically removed.
You can use this for example for VIP or Admin players, when they join they get a permission or role according to your settings. It's not limited to just 2x Roles To Permission or Permission To Roles, you can add any other values you need. The default config contains only two sample configurations.
Examples:
Some information about flags: https://docs.cssharp.dev/docs/admin-framework/defining-admin-groups.html
CAUTION • Your Discord BOT role must always be above your Managed Role! Otherwise roles will not be added. • Only CSS permissions work, you can't use flags or groups from metamod plugins
Last updated