Inspired by the original ScenarioAlerter. It monitors the log file that the ScenarioAlerter addon creates and sends a message via the provided Discord Webhook or sends a push notification via Pushover which will alert you of a scenario pop.
ScenarioAlerter is made up of two parts:
- A Warhammer Online AddOn that when a scenario pops writes the event to a log file.
- A .NET console app that monitors the log file for new events and when a new event is written sends an alert in the form of either a Discord webhook or Pushover notification.
Both parts are needed.
- Download and install the .NET 6.0 Runtime.
- Download and extract a release from the Releases section.
- Inside the zip you downloaded, copy over the
ScenarioAlerter
folder in theWarhammerAddOn
folder toInterface\AddOns\
under your Warhammer Online game folder. - Rename
app.config.example
toapp.config
. - Define the location of the logFile (modify the path to where you have Warhammer Online installed but keep
\logs\ScenarioAlerter.log
), the method you want to recieve the alert by inalertMethod
(Pushover or Discord), and the method-specific settings. Read further for information on each method. - After correctly defining the values in
app.config
, startScenarioAlerter.exe
and test the alert method via executing/script ScenarioAlerter.RecordScPop()
ingame. You should get the message "Pop! Scenario: " via your selected alert method (when a scenario actually pops, the name of the scenario will be included in the alert.)
NOTE: If you are looking to use Discord as a way to get notified on a mobile device, be aware that mobile push notifications will only be sent when you are inactive at your computer for a certain amount of time (determined by the value set as Push Notification Inactive Timeout in the desktop app:
App Settings > Notifications > Push Notification Inactive Timeout
.) At the moment, there is no way to recieve mobile push notifications for each message without closing Discord completely.
Using a webhook, this method will alert via a message to a Discord text channel when a scenaro pops ingame. For the Discord channel you want the message to be posted in, provide the webhook URL in app.config
for the value of the webhookUri
element.
Using the Pushover desktop or mobile applications, recieve a push notification on your device when a scenario pops ingame. This requires signing up for a Pushover account, using the desktop and/or mobile applications, and creating your own application to use it's application token along with your user token in sending alerts.
- Create a Pushover account.
- Use your User Key as the value for the
userToken
element inapp.config
. - Create an Application by defining at least a Name (
ScenarioAlerter
for example.) - Use the API Token/Key for the application as the value for the
applicationToken
element inapp.config
.