In addition to the existing GameStateChanged event, I propose introducing a new method to allow mods to directly query the current server game state. This would provide more control for mods to access and react to the game state, rather than relying solely on listening for state change events.
This would help BG3MCM to detect whether settings changes could be performed by the client (if being operated while in the main menu and server context is uninitialized) or should be requested to be performed by the server (after a save has been loaded).
In addition to the existing
GameStateChanged
event, I propose introducing a new method to allow mods to directly query the current server game state. This would provide more control for mods to access and react to the game state, rather than relying solely on listening for state change events. This would help BG3MCM to detect whether settings changes could be performed by the client (if being operated while in the main menu and server context is uninitialized) or should be requested to be performed by the server (after a save has been loaded).