ServerAnnouncements
Provides reliable server announcements using GUI toasts, banners, or chat fallback.
模組介紹 作者原文
Server Announcements
Overview
The Server Announcements Mod provides a simple way for servers to show important notices to players.
It focuses only on displaying server notices and does not affect gameplay.
Quick Start: Press F10 to open the mod window. The key can be reassigned in the settings.
Purpose
Helps ensure players see important information such as:
- Server rules
- Maintenance notices
- Event announcements
- Mod requirements or compatibility notes
Design Principles
Minimal Invasiveness
- Does not modify gameplay logic
- Does not alter save data
- Does not change networked game state
- Operates only at the UI/display layer
If the notice system fails, the game continues normally.
Architecture
Host + Client Model
- Host defines notice content and version
- Client displays notice UI
- If the client does not have the mod → no errors, no impact
Notice Types
Text Notices (Toast)
Used for short updates.
Examples
- "Server restarting in 10 minutes"
- "Event starting now"
Behavior
- Appears briefly
- Auto-fades
- Does not block gameplay
First-Join Notice (Banner)
Used for persistent information:
- Server rules
- Community guidelines
- Required mods
Content Delivery
All notices are text based and transmitted via game network messages.
Notes
- Supports rich text (bold, italic, color)
- Host can update content via the F10 settings window
- Requires CodeTalker for message delivery
- Clients without the mod receive announcements via chat in a simplified format
Banner Behavior
When Shown
- First time a player joins
- When notice version changes
- When host manually broadcasts
- Scheduled announcements (if enabled)
User Interaction
- OK: Dismisses banner (shown again next session)
- Don't show for a while: Hides for 24 hours (ignored if the banner content changes)
- X: Closes (shown again next session)
Safety
The mod uses defensive checks and error handling.
If the notice system fails, gameplay remains unaffected.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: