AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Give Roles on Discord (1.2) [NEW UPDATE 04/23/2020] (https://forums.alliedmods.net/showthread.php?t=327650)

NanoC 10-02-2020 02:54

[ANY] Give Roles on Discord (1.2) [NEW UPDATE 04/23/2020]
 
Give Roles on Discord

Description:
People must have their account linked on your discord server to get the plugin work!
Automatically give roles on discord when players join.
Using sourcemod flags.


How to add roles based on sourcemod flags?

First of all, drag and drop all files. Then navigate to addons/sourcemod/configs and edit the file called GiveRoles.cfg

Spoiler


Will this plugin delete roles?

Yes, it has a feature to delete roles if they have no flags longer.
Let's say that you have VIP and it expires on X day. When that day comes, and if you're in the server, the "VIP Role" from discord will be revoked.

=============================================

Changelogs:
  • 04/23/2020:
    - Fixed some stuff.
    - Deleted all ways to claim/get roles.
    - Players will only get roles upon connect. This will guarantee a better performance and no error logs anymore (i guess)
  • 10/02/2020:
    - Fixed some stuff.
    - Added multiple flags support ("flags" "abcd", etc)
    - Fixed Discord role ID split by two.
    - Deleted ROOT access (also flag Z) to avoid root admins to get unneeded roles on discord.
    - Added a warning message just for "generic flag" admins, to advice that the feature is currently disabled for those who are trying to claim their roles via the command.

=============================================

Dependencies (just choose one)
=============================================

Cvars
  • None. I've deleted all of them on version 1.2.

=============================================

Commands (to claim discord roles)
  • None - I've deleted all of them too on version 1.2
=============================================

Thank you:
  • Entity / Sples1
  • SM Discord big heads

=============================================

DOWNLOAD VIA GITHUB

Direct download

Main page

Trum 10-02-2020 10:45

Re: [ANY] Give Roles on Discord (1.0) [10/02/2020]
 
:bacon!:

Sples1 10-02-2020 14:32

Re: [ANY] Give Roles on Discord (1.0) [10/02/2020]
 
Awesome!
Good job Nano! :bacon!:

NanoC 10-02-2020 15:47

Re: [ANY] Give Roles on Discord (1.0) [10/02/2020]
 
New version!

Changelogs:
  • 10/02/2020:
    - Fixed some stuff.
    - Added multiple flags support ("flags" "abcd", etc)
    - Fixed Discord role ID split by two.
    - Deleted ROOT access (also flag Z) to avoid root admins to get unneeded roles on discord.
    - Added a warning message just for "generic flag" admins, to advice that the feature is currently disabled for those who are trying to claim their roles via the command.

NanoC 10-04-2020 03:04

Re: [ANY] Give Roles on Discord (1.0) [10/02/2020]
 
Is this working properly? I haven't tested the latest version

paulo_crash 10-14-2020 09:42

Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
 
OMG, I was after such a plugin.

I was already seeing some privates with some devs who contacted me, anyway, thanks for sharing.

I will test everything and any bug I contact.

NanoC 10-19-2020 21:13

Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
 
Quote:

Originally Posted by paulo_crash (Post 2721312)
OMG, I was after such a plugin.

I was already seeing some privates with some devs who contacted me, anyway, thanks for sharing.

I will test everything and any bug I contact.

Is it working fine?

xeeek 12-03-2020 01:05

Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
 
Does not issue roles, config without errors. What could be the problem? Can you configure the core somehow?

NanoC 12-03-2020 20:07

Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
 
Quote:

Originally Posted by xeeek (Post 2727142)
Does not issue roles, config without errors. What could be the problem? Can you configure the core somehow?

There might be a problem with discord utilities maybe..

NanoC 01-07-2021 17:57

Re: [ANY] Give Roles on Discord (1.1) [10/02/2020]
 
Is anyone having trouble with this plugin + discord utilities? Seems that it doesn't' work anymore or it's just my case?


All times are GMT -4. The time now is 02:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.