This plugin aims to provide a simple means of creating in-game triggers to chat messages. Responses can be done in one of the below methods or any combination of the three:
- Chat Message
- In-Game SFX
- Text-to-Speech
- Kokoro
- Windows System
New Triggers can be created by either clicking the "Add New" button on the Triggers tab or saving a chat log message on the Chat History tab. Triggers may also be shared and imported using the Import/Export buttons. Chat logging is disabled by default every time the plugin starts, and once enabled you can search for specific messages it has recorded. This may be useful if you're unsure of the exact message you want to create a trigger for but only know some of the words. You can also configure how many messages should be stored at a time. Message history is never saved outside of the plugin running and is lost when the plugin is disabled.
- Commands:
/simpletriggersor/strigenable/onordisable/offto activate or deactivate the whole trigger system.speak <phrase>will read aloud the requested phrase using your configured TTS.
/stspeak <phrase>same as the above speak argument, just as a shorter command.
- With Kokoro, if espeak is disabled, it only supports speaking in English. I would like to remedy this in the future by loading other phonetic dictionaries. Or by finding a g2p alternative that doesn't rely on espeak.
- With espeak enabled, you can choose between the languages it supports. You can also mix languages with different voices but YMMV.
- Kokoro may cause minor hitching. In my testing, this was near negligible (3-5 FPS). It seems to be related to playing the sound wave. Needs further investigation.
- Kokoro C# package from Lyrcaxis/KokoroSharp
- Original model: Kokoro TTS
- Sound Effects functions from Ottermandias/ChatAlerts
- Pre-Built English IPA Dictionary from open-dict-data/ipa-dict
- Text-to-IPA from qkmaxware/CsPhonetics but modified for this project.

