Paradaux
IssuesPAR-20BacklogOpen ↗
0

Business chat (private channel for business employees to chat with eachother in game akin to /f chat from factions)

Private business chat — a channel for a firm's employees to talk in-game, akin to Factions' /f chat.

Technical notes — No chat feature today, but the recipient primitive exists: FirmStaffService.getOnlineEmployees(firm) returns online staff + proprietor, and Message.send(Collection<Player>, …) is already used. Add a ChatCommands @Route("chat <firm> <message>") (greedy arg), resolve recipients via getOnlineEmployees filtered to the sender's membership, broadcast with a business.chat.format key, register in CommanderModule. A toggle-channel mode (true /f chat) is a later enhancement on the one-shot form.

Comments

tesks · Jun 4, 2026, 9:57 AM

Code context — No chat feature today, but the recipient primitive exists: FirmStaffService.getOnlineEmployees(firm) returns online staff + proprietor, and Message.send(Collection<Player>, …) is already used elsewhere.

Approach: add a ChatCommands @Route("chat <firm> <message>") (greedy arg), resolve recipients via getOnlineEmployees filtered to the sender's membership, broadcast with a business.chat.format message key, register in CommanderModule. A toggle-channel mode (like /f chat) is a later enhancement on top of the one-shot form.

Activity

  • tesks description: Description updatedJun 4, 2026, 10:01 AM
  • tesks commentedJun 4, 2026, 9:57 AM
  • tesks assigned Assigned to rianJun 4, 2026, 9:27 AM