


Protocol definitions (like network message codes) can be found in pkg/protocol. pkg/game/ has game mode logic like teams, timing, flags, and so on. Detailed packet handling can be found in /pkg/server/ along with other server logic like managing the current game. configuration file parsing, initialization of all components, and preliminary handling of incoming packets. cmd/waiter/ contains the actual command to start a server, i.e. in case a player re-connectsĪll functionality is organized into packages. capture and regen capture (capture base events).The server requires config.json, bans.json and users.json to be placed in the working directory. Clone the repository, cd waiter, then make all.
Cube 2 sauerbraten visor install#
Make sure you have Go installed as well as the ENet development headers (on Fedora: sudo dnf install enet-devel, on macOS: brew install enet). claiming privileges using /setmaster 1 (relinquishing them with /setmaster 0 and sharing master using /setmaster 1 already works).coop edit mode (including /sendmap and /getmap).Some things are specifically not planned and will likely never be implemented: /checkmaps (will compare against server-side hash, not majority).any modes requiring bases (capture) or tokens (collect).Pretty much everything else is not yet implemented: competitive 0|1: in competitive mode, the server waits for all players to load the map before starting the game, and automatically pauses the game when a player leaves or goes to spectating mode.queuemap : check the map queue or enqueue one or more maps.persist): set to 1 to disable randomizing teams on map load These can be used either as #cmd bla foo or /servcmd cmd bla foo: queueing maps ( queuemap server command).locking teams ( keepteams server command).

local auth ( /sauth, /dauth, /sauthkick, /dauthkick, auth-on-connect).changing weapon, shooting, killing, suiciding, spawning.ffa, insta, insta team, effic, effic team, tactics, tactics team.
