ChatSocket
by Ari24-cb24
ChatSocket opens a WebSocket connection so Minecraft chat messages, commands and game events can be sent to and received from external programs.
What it does
Once the game starts, ChatSocket listens on the local address ws://127.0.0.1:8080 by default, and the port can be changed in the in-game configuration screen. A connected client can receive chat messages from the game and send messages back into it. The mod is aimed at players who keep Minecraft open while working or playing other games and want chat to stay visible in a separate window.
The mod offers two communication types. In plain text mode, messages travel as raw text with no structure. In JSON mode, each message is wrapped in a JSON object, which suits tools such as IntelliJ WebSocket plugins that parse structured data. The update event is still sent as a JSON object in plain text mode, so a parser can rely on that one message type. Testing a connection with a browser extension such as Weasel Websocket works well. The configuration is handled by owo-config, which needs the oωo (owo-lib) library, and it can be opened from the game's mod list screen.
ChatSocket is client-side only, so only the player needs it, and servers do not have to run it. It is released into the public domain under CC0 1.0 Universal and is open source, with the source code published.
Key features
Plain text and JSON modes
Messages can be exchanged as plain text or as JSON objects, chosen in the configuration.
Chat and command relay
Chat messages and commands are passed through the WebSocket connection in both directions.
In-game configuration
The port and communication type are set in a screen opened through owo-config from the game's mod list.
Local connection by default
The default address is ws://127.0.0.1:8080, so the connection stays on the player's own machine.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Players who keep Minecraft running alongside other programs, and developers who want to read or send chat messages from their own tools.
How it compares
ChatSocket is client-side only, open source under CC0 1.0 Universal, and published for 1.21.5 only. MineSocket is server-side only, open source under the MIT License and covers 1.21 – 1.21.8, so it is installed on the server rather than by players. Discord Chat Logger is also client-side only and open source under the MIT License, but it covers 1.21 – 1.21.11 and sends messages to Discord rather than to a WebSocket.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ChatSocket | Fabric | 1.21.5 | Client-side only | 2025-05-16 |
| MineSocket | Fabric | 1.21 – 1.21.8 | Server-side only | 2025-03-27 |
| Discord Chat Logger | Fabric | 1.21 – 1.21.11 | Client-side only | 2025-12-01 |
Questions
Does ChatSocket need owo-lib?
Which communication type should be chosen?
Does ChatSocket work on a server?
In the catalog
ChatSocket is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from Ari24-cb24
Similar mods
What the author says
A simple mod providing a web socket connection for sending and receiving chat messages / commands. Made for lazy people having Minecraft in the background while playing other games or developing. Ingame Config is available via owo-config (also accessible via mod-menu). There you can configure
Official listing
- Modrinth page
- modrinth.com/mod/chatsocket
- Owner
- Ari24-cb24
- Published
- 2025-05-13
- Updated on Modrinth
- 2025-05-16
- Facts verified
- 2026-10-15
