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

Integrate discord webhook #2

Closed
3 tasks done
mrghosti3 opened this issue Jul 30, 2022 · 3 comments · Fixed by #5
Closed
3 tasks done

Integrate discord webhook #2

mrghosti3 opened this issue Jul 30, 2022 · 3 comments · Fixed by #5
Assignees
Labels
enhancement New feature or request

Comments

@mrghosti3
Copy link
Owner

mrghosti3 commented Jul 30, 2022

  • Implement messaging to discord webhooks
  • Add webhook secret storage
  • Functionality to log server shutdown
@mrghosti3 mrghosti3 added the enhancement New feature or request label Jul 30, 2022
@mrghosti3 mrghosti3 self-assigned this Jul 30, 2022
@mrghosti3
Copy link
Owner Author

@mrghosti3
Copy link
Owner Author

@mrghosti3
Copy link
Owner Author

Contacted PaperMc devs on their discord and got this suggestion:

(Runtime.getRuntime().addShutdownHook( ... ))

Might need some testing. On the other note I might have to consider on just using simple onEnable and onDisable lifecycle methods to manage sending minecraft messages for when server is shutting down/starting up.

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

Successfully merging a pull request may close this issue.

1 participant