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

Added webhooks #38

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Added webhooks #38

merged 1 commit into from
Nov 18, 2020

Conversation

Earlh21
Copy link
Contributor

@Earlh21 Earlh21 commented Jul 22, 2020

Users can register webhooks in the config file, for example:

webhooks:
  default:
    listener: "https://webhook.site/fa064cea-f884-4fed-984c-17610b7d853b"
    events:
    - PlayerJoin
    - PlayerQuit

When these events are triggered by the server, a POST request with the event details is sent to the listener url.

@phybros
Copy link
Collaborator

phybros commented Jul 25, 2020

This is a super interesting concept. I hadn't really thought of ServerTap as a thing that would reach out and do anything like this, moreso as just a simple REST API wrapper around Bukkit's API. Let me test this out

@ATechAdventurer ATechAdventurer added the feature A new feature label Nov 18, 2020
@ATechAdventurer
Copy link
Contributor

This is an awesome feature, I can see all kinds of applications being built with this. Did some testing and can't find anything wrong. I think this is ready for merging.

@ATechAdventurer ATechAdventurer merged commit 68693a1 into servertap-io:master Nov 18, 2020
@phybros phybros mentioned this pull request May 4, 2021
@Earlh21 Earlh21 deleted the webhooks branch June 20, 2021 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants