-
Notifications
You must be signed in to change notification settings - Fork 0
Trigger Software
This plugin doesn't create triggers of its own β it takes the callouts your existing trigger software already makes and plays them through the Discord bot, so your whole party hears them. This page explains how to set that up with the three trigger systems it works with:
- ACT Custom Triggers β ACT's own built-in triggers.
- Triggernometry β the popular ACT trigger plugin.
- Triggevent β the standalone trigger app by xpdota.
β First, make sure the bot is in a voice channel. None of this reaches Discord until you've connected the bot and pressed Join Channel on the Discord Triggers tab β see the First-Time Setup Guide. While the bot is in a channel, triggers are routed to Discord; after you Leave Channel, they go back to playing only on your own PC.
The plugin works by taking over ACT's own "play text-to-speech" and "play sound" functions while the bot is in a voice channel. That means there's a single rule that covers every trigger tool:
Any trigger that plays its audio through ACT is automatically sent to Discord.
So the whole job is just telling your trigger software to route its audio through ACT instead of playing it on your own computer. How you do that depends on which tool you use β see the relevant section below. You can use more than one at the same time; anything that ends up playing through ACT is picked up.
ACT's own triggers (the Triggers tab in ACT) already play through ACT, so there's nothing extra to configure β once the bot is in a voice channel, their text-to-speech and sounds go to Discord automatically.
The only limitation is the sound format: ACT's built-in trigger interface only lets you attach .wav files. If you want MP3/OGG/FLAC sound effects, use Triggernometry or Triggevent instead (see Supported audio formats).
Triggernometry is an ACT plugin, so it runs inside ACT alongside this one. You tell it to hand its audio to ACT:
- Install Triggernometry (download its release and add it on ACT's Plugins tab, the same way you added this plugin).
- On the Triggernometry tab, open Settings β Edit Configuration β Audio tab.
- Tick both boxes:
- Use ACT for playing text-to-speech
- Use ACT for playing audio files
- Bring your triggers in with the Import button on the Triggernometry tab (choose the option to import your existing triggers).
That's it β your Triggernometry callouts now play through ACT, and from there to the Discord bot.
Want a few triggers to stay only on your PC (not sent to the party)? Edit that trigger and set its option to override the hook sound to the ACT setting. Every trigger except the ones you mark personal will be routed to the bot.
Triggevent (by xpdota β source) is a separate application, not an ACT plugin. It talks to ACT over OverlayPlugin's WebSocket, and that same connection is how it hands its callouts to ACT for the bot to pick up.
Triggevent needs OverlayPlugin's WebSocket server running in ACT (this is how Triggevent connects to ACT in the first place):
- Install OverlayPlugin in ACT (use the latest fork).
- Start OverlayPlugin WSServer from within ACT (on the OverlayPlugin tab). Triggevent's default address,
ws://127.0.0.1:10501/ws, matches this out of the box.
In Triggevent, open its settings and find the Websocket tab (under the advanced/connection settings):
- Confirm it shows Connected to ACT. If not, check the OverlayPlugin WS URI and that the WSServer is running.
- In the TTS and Sound area, enable:
- Use OP WebSocket for TTS (also labelled Enable TTS) β this sends spoken callouts to ACT. On by default.
-
Use OP WebSocket for Sound (also labelled Enable Sounds) β this sends sound-file callouts to ACT.
β οΈ Off by default β turn it on if you want sound effects in Discord, not just TTS.
With those enabled, Triggevent sends its callouts to ACT, the plugin catches them, and the bot plays them in your voice channel.
π‘ Fallback options. Triggevent also has "Local TTS as Fallback" and "Local Sound as Fallback" settings. These let it fall back to playing on your PC if it can't reach ACT β handy as a safety net, and they don't cause callouts to play twice when ACT is connected.
- Is the bot actually in a voice channel? Press Join Channel on the Discord Triggers tab β routing only happens while it's connected.
- Did you enable the "play through ACT" option in your trigger tool (the steps above)? If audio still plays only on your PC, that toggle is off.
- For Triggevent, make sure OverlayPlugin WSServer is running and Triggevent shows Connected, and that Use OP WebSocket for Sound is on (it's off by default).
- Test a trigger locally first to confirm it makes a sound at all, then check the Common Questions & Issues page.
- First-Time Setup Guide β get the bot online and into a channel.
- Settings & Configuration β voice, volume, effects, and audio quality.
- Common Questions & Issues β troubleshooting and FAQ.