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.
Code context — No chat feature today, but the recipient primitive exists:
FirmStaffService.getOnlineEmployees(firm)returns online staff + proprietor, andMessage.send(Collection<Player>, …)is already used elsewhere.Approach: add a
ChatCommands@Route("chat <firm> <message>")(greedy arg), resolve recipients viagetOnlineEmployeesfiltered to the sender's membership, broadcast with abusiness.chat.formatmessage key, register inCommanderModule. A toggle-channel mode (like/f chat) is a later enhancement on top of the one-shot form.