Wazarr94 / haxball_bot_headless

Ready-to-go scripts and functions for the HaxBall Headless API !
MIT License
46 stars 74 forks source link

stats in a private room? #43

Closed iwishiknewcoding closed 2 years ago

iwishiknewcoding commented 2 years ago

would it be possible to enable stats in a private room (without auto team balance)? I know it might not be 100% accurate in an admin-managed room, but I'm fine with the small margin of error.

Wazarr94 commented 2 years ago

I think the way I'd do this is to start with the public script and remove everything to make it act the same as a private room. For instance, you'd remove the handlePlayersJoin, the captain pick process, etc.

Don't hesitate to open another issue if you have a more specific question