Skip to content

Send chat message from server from Plugin? #248

Answered by miniduikboot
cfpwastaken asked this question in Q&A
Discussion options

You must be logged in to vote

To handle a chat command, you can use https://github.com/Impostor/Impostor/blob/master/src/Impostor.Api/Events/Game/Player/IPlayerChatEvent.cs and cancel the event to stop the message from being shared with other players

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TouseefX
Comment options

@miniduikboot
Comment options

Answer selected by miniduikboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants