| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||
| README.md | ||
| settings.gradle.kts | ||
DuneChat
Chat prefixes and private channels. Built on canonical main 5d727d7. Not pushed. Not tested in game.
What players see
Public chat: [STAFF]/[VIP] [Race] [CLAN TAG] [Company] Name: message. Order is prefix-order in config.yml. Race colour follows the house colour used by the nameplates.
| Command | Does |
|---|---|
/cc <msg> (/clanchat) |
one message to your clan. /cc alone toggles clan chat mode |
/coc <msg> (/companychat) |
same for your company |
/sc <msg> (/staffchat) |
staff only, permission dunechat.staff |
/g (/gc) |
back to public chat |
/chatspy |
staff with dunechat.spy also see clan and company chat |
You can be in one clan and one company at the same time; each has its own private channel. Private chat is logged to the console (log-private-chat).
Where the data comes from
The same central briefing the nameplates use (briefing.identity: staff, vip, clans, companies), pushed in by a 5-line hook in DuneRealmsGUI (DuneGUI.pushChatIdentity, reflection, no hard dependency). Group membership keys on the central id when the briefing carries one, otherwise on the name, so please confirm the briefing includes ids.
Safety
- Names and tags are stripped of
& § % < >and control characters before they reach a prefix; the message itself is never colour-parsed. - Never un-cancels chat: a mute or filter from another plugin still wins.
- Leaving a clan or company while in its channel drops you back to public chat.
Install
- Build:
gradle -p DuneChat build->build/libs/DuneChat.jar. - Apply the DuneRealmsGUI change (DuneGUI.java, plugin.yml softdepend), rebuild DuneRealmsGUI.
- Grant
dunechat.staff/dunechat.spythrough LuckPerms.
Verified / not verified
CI: DuneChat compiles; 7 unit tests (parsing, prefix order, injection, group isolation, staff rules). The DuneRealmsGUI edit was not compiled in CI (that module needs another module missing from the cut-down CI tree; the errors seen were unrelated). Not tested: real chat events, other chat plugins (LuckPerms prefixes, DuneEss, DuneMenus chat prompts), Bedrock clients.
Limits
- Per server only: planets are separate servers, so clan/company/staff chat does not cross servers. A proxy relay would be a separate piece.
- No mute, filter, cooldown or channel history.

Staff