Headless host
Generate a one-hour token to start a headless room with the BixBall SDK (HBInit). Like HaxBall’s headlesstoken page.
const { HBInit } = require("bixball-sdk");
const room = HBInit({
roomName: "My Room",
public: true,
stadium: "Classic",
token: "PASTE_TOKEN_HERE"
});
room.connect(process.env.BIXBALL_WS);