Players not receiving roles on discord

#4 · open · 8 comments

View on GitHub ↗

crashzk

I installed the latest version of GitHub's GiveRoles, and the latest GitHub Discord Utilities as well. ``` 112 "Discord Utilities" (2.8-BETA) by Cruze 113 "Give Roles" (1.2) by Nano ``` Players with VIP privileges are not receiving a VIP position on Discord. I already checked the players, steam account is linked to their Discord, privileges are all right, added by SourceBans ++ the privileges in this case. I add privileges using the ADMIN GROUPS method of SourceMod.

Comments

crashzk

I just downloaded it and sent it to the servers, both plugins. I only configured the ID and Flags for the privileges in the `GiveRoles.cfg` file. ``` "GiveRoles" { "286295769885966338" { "name" "DONO" "flags" "abcdefghijklmnopz" } "286530509193084929" { "name" "SUBDONO" "flags" "abcdefghijklnop" } "385163123369312257" { "name" "ADMIN" "flags" "abcdefgjklop" } "494673463168991233" { "name" "MOD" "flags" "abcdjo" } "384016735596052480" { "name" "VIP" "flags" "a" } } ```

nanociaglia

Make sure your discord bot its above from other discord roles.

crashzk

> Make sure your discord bot its above from other discord roles. I see, BOT of **Discord Utilities** didn't really set it up, I didn't think it would be necessary. After setting up, does he need to do anything else? Or the player just having the steam linked to his discord and having privileges on the CSGO server does he already win the job?

nanociaglia

Just set it up Discord Utilities correctly, and my plugin will do the rest. If you need help let me know

crashzk

@nanociaglia I configured everything here from **Discord Utilities** and I will be testing it in depth now with the players. Just a question so that I can proceed, for players to win the positions they need to use the command `!link` from **Discord Utilities** to link their ID and only then receive the position. Or the Give Roles plugin even if he doesn't use this command on Discord, just have his Steam Profile linked to his DIscord account.

nanociaglia

They have to link their accounts first. After that, when they join to the server again, my plugin will give them a role

crashzk

@nanociaglia configured everything and Discord Utilities, my question is? If I don't configure the Discord Utilities to not record any role in Discord, just check the player still receives the role by Give Roles? I configured the following cvars: ``` // Channel ID for verfication. Blank to disable. // - // Default: "" sm_du_verfication_channelid "XX1XXX0335405XXXX8" ``` ``` // Guild ID of your discord server. Blank to disable. Needed for verification module. // - // Default: "" sm_du_verification_guildid "XXX62X964XXX6898" ``` I also configured the **API Key Steam & BOT Token Discord**, all right, but even so it doesn't win the roles. Cvar **`sm_du_verification_roleid`** I left blank: ``` // Role ID to give to user when user is verified. Blank to give no role. Verification module needs to be running. // - // Default: "" sm_du_verification_roleid "" ``` Is this the problem?

crashzk

I even tested it without configuring the cvar **`sm_du_verification_roleid`**. ![image](https://user-images.githubusercontent.com/32937653/123198779-10596e00-d484-11eb-8750-ee0fd9cfc645.png) ``` @crashzk you linked your account! :white_check_mark: @crashzk there is no player with this id, make sure you are connected to the CSGO server and check your id again! ``` Another player tried too, same thing. ``` @jiraiyazinho there is no player with this ID, make sure you are connected to the CSGO server and check your ID again! ``` He was connected to the server, and yet nothing.