CurseForge · Minecraft mod
CloudChatMC
Chat with friends across any Minecraft server — no plugins needed. Powered by a free Cloudflare Worker backend with token-based identity, global chat, and private messaging.
Quick answer
Which CloudChatMC release should I use?
CloudChatMC 1.0.0 targets 1.21.8, 1.21.5, 1.21.4 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is CloudChatMC required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does CloudChatMC 1.0.0 need?
CloudChatMC 1.0.0. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add CloudChatMC without breaking your instance.
Built for CloudChatMC 1.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use CloudChatMC 1.0.0. It targets 1.21.8, 1.21.5, 1.21.4 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside CloudChatMC 1.0.0. It opens that exact file at the source.
About this project
What does CloudChatMC add?
CloudChatMC
CloudChatMC is a client-side Fabric mod that creates a private, persistent chat tunnel between you and your friends — completely independent of whatever Minecraft server you're all playing on.
Whether you're on different servers, different worlds, or one of you is in singleplayer, CloudChatMC keeps you connected through a free Cloudflare Worker backend.
Features
- Global chat — Send messages to all connected friends at once
- Private messaging — Send direct messages to specific players
- Online tracking — See who's currently connected with
/ccmc online - Token-based identity — Each player has a unique token, no login needed
- Encrypted messages — All messages are encoded before sending
- Auto-reconnect — Automatically reconnects if the connection drops
- Message queueing — Messages received during game load are not lost
- Config command — Update your token and server URL in-game without restarting
Commands
| Command | Description |
|---|---|
/ccmc msg <message> |
Send a global message to all connected players |
/ccmc pm <player> <message> |
Send a private message to a specific player |
/ccmc online |
Show all currently connected players |
/ccmc status |
Show your current connection status |
/ccmc config <token> <url> |
Update token and WebSocket URL at runtime |
/ccmc help |
Show all available commands |
Setup
CloudChatMC requires a Cloudflare Worker backend to relay messages. Follow the steps below to host your own — it's completely free.
Step 1 — Create a Cloudflare Worker
- Go to Cloudflare Dashboard and sign up for free
- Go to Workers & Pages → Create
- Create a new Worker with any name (e.g.
cloudchatmc)
Step 2 — Set up Wrangler CLI
npm install -g wrangler
wrangler login
mkdir cloudchatmc-worker
cd cloudchatmc-worker
Step 3 — Create wrangler.toml
name = "your-worker-name"
main = "worker.js"
compatibility_date = "2024-01-01"
[[durable_objects.bindings]]
name = "CHAT_ROOM"
class_name = "ChatRoom"
[[migrations]]
tag = "v1"
new_sqlite_classes = ["ChatRoom"]
Replace your-worker-name with the name you gave your Worker.
Step 4 — Create worker.js
// Add your tokens and player names here
// Format: "TOKEN": "PlayerName"
// Generate strong random tokens — avoid special characters
// Example: use alphanumeric strings of 32+ characters
const TOKENS = {
"token_for_player1": "Player1",
"token_for_player2": "Player2",
"token_for_player3": "Player3",
"token_for_admin": "Admin"
};
export class ChatRoom {
constructor(state, env) {
this.clients = new Map();
}
async fetch(request) {
if (request.headers.get("Upgrade") !== "websocket") {
return new Response("WebSocket only", { status: 400 });
}
const url = new URL(request.url);
const token = url.searchParams.get("token");
if (!token || !TOKENS[token]) {
return new Response("Unauthorized", { status: 401 });
}
const username = TOKENS[token];
const existing = this.clients.get(username);
if (existing) {
try { existing.close(1000, "Replaced by new connection"); } catch {}
this.clients.delete(username);
}
const [client, server] = new WebSocketPair();
server.accept();
this.clients.set(username, server);
this.broadcast({ type: "join", user: username });
server.addEventListener("message", (event) => {
let data;
try {
data = JSON.parse(event.data);
} catch {
return;
}
if (data.type === "broadcast") {
this.broadcast({ type: "msg", from: username, data: data.data });
} else if (data.type === "private") {
const target = this.clients.get(data.to);
if (target) {
try {
target.send(JSON.stringify({
type: "pm",
from: username,
data: data.data
}));
} catch {
this.clients.delete(data.to);
this.safeSend(server, { type: "error", message: "Player not online" });
}
} else {
this.safeSend(server, { type: "error", message: "Player not online" });
}
} else if (data.type === "list") {
this.safeSend(server, {
type: "list",
users: [...this.clients.keys()]
});
}
});
server.addEventListener("close", () => {
this.clients.delete(username);
this.broadcast({ type: "leave", user: username });
});
server.addEventListener("error", () => {
this.clients.delete(username);
});
return new Response(null, { status: 101, webSocket: client });
}
broadcast(obj) {
const msg = JSON.stringify(obj);
const dead = [];
for (const [name, ws] of this.clients) {
try {
ws.send(msg);
} catch {
dead.push(name);
}
}
for (const name of dead) this.clients.delete(name);
}
safeSend(ws, obj) {
try { ws.send(JSON.stringify(obj)); } catch {}
}
}
export default {
async fetch(request, env) {
if (request.headers.get("Upgrade") !== "websocket") {
return new Response("WebSocket only", { status: 400 });
}
const url = new URL(request.url);
const token = url.searchParams.get("token");
if (!token || !TOKENS[token]) {
return new Response("Unauthorized", { status: 401 });
}
const id = env.CHAT_ROOM.idFromName("global");
const room = env.CHAT_ROOM.get(id);
return room.fetch(request);
}
};
Step 5 — Deploy
wrangler deploy
Your Worker URL will be: wss://your-worker-name.your-subdomain.workers.dev
Step 6 — Configure the mod
Set your token and Worker URL in: .minecraft/config/cloudchatmc.json
{
"token": "YOUR_TOKEN_HERE",
"url": "wss://your-worker-name.your-subdomain.workers.dev"
}
Or use the in-game command:
/ccmc config YOUR_TOKEN wss://your-worker-name.your-subdomain.workers.dev
Token Tips
- Each player gets their own unique token — never share tokens between players
- Use long alphanumeric strings (32+ characters) with no special characters
- Keep tokens private — anyone with a token can connect as that player
- You can generate safe tokens at String Generator
Requirements
- Minecraft 1.21.4-1.21.11
- Fabric Loader 0.16.10+
- Fabric API
Why CloudChatMC?
Most cross-server communication mods require a dedicated server or paid hosting. CloudChatMC uses Cloudflare Workers with Durable Objects which has a generous free tier — making it completely free to run for small friend groups with no maintenance required.
License
GPL-3.0 — free to use, modify, and distribute.
Project description from CurseForge.
Pick your setup
CloudChatMC by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
CloudChatMC versions and loaders
CloudChatMC 1.0.0
cloudchatmc-1.0.0.jar
26 Mar 2026
Looking for an older file? The official CurseForge project page is in Resources.