Script | Haxball

If you're looking for scripts to modify or enhance your Haxball experience, here are a few general points and examples:

Popular Scripts You Should Know

Over the last decade, several scripts have become household names in the Haxball community. If you search for these, you will find repositories and ready-to-use code. Script Haxball

  1. HaxLadder (aka "Swiss") – The gold standard for 3v3 and 4v4 ranked matches. Includes Elo, matchmaking queues, and autobalance.
  2. Boom Script – The definitive script for the Bomberman-style HaxBoom game mode.
  3. Haxball Manager – A complete tournament management script with team creation, transfers, and a "club" system.
  4. Anti-Noob Script – A simple moderation script that locks positions, prevents goal camping, and enforces fixed goalkeeper roles.
  5. Trackball – Focuses on statistics: goal/minute, pass accuracy, speed boost usage (yes, scripts can track speed boost).

Where to find scripts? GitHub (search "Haxball script"), the official Haxball forums (section: Scripting & Modding), or Discord communities like "Haxball Devs" or "Headless Haxball." If you're looking for scripts to modify or


Case Study: Fun Modes

Without scripts, none of these experiences exist. HaxLadder (aka "Swiss") – The gold standard for


Modifying Physics

While you cannot change core physics like friction or ball mass, you can simulate changes using setStadium() to load a custom .hbs stadium file. You can also manipulate player positions via setPlayerDiscProperties() to apply "invisible forces."

Reading the Auth Token

Every Haxball player has a unique Auth token. Saving this allows permanent bans and persistent stats.

let auth = player.auth; // This is a unique string per computer

Getting Started

1. Ranking & Ladder Systems (Elo)

The most popular use of scripts is competitive ranking. Rooms using scripts like Swiss Ladder or HB Ladder calculate Elo ratings for every player.