This mod for UNBEATABLE adds support for WebSocket communication with the game.
This is useful if other programs want to control the game, for example to load and play custom maps programmatically.
- Loading custom maps from a specified directory
- (Planned) Loading custom Beatball maps
- Download and install BepInEx 5 into your UNBEATABLE game directory. (If you have this already, skip to step 3)
- Run the game, then close it
- Download this mod
- Merge the BepInEx folder from this mod with the BepInEx folder in your game directory
- Run the game
- Use the WebSocket server at
ws://localhost:5080to communicate with the game
Send the following text messages to the WebSocket server to interact with the game:
ping - Sends "pong" back. Can be used to check if the server is running.
play <file path>: Load and play a custom map from the specified file path.
play_beatball <file path>: Not fully implemented yet - Load and play a custom Beatball map from the specified file path.
Installation instructions adapted from the SmarterAssistMode mod.