To understand OPMode, you must grasp a core principle of Haxball's architecture: .

The Headless Host allows users to run an unmanned Haxball room on a Virtual Private Server (VPS) without graphical rendering or sound. It is controlled entirely through a JavaScript API, making it lightweight and highly customizable. Using functions like HBInit() and RoomConfigObject , hosts can configure every aspect of a room: from roomName and maxPlayers to password and geo location overrides. Through the API, hosts can automate chat messages, manage player admin status, set score limits, change stadiums, and much more.