Shimell / DiscordWhitelisterSpigot

Spigot plugin that allows whitelisting users through a discord text channel.
MIT License
41 stars 22 forks source link

Suggestion: Add auto whitelist remove if user leaves server, or has a role taken away from them. #15

Closed jackgraddon closed 4 years ago

jackgraddon commented 4 years ago

The title explains it well enough. If a user leaves the Discord Server, they should not have access to the server anymore! Same if they get muted, for example, they should not have access to the Minecraft server to rant or evade a mute.

Shimell commented 4 years ago

This is already a thing.

https://github.com/JoeShimell/DiscordWhitelisterSpigot/blob/049507c32c76d459b1f4c9c24ea8d048647247e7/src/main/java/uk/co/angrybee/joe/DiscordClient.java#L1080

I've improved the functionality in the premium version of this bot to also automatically assign a banned role and more if you're interested.