Mods Communicator Chat Control
Provides access to Mods Communicator through chat. Allows to publish events in a similar way like mods.
模組介紹 作者原文
Outward Mods Communicator Chat Control
Provides access to
Mods Communicator through chat.
It enables event-driven communication between mods, allowing users to
interact with them directly through chat.
How to use it
Firstly, install [Chat Commands
Manager](
After that, you can use the commands provided by this mod directly in chat.
Built-in Commands
/events
Lists all registered events from OutwardModsCommunicator.
Usage:
/events
/event
Gets detailed information about a specific event including its parameters and types.
Usage:
/event gymmed.chat_commands_manager_* ChatCommandsManager@AddChatCommand
/event --mod=gymmed.chat_commands_manager_* --event=ChatCommandsManager@AddChatCommand
/event gymmed.loot_manager_* AddLoot
/publish
Publishes an event to OutwardModsCommunicator directly from chat. Parameters are dynamically parsed based on the event's registered schema in Mods Communicator.
How it works:
The mod reads the registered event parameters from Mods Communicator and automatically parses your chat input to match the expected types. If a parameter type cannot be parsed from a string (like functions or delegates), it will be skipped. Unregistered parameters are silently ignored, giving you flexibility.
Usage:
/publish gymmed.loot_manager_* LootRulesSerializer@SaveLootRulesToXml
/publish gymmed.loot_manager_* LootRulesSerializer@LoadCustomLoots --filePath="C:/documents/myPath"
/publish gymmed.loot_manager_* AddLoot --itemId=4300040 --faction=bandits
/publish gymmed.loot_manager_* AddLoot --itemId=4300040 --faction="bandits"
/publish --event=AddLoot --itemId=4300040 --faction=Deer
Supported Types:
- Primitives: string, int, float, bool, double, long, decimal, char
- Enums: Any game enum (e.g., Character.Factions.Bandits, Character.Factions.Deer)
- Nullable<T>: Optional enum/primitive types (e.g., Nullable<Character.Factions>)
- IEnumerable/ICollection: Space-separated values (e.g., --names="Sword Shield" becomes List<string>)
- Arrays: Space-separated values (e.g., --ids="4300040 4300041")
Notes:
- Parameters can be passed positionally (in order) or by name (--param=value)
- If mod namespace is omitted, searches all registered mods for the event
- If a value cannot be parsed to the expected type, an error is shown and the event is NOT published
- Unregistered parameters (not defined in the event schema) are silently dropped - they are not added to the event payload
- Each mod is responsible for validating and handling the received data in their own event handlers
How to set up
To manually set up, do the following
- Create the directory: Outward\BepInEx\plugins\OutwardModsCommunicatorChatControl\.
- Extract the archive into any directory(recommend empty).
- Move the contents of the plugins\ directory from the archive into the BepInEx\plugins\OutwardModsCommunicatorChatControl\ directory you created.
- It should look like Outward\BepInEx\plugins\OutwardModsCommunicatorChatControl\OutwardModsCommunicatorChatControl.dll
Launch the game.
If you liked the mod leave a star on GitHub it's free
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: