BharatMC Social
Overview
Section titled “Overview”BharatMCSocial provides a unified social layer spanning all subservers across the BharatMC Network. Players on Lifesteal can effortlessly chat with, friend, and message players on Survival, Hub, or Practice without boundary restrictions.
Like our vote architecture, WebSockets have been eliminated in favor of Redis streams and encrypted Redis Pub/Sub channels for zero network overhead.
⚡ Core Features
Section titled “⚡ Core Features”1. End-to-End Encrypted Private Messages (ECDH)
Section titled “1. End-to-End Encrypted Private Messages (ECDH)”- Private direct messages (
/msg) utilize Elliptic Curve Diffie-Hellman (ECDH) key exchanges with AES-GCM 256-bit encryption. - Keys rotate automatically every 30 days to guarantee forward secrecy.
- Server memory caches decrypt only for delivery, protecting player privacy against unauthorized inspection.
2. Cross-Server Friend System
Section titled “2. Cross-Server Friend System”- Send and accept friend requests regardless of which backend server either player is connected to.
- Friends receive real-time join/quit toasts and cross-server server-switch notifications.
3. Offline Mail System
Section titled “3. Offline Mail System”- If a target player is offline,
/mail send <player> <message>queues the envelope in Redis/database. - Upon next login on any server, the player receives an unread mail notification.
4. Player Profiles & Custom Status
Section titled “4. Player Profiles & Custom Status”- Players can set personalized bio messages (
/status <text>) and toggle Do-Not-Disturb (/dnd).
📋 Commands Reference
Section titled “📋 Commands Reference”| Command | Usage | Description |
|---|---|---|
/msg / /w / /tell |
/msg <player> <message> |
Send a cross-server encrypted direct message |
/r / /reply |
/r <message> |
Quickly reply to the last private message received |
/friend add |
/friend add <player> |
Send a cross-network friend request |
/friend accept |
/friend accept <player> |
Accept a pending friend request |
/friend list |
/friend list |
Display list of friends and their current server location |
/mail send |
/mail send <player> <msg> |
Send an offline message |
/mail read |
/mail read |
Read pending offline mail messages |
/ignore |
/ignore <player> |
Block messages and friend invites from a player |
/status |
/status <message> |
Set a custom status message on your profile |
/dnd |
/dnd |
Toggle Do Not Disturb mode (blocks whispers) |
/lastseen |
/lastseen <player> |
Check when a player was last online and on what server |
/report |
/report <player> <reason> |
Dispatch cross-network player report to staff |