ModsFinder

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.

FabricClient-side onlyCC0 1.0 UniversalOpen source1.21.5

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

  1. Plain text and JSON modes

    Messages can be exchanged as plain text or as JSON objects, chosen in the configuration.

  2. Chat and command relay

    Chat messages and commands are passed through the WebSocket connection in both directions.

  3. In-game configuration

    The port and communication type are set in a screen opened through owo-config from the game's mod list.

  4. Local connection by default

    The default address is ws://127.0.0.1:8080, so the connection stays on the player's own machine.

Compatibility

Latest build for each game version and loader.

1.21.51.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

oωo (owo-lib)A general utility, GUI and config library for modding on Fabric and Quilt
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
ChatSocketFabric1.21.5Client-side only2025-05-16
MineSocketFabric1.21 – 1.21.8Server-side only2025-03-27
Discord Chat LoggerFabric1.21 – 1.21.11Client-side only2025-12-01

Questions

Does ChatSocket need owo-lib?

Yes. The oωo (owo-lib) library is required, and it provides the in-game configuration screen.

Which communication type should be chosen?

Plain text mode suits simple tests, while JSON mode suits tools that parse structured messages, such as IntelliJ WebSocket plugins.

Does ChatSocket work on a server?

ChatSocket is client-side only, so a server does not need to run it. Each player who wants the connection installs it on their own client.

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

All projects

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
Ari24-cb24, on the Modrinth page

Official listing

Owner
Ari24-cb24
Published
2025-05-13
Updated on Modrinth
2025-05-16
Facts verified
2026-10-15

Tags