Simple 1x1/2x2/3x3 futsal script for Haxball Headless Host (and for deploying with haxball.js).
- Starts and stops the match automatically, pausing and unpausing the game to give players time to prepare
- Moves players automatically depending on the number of users in the room
- Winning players are always moved to the red team
- Includes a practice stadium mode for when a player is waiting for opponents
- Automatically moderates the room:
- Kicks players when they become AFK
- Bans players when their message/name contains "bad" words (listed in the
badwords.txt
file) - Kicks players when they spam
- Kicks players when they join from a network whose IP is already connected
- Gives admin permissions to players whose public ID is listed in the
adminlist.txt
file
- Includes a command system (
commands.ts
)
A room running this script is currently (hopefully still) deployed. You can check it out by searching for its name in the 🇵🇹 (portuguese) section of the Haxball room list.