ChatPlus
Better chat: time of every message, longer history kept across lobby changes and saved to a file, resizable chat window and text size, mention highlight, Up/Down recall, right-click copy. Settings: F3 or /chatplus.
By LightShaper
| Date uploaded | 2 days ago |
| Version | 1.0.0 |
| Download link | LightShaper-ChatPlus-1.0.0.zip |
| Downloads | 17 |
| Dependency string | LightShaper-ChatPlus-1.0.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
ChatPlus
A BepInEx mod for On Together that makes the chat nicer to use: the time of every message, a much longer history that comes back after a lobby change and is saved to a file, and a chat window you can resize.
Features
- Message time in front of every message (and, optionally, of the game's notifications), in the format you like:
14:05,14:05:09,2:05 PM,[14:05]or any .NET time format. Its color and size can be changed. Messages from another day also show the date. - Longer history. The game keeps only 50 lines in the Global tab and 25 in Local; ChatPlus keeps 200 and 100 by default (up to 1000 each).
- History that survives a lobby change. Everything said during the game session is remembered: when you join a lobby (again), the chat shows the earlier messages, marked by an "earlier messages" line. Clicking an earlier message still opens the player's ID card. Players you ignore or muted stay hidden.
- History file. The session's chat is written to
BepInEx/ChatPlus/chat-history.tsv(opens in Excel, LibreOffice or any text editor). On the next game start it is moved tochat-history.previous.tsv, so the history lasts until the game is restarted. Optionally it can be kept across restarts, and readable daily logs (BepInEx/ChatPlus/logs/yyyy-MM-dd.txt) can be written too. - Resizable chat window. Drag the handle at the chat's top-right corner (it shows while the chat is active), or set the width and height in the settings. The frame, the message area and the input field follow; double-click the handle for the game's size. The text size can be changed separately.
- The chat stays where you put it, also after a lobby change or a restart.
- Mention highlight: messages with your name or your keywords are highlighted.
- Up / Down in the empty input field bring back the messages and commands you sent before.
- Right-click a message to copy its text.
- In-game settings window (F3 or
/chatplus); the same settings are in the mod manager's config editor, and edits made there apply while the game is running. - Client-side only: nothing is sent to other players. English and Russian interface (follows the game's language).
Usage
| Action | How |
|---|---|
| Settings window | F3 or /chatplus |
| Resize the chat | drag the handle at its top-right corner; double-click it for the normal size |
| Size from the chat | /chatplus size 150 120 (width and height in %), /chatplus size reset |
| Text size | /chatplus text 120 |
| Message time | /chatplus time on, /chatplus time off, /chatplus time format HH:mm:ss |
| Lines kept in the chat | /chatplus lines 300 150 (Global, Local) |
| Clear the chat | /chatplus clear (the history keeps the lines) |
| Forget the history | /chatplus clearhistory |
| Open the history folder | /chatplus folder |
| Size and position back to normal | /chatplus reset |
| Highlight words | /chatplus keyword add mark, markus, keyword remove mark, keyword list, keyword clear |
| Current settings | /chatplus status |
| Command list | /chatplus help |
/chp is a short alias for /chatplus. Commands are handled on your side and are never posted to the chat. If CommandAPI is installed, the command is also listed by its /help and suggested by CommandTypeahead.
Configuration
BepInEx/config/ontogether.chatplus.cfg (created on first launch; editable from the mod manager's Config editor, also while the game is running).
| Section | Key | Default | Description |
|---|---|---|---|
| General | Language |
Auto |
Auto (the game's language), English, Russian. |
| General | SettingsWindow |
F3 |
Opens / closes the settings window. |
| Time | Enabled |
true |
Show the time in front of every message. |
| Time | Format |
HH:mm |
.NET time format: HH:mm, HH:mm:ss, h:mm tt, [HH:mm]... |
| Time | Color |
#F5EDE1A6 |
#RRGGBB or #RRGGBBAA; empty = the text's color. |
| Time | Size |
85 |
Size of the time, in % of the text. |
| Time | OnNotifications |
true |
Also for the game's notifications. |
| History | GlobalLines |
200 |
Lines kept in the Global tab (the game: 50). |
| History | LocalLines |
100 |
Lines kept in the Local tab (the game: 25). |
| History | RestoreAfterLobbyChange |
true |
Show the session's earlier messages after joining a lobby. |
| History | RestoreNotifications |
false |
Bring back the game's notifications too. |
| History | SaveToFile |
true |
Write the session's chat to BepInEx/ChatPlus/chat-history.tsv. |
| History | KeepAfterRestart |
false |
Keep (and show) the previous game session's history after a restart. |
| History | DailyLogs |
false |
Also write readable logs, one file per day, to BepInEx/ChatPlus/logs. |
| Window | Width, Height |
100, 100 |
Chat window size in % of the game's size (70-300, 50-200). |
| Window | TextSize |
100 |
Chat text size in % (60-200). |
| Window | ResizeHandle |
true |
Show the resize handle on the chat. |
| Window | RememberPosition |
true |
Keep the chat where you dragged it. |
| Window | Position |
(empty) | Saved automatically. |
| Window | CullHiddenLines |
true |
Lines scrolled out of view are not drawn (keeps a long chat fast). Turn it off if chat text shows outside the chat window. |
| Extras | HighlightMentions |
true |
Highlight messages that mention you. |
| Extras | HighlightColor |
#F2C46D |
Highlight color (made see-through). |
| Extras | Keywords |
(empty) | More words that highlight a message, separated by commas. |
| Extras | RecallSentMessages |
true |
Up / Down in the empty input field bring back sent messages. |
| Extras | RightClickCopies |
true |
A right click on a message copies its text. |
Files
| File | What it is |
|---|---|
BepInEx/ChatPlus/chat-history.tsv |
This game session's chat: time, channel, type, Steam ID, name, message, the line as shown. Tab-separated, UTF-8. |
BepInEx/ChatPlus/chat-history.previous.tsv |
The previous game session's chat. |
BepInEx/ChatPlus/logs/yyyy-MM-dd.txt |
Readable logs (only with DailyLogs). |
The files are outside BepInEx/config, so they are not included when you export or share a mod manager profile.
Notes
- Very large line limits make the chat slower: every line is a text object in the game's UI. To keep a long chat fast, lines scrolled out of view are not drawn, and the game's rebuild of all chat lines when the chat fades in or out is skipped unless the font outline really changed (it changes only in the desktop overlay modes).
- The size is in % of the game's chat window. The chat is kept on the screen: if a new size would make it stick out, it is moved.
- Works together with ChatSounds, LocalChatRange, CommandAPI / CommandTypeahead and AndrewLin's mods. ChatResizer (jaide) scales the same window; use one of the two.
Installation
Thunderstore Mod Manager / r2modman: install from the mod list, or use Settings -> Import local mod with the package zip.
Manual: install BepInExPack, then copy ChatPlus.dll into BepInEx/plugins/.
CHANGELOG
Changelog
1.1.0
- Split collapsed-chat notifications into separate Global and Local message counters (up to 99 each), reset when the chat is expanded.
- Added independent visibility settings for both counters in the F3 window (English/Russian) and the Notifications config section. Changes apply while the game is running.
- Only received player messages count; own messages, restored history and game notifications are excluded.
1.0.1
- Added the public GitHub repository link to the package website and README.
- Published source code and packaged downloads on GitHub. Mod behavior is unchanged.
1.0.0
- Initial release.
- Time in front of every chat message (format, color and size can be changed; optional for notifications; the date for messages from another day).
- Longer chat history: 200 lines in Global and 100 in Local by default (the game keeps 50 and 25), up to 1000 each.
- The game session's chat comes back after a lobby change, and is saved to
BepInEx/ChatPlus/chat-history.tsv; optionally kept across game restarts, optional readable daily logs. - Resizable chat window: a handle at the top-right corner of the chat, width and height settings, a 9-sliced frame; text size setting; the chat remembers where it was dragged.
- A long chat stays fast: lines scrolled out of view are not drawn, lines are re-wrapped once a resize settles, and the game's rebuild of all lines when the chat fades in or out is skipped when nothing changed.
- Highlight of messages that mention you, Up / Down recall of sent messages, right-click copy of a message.
- In-game settings window (F3 or
/chatplus),/chatplus(/chp) commands, config edits in the mod manager apply while the game is running. - English and Russian interface.
- Optional integration with CommandAPI (
/helplisting, CommandTypeahead suggestions).