Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Support discord webhooks #92

Open
Rafalll2 opened this issue Sep 15, 2024 · 1 comment
Open

[Suggestion] Support discord webhooks #92

Rafalll2 opened this issue Sep 15, 2024 · 1 comment

Comments

@Rafalll2
Copy link

Hi, I come with an interesting idea on adding a new option to support discord in the form of webhooks, the feature would be ideal for all those who would like to connect the minecraft server with discord, and here I will give an example of creating a command /report which would send the player's nickname to the administration on discord without the player individually joining the discord server.

Here it would also be nice to include discord channels in the configuration, an example of the option in the config:

discord-webhooks
  reports: https://discord.com/api/webhooks/xxxxx
  lands: https://discord.com/api/webhooks/xxxxx

Action example:
webhook: <message>;<channel>
webhook: I need help with xyz\nThis player is cheater;reports

@Ajneb97
Copy link
Owner

Ajneb97 commented Sep 15, 2024

You can currently do that with the DiscordSRV action:
https://ajneb97.gitbook.io/conditionalevents/actions/plugin-actions#discordsrv-embed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants