Skip to content

Configuring DiscordUtilities

See the Discord Utilities config examples inside of custom_files_example/addons/counterstrikesharp/configs/plugins/. If you prefer, feel free to see the main plugin Github or Official Documentation

Tip!

Enable Discord Developer Mode to enable right-clicking your Discord Server avatar photo for the Guild/Server ID, as well as Channel and Role IDs.

MySQL is required if you want to use the Link system, for Discord Role <--> CounterStrikeSharp admins permissions syncing.

Your DiscordBot Discord role must always be above your Linked Role. DiscordBot Permissions

Remember!

Restart your CS2 server after you have verified all information is valid in your configurations.


Players on the server can now type /link in the CS2 server, then type /link in the Discord server with the provided code appended. They will then be given the default roles/permissions assigned in the DU_ManageRolesAndPermissions.json file - located in the /addons/counterstrikesharp/configs/plugins/DU_ManageRolesAndPermissions/ directory.