To use this bot, it's super simple:
- Setup the bot:
git clone https://github.com/7PH/haxball-battle-royal.git cd haxball-battle-royal npm install
- Get a token here
- Start a room (replace
$YOUR_TOKEN$
with your token):HAXBALL_TOKEN=$YOUR_TOKEN$ npm start
Next time you can just do steps 3 and 4.
- Get a token here
- Open this page in your browser
- Open the browser console (F12 on chrome, Ctrl+Shift+J on firefox)
- Write
HAXBALL_TOKEN="$YOUR_TOKEN$"
in the console and hit enter (replace$YOUR_TOKEN$
with your token) - Copy and paste this code in the console and hit enter
- That's it! Your battle royal room is running