Open FawksX opened 3 years ago
The plan is to have a strong and stable API with events (fired with Velocity's event executor) to let 3rd party plugins handle this.
I don't want the "but IRC? Slack? Rocket? XMPP? etc." complaints by supporting Discord in specific.
An official "extension" plugin may be provided for this functionality (& general webhooks?), but that will have to be revisited. Due to this, I'll leave the issue open.
The main reason for Discord exclusively in my suggestion is that, as someone who runs servers, staff teams do not operate outside of them as they are primarily made of people either non-tech enthusiastic, or younger people who do not understand services like IRC/Slack. I'd say 99% of servers use Discord Staff Servers as their main communication center
Nonetheless, I understand your concern
That's precisely why I'd consider having an official plugin for explicitly doing Discord webhooks. It'd also serve as a good example of how to use the API.
Discord Integration
Suggestion is to have a similar suggestion to popular Bungeecord plugin BanAnnouncer
The idea is simple; If enabled in the config and a token and channel id is given it automatically publishes the punishment details to discord when the punishment occurs.
Another idea, related to this, is having punishments based on server sent to different channels.
Example Config: