A Fomo add-on for On Together that exposes in-game chat as a WebSocket server, enabling real-time external integrations.
EnableFeature is trueType any command into the in-game chat. Commands start with / and are not sent to other players.
/fomowebsockettoggle (/fwst) — Toggle the WebSocket server on/off/fomowebsocketport [port] (/fwsp) — Get or set the WebSocket server port (default: 8765)/fomowebsocketmessageformat [format] (/fwsmf) — Get or set the chat message format string/fomowebsocketnotificationformat [format] (/fwsnf) — Get or set the notification format string/fomowebsockettoggle
/fomowebsocketport 9000
/fomowebsocketmessageformat [{timestamp:HH:mm} {channel:short}] {username}: {message}
Located in BepInEx/config/com.andrewlin.ontogether.fomo.websocket.cfg
EnableFeature (default: true) — Start the WebSocket server automatically when the game launchesWebSocketChatPort (default: 8765) — Port the WebSocket server listens onMessageFormat (default: [{timestamp:HH:mm} {channel:short}] {username}: {message}) — Format string for chat messages sent to clientsNotificationFormat (default: [{timestamp:HH:mm}] {message}) — Format string for notifications sent to clientsThe 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 IDEnableFeature is truews://localhost:8765/fomowebsockettoggle in chat to start or stop the server at runtimeEach chat message arrives as a plain text string formatted according to MessageFormat. Notifications use NotificationFormat.
Send any plain text string to the WebSocket server. It will be injected into the in-game chat input. Fomo commands (e.g. /fomohelp) are also supported.
Use r2modman or the Thunderstore app for the simplest install. Fomo must be installed first.
Manual:
AndrewLin.FomoWebSocket.dll into BepInEx/plugins/