groupchat-fabric-2.0.0.jar
Curse Maven Snippet
What's new
GroupChat 2.0 is here — history, toggle chat, and a full hardening pass. This is everything that landed since the original 1.0 Modrinth release (now tracked in git).
Requires Minecraft 26.3+ • JDK 26 • Fabric needs Fabric API
What's New
★ Group History (last 5 messages)
Every group message is now saved for every member in history.json. Pull it anytime:
/group history • /group <group> history [1-5] • /gmsg history [group] • gm/gmoffline aliases too. If you're only in one group you can omit the name.
★ Toggle Chat Mode
Lock your chat to a group so you don't have to type /gmsg every line:
/group toggle mySquad or /gmsg toggle — every chat line goes to that group until you toggle off, type cancel, or log out.
★ Smart selection for multi-group players
In multiple groups and forget the name? /group toggle or /group history without a group now prompts you in chat — just type the group name or cancel.
★ Fabric fix — groups no longer vanish
Fabric now saves to the correct FabricLoader.getGameDir()/groupchat with auto-migration from old paths. Paper was already correct.
★ Startup visibility Both Paper and Fabric log the data folder and loaded group count on enable.
Fixes
- Fabric restart persistence (canonical gameDir + migration)
- Paper logging parity with Fabric
Security & Reliability (10 fixes)
- Atomic saves (
tmp→ATOMIC_MOVE), auto-backup of corrupt JSON, strict validation on load - Mailbox limits: 500 chars per message, 200 messages per player, § sanitization, 30-day expiry prune
/unreadnow paginated:/unread [page|clear]/group membersrequires membership, invite duplicate check- New permissions:
groupchat.use(default true) on all Paper commands,groupchat.admin(op) reserved - Name↔UUID cache to avoid Bukkit lookup spam
- Full audit logging for create/delete/invite/accept/decline/leave/kick and owner transfers
Technical
- Retargeted to Minecraft 26.3, JDK 26, Loom 1.18.2, Loader 0.19.5, Paper API 26.3.build.8-alpha
- Core now includes
GroupHistoryStore,GroupHistoryEntry,ToggleSession; history+toggle cleaned on leave/kick/delete.
Full changelog with commit hashes: https://github.com/ThermedWolf/group-chat/releases/tag/v2.0.0
This mod has no additional files
