跳到正文

PrivyChat

This is a Minecraft Client, it allow you to send msg messages even if is blocked

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

💬 ClientChat System — Full Specification
🌐 Overview

ClientChat is a Minecraft client-side communication system that adds a global and private messaging layer on top of the game.

It allows players using the same mod to:

communicate across servers (via external backend)
create private chat groups
send direct messages
broadcast messages globally within a server

It does not modify or replace Minecraft server chat, but runs alongside it as a separate communication network.

All communication is handled through a WebSocket-based backend server, which connects all clients using the mod.

⚙️ Core Features
💬 Global Chat System

A shared chat layer for all users connected to the same server or network session.

👥 Private Chat Rooms

Players can create, join, and manage private chat groups.

📩 Direct Messaging

Send private messages to specific players instantly.

🌍 Cross-Server Communication

Players can communicate even while on different Minecraft servers (as long as they are connected to the backend).

🧩 Command System (/chat)

All functionality is accessed through the /chat command.

🌍 /chat
➤ Global Server Chat Message

Sends a message to all players with the ClientChat mod connected to the same server session.

Behavior:

Broadcasts to all connected clients
Visible in Minecraft chat with custom formatting
Includes player name prefix

Example:

/chat Hello everyone!

Output:

[Steve] Hello everyone!
🧠 /chat create
➤ Create Private Chat Room

Creates a private chat room.

Behavior:

Player becomes the owner of the room
Room is registered in backend server
Only invited users can join

Example:

/chat create friends
📩 /chat invite
➤ Invite Player to Current Room

Invites a player to the chat room you are currently in.

Behavior:

Sends invite request through backend
Player receives notification
Player must accept via /chat join

Example:

/chat invite Alex
🚪 /chat join
➤ Join a Chat Room

Joins a room you have been invited to.

Behavior:

Backend verifies invitation
If valid → adds player to room
If not invited → error message

Example:

/chat join friends

Responses:

✅ Success: Joined room
❌ Error: You are not invited
🚪 /chat leave
➤ Leave Current Chat Room

Removes player from current active room.

Behavior:

Player stops receiving room messages
Returns to global chat mode

Example:

/chat leave
🗣️ /chat tell
➤ Private Direct Message

Sends a private message to a specific player.

Behavior:

Works regardless of rooms
Player does not need to be online in same server
Message highlighted (e.g. yellow or special format)

Example:

/chat tell Alex hey, where are you?

Output (receiver):

[DM] Steve → You: hey, where are you?
🌐 /chat global
➤ Force Global Broadcast

Sends a message to everyone in the current server session, even if inside a private chat room.

Behavior:

Overrides room restrictions
Visible to all connected clients in that server
Used for announcements or urgent messages

Example:

/chat global Server restarting in 5 minutes!
🧠 System Rules
🧩 Chat Modes

Players always exist in one of these states:

🌍 Global mode
👥 Room mode
🚪 None (default fallback)
🔐 Permissions Logic
Rooms require invitation to join
Only room members receive room messages
Direct messages bypass all restrictions
Global messages are always public
📡 Message Flow
Player types /chat command
Client mod intercepts command
Message converted into JSON packet
Sent to WebSocket server
Server processes logic (rooms, invites, routing)
Server broadcasts to correct clients
Clients display message in Minecraft chat UI
🌐 Backend Requirement

The system requires a lightweight server:

WebSocket-based (recommended)
Handles:
connected players
rooms
invitations
message routing

Without this backend, communication cannot work between different players.

🎨 Chat Presentation (Client Side)

Messages can be styled as:

🌍 Global: white text + player prefix
👥 Room: colored room tag
📩 DM: yellow highlight
🚨 Global override: red or bold

Example:

[GLOBAL] Steve: Hello!
[FRIENDS] Alex: yo
[DM] Steve → Alex: hi
🚀 Concept Summary

ClientChat is a Minecraft social communication layer that:

works client-side
connects players via external server
adds global chat, rooms, and DMs
behaves like a lightweight Discord inside Minecraft

常见问题

PrivyChat 支持哪些 Minecraft 版本?

PrivyChat 支持 Minecraft Java 版 26.1.2–26.2,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

PrivyChat 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分