Additional Webhook Features#77
Open
NotReeceHarris wants to merge 3 commits into
Open
Conversation
Author
|
Looked at the way the current tray notification system works its probably better to tie in with the current tray notification system then using our own AWT event listener |
…notification gating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While using this plugin, I noticed that when I lose focus on the client (for example, when I’m away from my PC), I sometimes miss important buy/sell timings, which can negatively impact hourly profit.
This pull request introduces additional webhook notification features to help address that issue.
Changes
Expanded Webhook Notifications
Added new webhook events to provide more granular alerts, including:
Existing stat updates (unchanged)
These notifications aim to ensure important actions are not missed, particularly when multitasking or away from the client.
Focus-Based Notifications
To reduce notification spam, I’ve added an “Only alert when unfocused” option.
This helps prevent excessive alerts while actively playing, while still ensuring important events are captured when unfocused.
Mention Support
Added an optional mention text field for webhook messages.
This allows users to include a mention (e.g. @username or role mention) in the webhook payload for increased visibility.
This is my 3rd time using JAVA so the code may need refactoring a little, i tried to use production ready practises but i may have missed some