Closed CRTified closed 2 years ago
I think it's fine for now.
Maybe a future improvement could be making the messages configurable. Specifically I'm thinking of "Everyone went to bed" since resource packs like "vanillatweaks" introduce multiplayer sleep.
This PR adds messages for both
PlayerDeathEvent
andTimeSkipEvent
, so that the matrix-side of the bridge gets a notification when either all players went to bed or a player dies.I think this PR is slightly opinionated, as it introduces some constant strings ("Everyone went to bed"). I don't know whether the server messages ("$Player joined/quit the game") can be configured to be non-english, so it might be unpleasant if it is the case.