JoinNotice
Display a notification in the chat window when a player joins or leaves / 玩家加入和退出時在聊天窗顯示提示。
模組介紹 作者原文
Changelog
我是求生之路2[Left 4 Dead 2]玩家,這個遊戲也有聊天窗,如果不利用起來就會很浪費
I'm a Left 4 Dead 2 player. This game also has a chat window, and it would be a waste not to make use of it.
本說明由 AI 翻譯爲英語,如有不準確之處請以中文原文爲準。
This document was translated by AI. If there are any inaccuracies, please refer to the original Chinese text.
[1.5.0] - 2026-09-27
Added
- 增加了中文 繁中 英文 提示
- Added Chinese (Simplified), Chinese (Traditional), and English notifications.
[1.1.0] - 2026-09-26
Added
- 玩家加入遊戲時,聊天窗顯示【加入提示】XXX 加入了遊戲!
- When a player joins the game, the chat window displays [Join Notice] XXX joined the game!
- 玩家退出遊戲時,聊天窗顯示【退出提示】XXX 退出了遊戲!
- When a player leaves the game, the chat window displays [Leave Notice] XXX left the game!
- 防重複機制:同一玩家短時間內重複進出,只提示一次
- Anti-duplicate mechanism: if the same player repeatedly joins and leaves within a short time, only one notification is sent.
- 延遲發送機制:等待玩家 SteamName 就緒後再發送,避免顯示"未知玩家"
- Delayed sending mechanism: waits until the player's SteamName is ready before sending, avoiding showing "Unknown Player".
- 配置項:提示設置/玩家加入退出提示,可關閉整個功能
- Config option: Notification Settings / Player Join-Leave Notifications, which can disable the entire feature.
- 配置項:調試設置/詳細日誌,可輸出詳細調試日誌排查問題
- Config option: Debug Settings / Verbose Logging, which can output detailed debug logs for troubleshooting.
Fixed
- 修復玩家剛連接時 OnlineChatManager 尚未就緒導致消息發送失敗的問題
- Fixed the issue where messages failed to send because OnlineChatManager was not yet ready when a player had just connected.
[1.0.0] - 2026-09-25
Added
- 初始版本
- Initial version.
- 監聽 PlayerManager.AddPlayer 和 PlayerManager.RemovePlayer
- Listens to PlayerManager.AddPlayer and PlayerManager.RemovePlayer.
- 通過 OnlineChatManager.SendChatMessage 在聊天窗發送玩家加入/退出提示
- Sends player join/leave notifications in the chat window via OnlineChatManager.SendChatMessage.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。