Skip to content

Haxball bot to manage battle royal rooms

Notifications You must be signed in to change notification settings

7PH/haxball-battle-royal

Repository files navigation

HaxBall Battle Royal Bot

To use this bot, it's super simple:

With cloning the repo (easier if you know how to use git)

  1. Setup the bot:
    git clone https://github.com/7PH/haxball-battle-royal.git
    cd haxball-battle-royal
    npm install
  2. Get a token here
  3. 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.

Without cloning the repo

  1. Get a token here
  2. Open this page in your browser
  3. Open the browser console (F12 on chrome, Ctrl+Shift+J on firefox)
  4. Write HAXBALL_TOKEN="$YOUR_TOKEN$" in the console and hit enter (replace $YOUR_TOKEN$ with your token)
  5. Copy and paste this code in the console and hit enter
  6. That's it! Your battle royal room is running