TwitchChat
Integration of Twitch chat into PeakTextChat (fork)
截圖 共 1 張
模組介紹 作者原文
TwitchChat
Displays Twitch chat messages in the PEAK in-game chat. Messages appear with the [Twitch] prefix.
Fork of PeakTextChat
Features
- Display Twitch chat – see Twitch messages directly in the game chat with colored nicknames.
- Send messages to Twitch – use! prefix (or send without prefix, configurable) to chat with your viewers.
- Anonymous mode – read Twitch chat without an OAuth token.
- Quick messages – send predefined messages with hotkeys, including key combinations (Ctrl, Shift, Alt).
- Permission system – only host and allowed players can send messages to Twitch.
- System messages – clear notifications with colors (green for success, red for errors, orange for warnings).
- Dynamic config updates – all settings apply instantly without restarting the game.
- Cross-mod compatibility – works with other chat mods (CozyChat, StupidChat, PeakGlobalChat, etc.).
- RPC sending – players without a token can send via the host (if added to AllowedSenders).
Configuration
- Open BepInEx/config/V8.TwitchChat.cfg.
- Fill in the sections:
[Display]... chat appearance settings...
ChatKey = Slash # Key to open chat
ChatPosition = BottomLeft # Chat position
ChatSize = 500:300 # Size of the chat window
ChatFontSize = 20 # Font size
ChatBackgroundOpacity = 0.3 # Background opacity
ChatFrameVisible = true # Show/hide frame
ChatRichText = true # Enable rich text formatting
ChatFadeDelay = 15 # Time before chat fades
ChatHideDelay = 40 # Time before chat hides
ChatMessageHideDelay = 40 # Time before messages disappear
[QuickMessages]
QuickMessages = # Format: Key$Message:::Key2$Message2
Supports modifiers: CTRL, SHIFT, ALT
Example: CTRL+C$Hello!:::SHIFT+F1$Follow me
[Twitch]
Username = your_twitch_channel # The channel to read and send messages to
AllowedSenders = # Steam IDs (comma separated) allowed to send. Empty = only host.
UseSteamName = true # Show Steam name in Twitch messages (false = hide)
SendWithoutPrefix = false # If true: no prefix needed; with! goes only to game chat
[Auth]
OAuthToken = oauth:your_token # Required for sending; optional for read-only
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: