A Fomo add-on for On Together that relays in-game chat messages to a Telegram group or channel via a Telegram Bot.
ChatSinkLocalRange setting — local messages from players outside your range are filtered before reaching Telegram/newbot and follow the prompts123456789:ABCdefGHI…) to somewhere safe123456789After the first run a config file is generated at:
BepInEx/config/com.andrewlin.ontogether.fomotelegram.cfg
Fill in TelegramBotApiKey and TelegramChatId:
[Telegram]
TelegramBotApiKey = 123456789:ABCdefGHI…
TelegramChatId = 234567890
[Filters]
RelayGlobalChat = true
RelayLocalChat = true
RelayNotifications = true
[Formatting]
MessageFormat = [{channel:short}] {username}: {message}
NotificationFormat = {message}
With the config saved, run /ftr in the in-game chat to reload the config and start the Telegram connection immediately. No game restart required.
To verify what credentials are loaded at any time, run /ftrc.
Type any command into the in-game chat. Commands start with / and are not sent to other players.
| Command | Short | Description |
|---|---|---|
/fomotelegramtoggle |
/ftt |
Toggle Telegram forwarding on/off |
/fomotelegramrestart |
/ftr |
Reload config from disk and restart the Telegram connection |
/fomotelegramreloadconfig |
/ftrc |
Reload config from disk and show the current API key (masked) and chat ID |
/fomotelegramsetupinfo |
/ftsinfo |
Print setup instructions |
/fomotelegrammessageformat [format] |
/ftmf |
Get or set the chat message format string |
/fomotelegramnotificationformat [format] |
/ftnf |
Get or set the notification format string |
/fomotelegramtoggle
/ftr
/fomotelegrammessageformat [{timestamp:HH:mm}] [{channel:short}] {username}: {message}
Located in BepInEx/config/com.andrewlin.ontogether.fomotelegram.cfg
EnableFeature (default: true) — Master switch; disable to pause all Telegram forwarding without removing the pluginTelegramBotApiKey — Your bot token from @BotFather (e.g. 123456:ABC-DEF…)TelegramChatId — Target chat / group / channel ID (group IDs are negative)RelayGlobalChat (default: true) — Forward global chat messages to TelegramRelayLocalChat (default: true) — Forward local chat messages to TelegramRelayNotifications (default: true) — Forward system notifications (joins, leaves, etc.) to TelegramMessageFormat (default: [{channel:short}] {username}: {message}) — Format string for chat messages sent to TelegramNotificationFormat (default: {message}) — Format string for system notifications sent to TelegramThe 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 IDUse r2modman or the Thunderstore app for the simplest install. Fomo must be installed first.
Manual:
AndrewLin.FomoTelegram.dll into BepInEx/plugins/BepInEx/config/com.andrewlin.ontogether.fomotelegram.cfgTelegramBotApiKey and TelegramChatId/ftr in-game to connect - no restart neededIChatSink, ChatEntry, ChatSinkManagerTelegram communication uses the standard .NET
HttpClientagainst the Telegram Bot HTTP API directly — no third-party Telegram library, ensuring full Mono/BepInEx compatibility.
MIT — same as the parent Fomo mod.