]> git.deb.at Git - rhonda/impostor.git/commit
Implement host chat commands
authorminiduikboot <mini@duikbo.at>
Tue, 27 Jan 2026 21:17:03 +0000 (22:17 +0100)
committerminiduikboot <mini@duikbo.at>
Tue, 27 Jan 2026 21:17:03 +0000 (22:17 +0100)
commitfbdb70894196d6b121835df6ee760a4453943648
tree45152ebd328ce3cefce86e72a46bba8b58f16155
parent9a60ce3d56bb395e0a2b40b2af59aaff8d65a209
Implement host chat commands

On January 21 Innersloth released a document that details a few new
features. One of these are host chat commands: any chat message that
starts with "/cmd" is forwarded to the host and to the host only.

Implement this feature in Impostor too for implementation parity.

For more info, see their GitHub page:
https://github.com/Innersloth-LLC/AmongUsModdingInformation
src/Impostor.Api/Events/Game/Player/IPlayerChatEvent.cs
src/Impostor.Server/Events/Game/Player/PlayerChatEvent.cs
src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.cs