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

Feature Request: add discord integration and http request for chat (especially global chat) #187

Open
candrawardana opened this issue Apr 29, 2021 · 11 comments
Labels

Comments

@candrawardana
Copy link

we need so we can use rest discord intregration

@BrainStone
Copy link
Member

Most definitely won’t run a Webserver for a REST API

@candrawardana
Copy link
Author

no, you mistaken something,

i mean, every chat it runs, it's will call curl commands

@BrainStone
Copy link
Member

So you want Discord integration?

@candrawardana
Copy link
Author

actually very yes

@candrawardana
Copy link
Author

also please add discordchat from mc to discord "disable-able" and add http post request feature in every chat it goes, instead of mysql storage, because i have custom back end web server

@BrainStone BrainStone reopened this May 3, 2021
@BrainStone
Copy link
Member

Well you now have asked for 3 completely different things:

  • Send REST requests on chat
  • Discord integration
  • Send POST requests on chat

When you're done piling requests on, let me know.

@candrawardana candrawardana changed the title Feature Request: add curl rest api for chat (especially global chat) Feature Request: add discord integration and http request for chat (especially global chat) May 3, 2021
@candrawardana
Copy link
Author

well yes, but rest / post is actually the same, i've change the issue's title

so when player do global chat, its run http request like

example :
//HTTP REQUEST POST
backend_api = "http://localhost/api/send_chat";
request = "{ 'username':%username%,'chat':%chat% }"
enable = true

just like mysql do, but http request instead

@RedSparr0w
Copy link

RedSparr0w commented Jun 21, 2021

Maybe this should be split into 3 different issues?
Add support for Discord webhooks
Add support for custom get/post request
Add support for Discord → Game → Discord chat

@BrainStone
Copy link
Member

The hook part really isn't an issue. Not worth splitting it further.
I beleive there is already an issue for native Discord support however.

@Gyztor
Copy link

Gyztor commented Mar 18, 2022

this is old but i saw it and gave a similar ask on spigot (I am the HavensEdgeMC owner) and maybe there can be a sort of hook plugin that we install on each spigot server to utilize discordsrv so you dont have to make too much other than to send chat to discordsrv (kinda like the passtobackend configuration but to only discordsrv and any other chat related things you would want to include)

@BrainStone
Copy link
Member

If you just want Discord support you can enable passToBackendServer and install ChatFree on all backend servers.

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

No branches or pull requests

4 participants