FomoChatLog

版本 v1.2.9·更新於 2026-04-18

FomoChatLog: A Fomo submod that logs On-Together chat messages to a local text file. Use /fomohelp and look for /fomochatlog commands

模組介紹 作者原文

FomoChatLog

A Fomo add-on for On Together that logs all in-game chat messages to a local text file with timestamps and channel labels.

Requirements

  • Fomo (hard dependency)

Features

  • Appends every global and local chat message (and system notifications) to a text file
  • Rolling daily log files — each day gets its own dated file (e.g. on_together_chat_log_2026-03-29.txt)
  • Configurable number of days to retain (default: 5); older files are pruned automatically on startup
  • Configurable base log file path
  • Configurable format strings for chat messages and notifications
  • Optional TMP tag stripping via the core Fomo CleanChatSinkTags config

In-Game Commands

Type any command into the in-game chat. Commands start with / and are not sent to other players.

  • /fomochatlogtoggle (/fclt) — Toggle chat file logging on/off
  • /fomochatloggetpath (/fclgp) — Print the current log file path
  • /fomochatlogsetpath (/fclsp) — Set the log file path (supports ~ and environment variables)
  • /fomochatlogmessageformat [format] (/fclmf) — Get or set the chat message format string
  • /fomochatlognotificationformat [format] (/fclnf) — Get or set the notification format string

Examples

/fomochatlogsetpath ~/on-together/fomo/chat.txt

/fomochatlogmessageformat [{timestamp:HH:mm}] [{channel:short}] {username}: {message}

Configuration

Located in BepInEx/config/com.andrewlin.ontogether.fomochatlog.cfg

  • General
  • EnableFeature (default: true) — Enable or disable writing to the log file
  • ChatLogPath (default: ~/on-together/fomo/on_together_chat_log.txt) — Base path for log files. The current date (yyyy-MM-dd) is appended automatically before the file extension. Supports ~ and environment variables
  • MaxLogDays (default: 5) — Number of daily log files to retain. Files older than the newest N days are deleted on startup
  • Formatting
  • MessageFormat (default: [{timestamp:yyyy-MM-dd HH:mm:ss}] [{channel}] {username}: {message}) — Format string for chat messages written to the log file
  • NotificationFormat (default: [{timestamp:yyyy-MM-dd HH:mm:ss}] {message}) — Format string for system notifications written to the log file

Tag cleaning: Use CleanChatSinkTags in the core Fomo config to strip TMP formatting tags from messages before they reach any sink, including this one.

Format Placeholders

The MessageFormat and NotificationFormat settings accept the following placeholders:

  • {timestamp} — message time; accepts a C# DateTime format specifier (e.g. {timestamp:HH:mm})
  • {channel} — full channel label use {channel:short} for just the first character (G / L)
  • {username} — display name of the sender
  • {message} — message body
  • {distance} — distance in metres for local messages, empty for global/notifications
  • {source} — internal message source identifier
  • {playerid} — sender's player ID

Log Format

Each day writes to a separate file named after the base path with the date inserted before the extension:

~/on-together/fomo/on_together_chat_log_2026-03-29.txt

~/on-together/fomo/on_together_chat_log_2026-03-28.txt...

With the default MessageFormat:

[2026-03-29 21:30:15] [G] PlayerName: hello world

[2026-03-29 21:31:02] [L] OtherPlayer: hey nearby!

[2026-03-29 21:32:45] PlayerName joined the lobby.

Installation

Use r2modman or the app for the simplest install. Fomo must be installed first.

Manual:

  • Install Fomo first
  • Copy AndrewLin.FomoChatLog.dll into BepInEx/plugins/
  • Launch the game — a config file will be generated at BepInEx/config/com.andrewlin.ontogether.fomochatlog.cfg

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackAndrewLin-Fomo

檔案與校驗

檔案名稱
FomoChatLog-1.2.9.zip
檔案大小
37.7 KiB