-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow plugins to send game state changes #103
Comments
This is kind of a global request. There are a lot of packets that modify game state. |
I meant more like having a Game.SetGamrState(GameStates.Fimished) function. "Finished" being when the victory screen comes up. I'm probably not using the correct terminology. |
But how do you propose the finished screen to show? There's not really a packet for it so we need to use hacky methods. |
Does MessageFlags.EndGame not put all the clients into an end of game state? |
Nope, as I described in my comment on #108:
I do not think there is a way to achieve this without client-side mods, unless what you said actually works:
|
Update: Sending an EndGame message could potentially work. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Api Suggestion
Suggestion
Plugins should be able to send a packet changing all of the clients game states.
Use case
Having a custom victory / loss scenario. I currently achieve this but setting all clients to Impostor to end the round.
Expected result
Plugins able to set the game state and the clients act accordingly.
The text was updated successfully, but these errors were encountered: