Tutorial / Admin panels > Utilities
Game Modes
Run matches with teams, roles, rounds and win rules: 21 built-in modes from Team Deathmatch to Gun Game, Race, Prop Hunt and Survival (PVE waves), plus your own.
What it does
Game Modes is the toolbox's round engine. A mode says how a match is played: teams or free for all, roles with their own gear, a lobby, rounds, a win rule and respawn rules. One match runs at a time.
A match moves through phases: Lobby, Get ready, Live and Round over, repeated for each round. Players keep everything they had: weapons, health, armor, position, model and Build mode are given back when they leave or the match ends.
There are 21 built-in modes, and superadmins can edit them or build new ones. Spawns, lobby and spectator spots and objectives are placed per map with the World > Mode Spots tool.
On Sandbox and Build / PvP servers, everyone joins the lobby when it opens. On RP servers (kgxat_playmode 2) a match is an opt-in event round: only players who type !join take part. Players in and out of the match cannot hurt each other.
Where to find it
Q menu > KGX's Admin Toolbox > Utilities > Game Modes.
- Running matches: admins, or players ticked for Game Modes (start and run matches) in Player Access. Others see only the player commands.
- Creating, editing, duplicating and deleting modes: superadmins only.
- The server settings at the bottom: shown to everyone with access, changeable by superadmins only.
- Players use chat commands (
!join,!leave,!ready,!sitout,!class,!buy,!taunt). The C menu has Match: pick your class and Match: buy menu while you are in a match that uses them.
The panel
Running a match
| Option | What it does |
|---|---|
| Status line | The running mode, phase, time left, player count and round, or "No match is running." Shows "(RP event round)" on RP servers. |
| Mode | The mode to open a lobby for. |
| Open a lobby for this mode | Opens the lobby. Fails if a match or an Events round is already running, or kgxat_match_on is 0. |
| Start now | Starts the lobby at once, skipping the wait, the player minimum and ready-up. |
| End the round | Ends the running round as a draw. |
| End the match | Ends the match after a confirm. Everyone gets their things back. |
| Balance teams | Moves the last players to join from the biggest team to the smallest until teams differ by at most one. With Teams set to even by level or win rate (v3.6.14), it moves the player whose move evens the teams' skill best. |
| Next match line | v3.6.14: what comes next and when, for example "Next match (vote) in 14 s", "Next match: after this one." or "Next match: off (an admin opens lobbies)." |
| Next match now | v3.6.14: skips the wait and starts the next vote or lobby at once. Only while Next match is on and no match or vote is running. |
| Player list | Columns Player, Team, Score, K / D. Out players show "(out)". Right-click a player: Move to a team, or Take out of the match. |
| Add a player to the match | Pick a player who is not in the match to add them. This also clears their sit-out. |
Modes
| Option | What it does |
|---|---|
| Mode list | Columns Mode, Id, Teams (FFA for free for all), Win. Double-click to edit (superadmins). |
| Right-click a mode | Open a lobby. Superadmins also get Edit..., Duplicate... and Delete. |
| New mode... | Superadmins: opens the mode editor with two teams, Red and Blue. |
| Reset the built-in modes (...) | Superadmins: puts every built-in mode back to its original settings and re-adds deleted ones. Your own modes stay. |
Settings
| Option | What it does | Default |
|---|---|---|
| Game Modes can run matches | kgxat_match_on |
On |
| Admins take part like everyone else | kgxat_match_admins. Off: admins are left out of new lobbies unless they !join. |
On |
| Match HUD | kgxat_match_hud |
On |
| Team mates' names over their heads | kgxat_match_tags |
On |
| Match scoreboard on the scoreboard key (v3.6.6) | kgxat_match_scoreboard |
On |
| Kill feed: 0 off, 1 matches, 2 every player kill | kgxat_killfeed |
1 |
| Hit markers: 0 off, 1 matches, 2 every player hit | kgxat_hitmarkers |
1 |
| A lobby starts or is cancelled after (s, 0 = never) | kgxat_match_lobbymax |
300 |
| Next match: 0 off, 1 vote, 2 rotation, 3 random | kgxat_match_next (v3.6.14). After a match ends, and when the map starts, the next lobby opens by itself: 1 = players vote between modes, 2 = the next mode in the mode list's order, 3 = a random mode. Only modes with In the next-mode vote and rotation ticked, that have enough players online and everything they need on this map (Mode Spots). Not on RP servers, where matches are events. |
0 |
| Next match: wait after a match (s) | kgxat_match_next_wait, 5-600. A lobby nobody came to waits at least 120 s. |
20 |
| Next match: modes in the vote | kgxat_match_next_choices, 2-8. The mode just played is left out when there are more than two. Nobody votes: one of the choices at random. |
4 |
| Next match: vote time (s) | kgxat_match_next_votetime, 10-120 |
20 |
| Next match: a map vote every N matches (0 = never) | kgxat_match_next_mapvote, 0-50. After N matches the vote is a map vote (Utilities > Voting map pool, with "Stay on this map"). The new map goes on with the next match by itself. |
0 |
| Hub: 0 nobody gets hurt, 1 no PvP, 2 normal damage | kgxat_arena_hub_damage (v3.6.15): players outside a match on a map with a hub (World > Mode Spots, kind Hub). |
0 |
| Hub gear: 0 Hands only (admins keep theirs), 1 loadouts | kgxat_arena_hub_gear: what players outside a match have in the hub. |
0 |
| Teams: 0 by count, 1 even by level, 2 even by win rate | kgxat_match_balance (v3.6.14). At the match start teams are equal in size either way; 1 and 2 also spread the strong players so the teams' levels (or match win rates) are as even as possible, and say so in a message ("Teams evened by level: Red 12.5, Blue 12"). Not for modes whose sides change every round (Prop Hunt, Hide and Seek, Freeze Tag, Infection) or hidden roles. Win rate leans to 50% for players with few matches. |
0 |
| Match stats: XP, levels, achievements, history (v3.6.11) | kgxat_stats_on. See Match Stats and Progression. |
On |
| Announce level-ups and achievements in chat | kgxat_stats_announce |
On |
| Show levels, name colors and badges | kgxat_stats_cosmetics |
On |
| Players (not bots) a match needs to count | kgxat_stats_min_players |
2 |
| XP rate (%, 100 = normal) | kgxat_stats_xp |
100 |
| Matches kept in the history | kgxat_stats_history |
50 |
| Trails: 0 off, 1 during matches, 2 always | kgxat_stats_trails |
1 |
| Season length in days (0 = a superadmin ends it) | kgxat_stats_season_days (v3.6.14), see Match Stats and Progression |
0 |
| Ended seasons kept | kgxat_stats_season_keep, 1-50 |
12 |
| Apply the numbers | Sends the sliders to the server. | |
| Hit marker sound (only you) | Your own client setting, kgxat_hitmarker_sound. |
On |
| Open Match stats (...) | Opens the Match stats leaderboards; superadmins reset stats and clear the history there. |
The built-in modes
| Mode | Id | How it plays |
|---|---|---|
| Team Deathmatch | tdm |
Two teams. Kills score; first to 50 or the most after 600 s. Respawn after 4 s. |
| Free for All | ffa |
Everyone against everyone. First to 25. Respawn after 3 s. |
| Team Elimination | elimination |
Two teams, one life. Last team standing wins the round; best of 5. |
| Team Objectives | objectives |
Two teams fight over the objectives placed for this mode. First to 300, or the most after 900 s. |
| Class Deathmatch | classes |
Two teams pick a class with !class: Assault, Scout, Sniper, Medic (2 per team), Heavy (2 per team). First to 50. |
| Buy Rounds | buyrounds |
Two teams, one life, best of 9. Earn money and buy gear with !buy while getting ready. |
| Traitors | traitors |
Hidden traitors among innocents, a known detective, body search, equipment shop. 6 rounds, at least 3 players. |
| Murder | murder |
One hidden murderer with a knife, one bystander with a hidden gun. 6 rounds, at least 3 players. |
| Prop Hunt | prophunt |
Props hide as props; hunters wait 30 s blind, then hunt. Teams swap every round; 6 rounds. |
| Hide and Seek | hideseek |
Seekers wait 40 s blind, then tag hiders by touch. Tagged hiders seek too. 5 rounds. |
| Freeze Tag | freezetag |
Taggers freeze runners by touch; a free runner by a frozen one for 3 s thaws them. 5 rounds. |
| Last One Standing | lms |
Free for all, one life. Last player alive wins the round; 3 rounds. |
| Capture the Flag | ctf |
Two teams. Take the enemy flag to your own flag while yours is home; first to 3 captures. Needs a flag for each team. |
| King of the Hill | koth |
Two teams. A team scores 1 every second it is alone on the hill; first to 120. Needs a hold zone. |
| Domination | domination |
Two teams capture and hold points: 10 a capture, 1 per point every 2 s, 1 a kill; first to 250. Needs capture points. |
| Gun Game | gungame |
Free for all. Every kill gives the next weapon of the ladder; a kill with the last one (the crowbar) wins. |
| Infection | infection |
Survivors against the infected (20 % at the start). Dead survivors join the infected. 5 rounds, at least 3 players. |
| Juggernaut | juggernaut |
Free for all with one Juggernaut (1000 health, pulse rifle, RPG). Only the Juggernaut's kills score; kill them to take over. First to 15. |
| Duels | duels |
One against one, one life; the others watch. The winner stays, the loser goes to the back of the line. 10 rounds. |
| Race | race |
Run the race checkpoints in order. The first to finish wins; the others get 30 s more. 3 rounds. Needs 2 or more checkpoints. |
| Survival | survival |
v3.6.17, PVE. Everyone together against waves of zombies that grow and get tougher. Hits and kills give points for wall weapons, doors, the mystery box and perk machines (World > Buy Stations). The fallen come back when a wave is cleared; when everyone is down it is over. Loadouts: Both (server loadouts and custom classes). Needs enemy spawns. |
Hidden-role modes (Traitors, Murder)
- Roles are handed out when the round goes live and stay private. After each round everyone's role is shown.
- Traitors: 25 % of players are traitors (at least one). From 6 players there is one detective per 8, known to all. Team chat reaches only traitors.
- Traitors win when every innocent is dead; innocents when every traitor is dead or time runs out.
- Press E on a body to search it: name, role, cause of death and the last person they looked at.
- Traitors and detectives get 2 credits a round, plus 1 per kill of the other side, to spend with
!buy. - Murder: the knife (
weapon_crowbar) and the hidden gun (weapon_357) kill in one hit; nothing else hurts. A bystander who shoots a bystander drops the gun for the round. - During a round: no kill feed, no scores, and the dead cannot be heard or read by the living.
Hiding modes (Prop Hunt, Hide and Seek, Freeze Tag)
- Team 1 hides, team 2 seeks. Seekers wait frozen and blind for the hide time; nobody is hurt meanwhile. Hiders win if one is still free at the end.
- Prop Hunt: as a prop, aim at a prop (up to 96 units wide and high) and left-click to become it. Hits on your disguise hurt you. Hunters lose 5 health per wrong prop hit.
- Hide and Seek and Freeze Tag: 25 % of players seek, picked each round. A seeker's hit is a tag, not damage. Tags and thaws do not work through walls.
!tauntmakes a hider play a sound, once every 8 s. The match goes to the player who won the most rounds.
Classic modes (v3.6.10)
- A mode whose The map needs setting asks for flags, a hold zone, capture points, bomb sites, an escort path or race checkpoints opens no lobby on a map without them. The message names what to place with World > Mode Spots, for that mode or for every mode.
- Gun Game: everyone starts on the first weapon of the ladder and only holds that weapon. Each kill gives the next one; your score is the levels you gained. A kill with a crowbar, stunstick or fists takes a level from the victim (setting Gun Game: a melee kill takes a level from the victim). Dying by yourself costs nothing.
- Infection: team 1 survives, team 2 infects. Players who join late are infected. No survivor left: the infected win. Time up with a survivor alive: the survivors win. The match goes to the player who won the most rounds.
- Juggernaut: a random player becomes the Juggernaut when the round goes live, with the mode's health, 100 armor and the Juggernaut weapons. Everyone sees JUGGERNAUT over their head. Kills by others score nothing. Whoever kills the Juggernaut scores and takes over at once. A Juggernaut who falls or leaves is replaced about a second later.
- Duels: the first two of the line fight; everyone else watches them. Newcomers join the end of the line. Time up: the duelist with more health wins (equal health is a draw).
- Race: the checkpoints count in the order they were placed, for the mode's laps; the last checkpoint is the finish. Racers cannot hurt each other unless Race: racers may hurt each other is on. Die or fall and you come back at your last checkpoint. With Race: vehicle set, every racer gets that vehicle when the round goes live and after each respawn; only its owner can drive it.
- The HUD shows each mode's state above the bottom of the screen: your level and next weapon, survivors left, the Juggernaut, the duel and who is next, and for a race the next checkpoint (a ring on the ground and its distance), lap and position.
Waves (PVE, v3.6.17)
- Special rules = Waves (PVE) makes a mode where everyone plays together against NPCs: no teams, players cannot hurt each other, one long round with no time limit, no respawns during a wave.
- Enemies come from the Enemy spawn spots (World > Mode Spots, for that mode or every mode); without one the lobby does not open. Wave 1 has enemies in the first wave, each wave more enemies each wave on top, at most most enemies alive at once at a time, and % more enemy health each wave more health. The NPC classes come in order: the first kind from wave 1, one more kind every 3 waves.
- Points are the mode's match money: everyone starts with points everyone starts with, a hit gives points for a hit (once per enemy per tick, so a shotgun blast is one hit), a kill points for a kill. Players spend them at Buy Stations and in the buy menu (always open in Waves). They end with the match.
- A player who goes down watches and comes back when the wave is cleared. Players who join during a wave wait (they cannot hurt the enemies or score) and play from the next wave, or at once when nobody else is left. When nobody is standing the match is over ("reached wave N"). With waves to survive above 0, surviving that many waves wins.
- The enemies hate only the players in the match: hub players, spectators and the map's own NPCs are left alone (both ways), and they do not hurt each other. Map NPCs and wave enemies cannot hurt each other. They always hunt the nearest player in the match; the AI Brain and the NPC relationship rules leave them alone (no fleeing, surrendering or calling for help). One stuck far away for 30 s, or that neither hurts nor is hurt for 45 s while not moving (inside a wall, behind a closed door buy), is replaced at an enemy spawn. Headcrabs and torsos that come out of wave zombies count as wave enemies. They are removed when the match ends.
- The enemy list takes NPC classes only: an entity that is no NPC (or no class at all) is skipped for the match with a console message. NPC kills count for points and the match scoreboard, not for Match stats kills, XP or credits.
- NPCs that need a weapon (Combine soldiers, Metro Police, rebels) get weapon of enemies that need one.
- The HUD shows the wave, the enemies left and the break countdown; the HUD & Hub token
{x:wave}shows the wave number. - Match stats achievements: Hold the Line (standing when wave 10 starts) and Last One Out (wave 25).
The mode editor
Superadmins open it with New mode..., Edit... or Duplicate.... Click Save the mode to store it, or Cancel. The Id (letters, digits, _) is used by commands and Logic. It can only be set on a new mode. Saving a mode that is running does not change the running match.
Mode settings
| Option | Default | Range |
|---|---|---|
| Name / Description | New mode / empty | 40 / 200 characters |
| Players needed to start | 2 | 1-64 |
| Lobby: wait at least (s) | 20 | 0-600 |
| Ready-up: players type !ready | On | |
| Ready-up: percent who must be ready | 60 | 10-100 |
| Get ready time (s, 0 = none) | 10 | 0-120 |
| Frozen while getting ready | On | |
| Round time limit (s, 0 = none) | 300 | 0-3600 |
| After a round (s) | 8 | 3-30 |
| Rounds | 1 | 1-50 |
| Win rule | Last team / player alive wins the round | also score limit, or most score when time runs out |
| Score limit (score rule) | 25 | 0-1000 |
| Score for a kill / team kill / dying by yourself | 1 / -1 / -1 | 0-100 / -100-0 / -100-0 |
| Respawn rule | No respawn: out until the next round | also at once, after the delay, in waves |
| Respawn delay / wave time (s) | 5 | 0-120 |
| Lives (0 = unlimited) | 0 | 0-99 |
| Late joiners play at once (with respawns) | On | |
| Friendly fire | Off | |
| Auto-balance teams between rounds | On | |
| In the next-mode vote and rotation (Game Modes > Next match) | On (v3.6.14) | |
| Loadouts: server (Player Loadouts), Armory (custom classes) or both | Off: the roles' weapons (v3.6.15) | Server loadouts (Settings > Player Loadouts made for this mode or any match), v3.6.17: Armory (only the players' own custom classes, Settings > Armory), Both. A player with nothing to pick gets the role's weapons. |
| Loadouts: the loadout screen opens in the lobby and at the start | On | |
| Loadouts: players may change it during the match (from their next spawn) | On. Off: locked once the match is live. | |
| Loadouts: in the lobby players are | Empty hands while choosing | Holding the picked loadout |
| Loadouts: cost their price in match money, once per match (needs the buy menu) | Off | |
| The dead watch | their own team | also anyone, or only the spectator spot |
| Take everyone's weapons for the match (given back after) | On | |
| Weapons / Health / Armor of the default role | crowbar, pistol, SMG / 100 / 0 | 16 classes / 1-1000 / 0-255 |
Objective settings
Used when the map has objectives placed for the mode.
| Option | Default | Range |
|---|---|---|
| Objectives: seconds to capture a point | 10 | 1-120 |
| Objectives: score for a capture (point, flag, bomb) | 5 | 0-1000 |
| Objectives: score for holding a point / zone | 1 | 0-100 |
| Objectives: ... every (s) | 5 | 1-60 |
| Objectives: a dropped flag goes home after (s, 0 = when touched) | 20 | 0-120 |
| Objectives: the attacking team (bomb, escort) | 1 | 1-8 |
| Objectives: bomb timer (s) / time to plant / time to defuse | 40 / 3 / 6 | 10-180 / 1-15 / 1-20 |
| Objectives: escort speed (units / s) | 60 | 10-300 |
Classes, buy menu, hidden roles, hiding and classic modes
| Option | Default | Range |
|---|---|---|
| Classes: players pick their role (!class) | Off | |
| Buy menu (!buy) with match money | Off | |
| Buy menu: when | While getting ready | also for a while after each spawn, or any time |
| Buy menu: seconds after a spawn | 20 | 5-120 |
| Buy menu: starting money / money for a kill | 800 / 300 | 0-100000 / 0-10000 |
| Buy menu: money for winning a round / losing a round | 1500 / 1000 | 0-100000 |
| Buy menu: most money a player can have (0 = no limit) | 16000 | 0-1000000 |
| Hidden roles | No hidden roles | also Traitors, Murder |
| Traitors: percent of the players who are traitors | 25 | 10-50 |
| Traitors: players needed for a detective (0 = none) | 6 | 0-64 |
| Traitors: equipment credits / credits for killing the other side | 2 / 1 | 0-10 / 0-5 |
| Hiding mode | No hiding | also Prop Hunt, Hide and Seek, Freeze Tag |
| Hiding: seekers wait blind (s) | 30 | 0-120 |
| Hide and Seek / Freeze Tag: percent of seekers | 25 | 10-50 |
| Hide and Seek: tagged hiders seek too (off = out) | On | |
| Freeze Tag: seconds to thaw a frozen team mate | 3 | 1-15 |
| Prop Hunt: health a hunter loses per wrong prop hit | 5 | 0-50 |
| The map needs (World > Mode Spots; no lobby without it) | Nothing (any map) | also flags, hold zones, capture points, bomb sites, an escort path, race checkpoints, enemy spawns (Waves) |
| Special rules (v3.6.10 classic modes) | No special rules | also Gun Game, Infection, Juggernaut, Duels, Race, Waves (PVE) |
| Gun Game: the weapon ladder, in order (comma separated) | weapon_ar2, weapon_smg1, weapon_shotgun, weapon_357, weapon_crossbow, weapon_pistol, weapon_crowbar |
up to 24 |
| Gun Game: a melee kill takes a level from the victim | On | |
| Infection: percent of the players infected at the start | 20 | 5-50 |
| Juggernaut: health | 1000 | 100-10000 |
| Juggernaut: weapons (comma separated) | weapon_ar2, weapon_rpg |
up to 8 |
| Race: laps | 1 | 1-20 |
| Race: vehicle (name in the spawn menu list, e.g. Jeep; empty = on foot) | Empty | |
| Race: seconds left for the others after the first finishes (0 = round time) | 30 | 0-300 |
| Race: racers may hurt each other | Off | |
| Waves: enemy NPC classes, in order (one more kind every 3 waves) | npc_zombie, npc_fastzombie, npc_poisonzombie, npc_zombine |
up to 12 |
| Waves: waves to survive (0 = endless) | 0 | 0-200 |
| Waves: enemies in the first wave | 6 | 1-100 |
| Waves: more enemies each wave | 3 | 0-50 |
| Waves: most enemies alive at once | 24 | 1-80 |
| Waves: seconds between waves | 15 | 3-120 |
| Waves: % more enemy health each wave | 10 | 0-100 |
| Waves: points for a hit / points for a kill | 10 / 60 | 0-1000 / 0-10000 |
| Waves: points everyone starts with | 500 | 0-100000 |
| Waves: weapon of enemies that need one | weapon_smg1 |
Special rules set what they need when you save: Gun Game, Juggernaut, Duels and Race are free for all; Infection always has two teams; Gun Game's score limit is the length of its ladder; Duels have one life; a race always needs checkpoints; Waves has no teams, one round, no time limit, the buy menu always open with the starting points as match money, and needs enemy spawns.
Teams, roles and buy menu items
- Teams (none = free for all): Add a team adds up to 8. Right-click a team for Rename..., Color, Team weapons (everyone in the team)... and Remove. One team becomes two.
- Roles: Add a role adds up to 12. Each role has an id, a name, a team (or any), At most per team (0 = no limit), weapons, health, armor, speed (0.5-2), a player model and Spare magazines per weapon (default 4). Limited roles are handed out first at random; everyone else gets the first role with no limit.
- Buy menu items: Add an item... adds up to 40. Kinds are Weapon, Ammo, Armor, Health, Radar and Disguise; each has a name, price, amount and Who may buy it (hidden-role modes). Use the default items (HL2 weapons, armor, health, ammo) and Use the Traitors equipment (prices in credits) fill the list.
How to use it
Run a quick match
- Open Utilities > Game Modes.
- Pick a mode in Mode, for example Team Deathmatch.
- Click Open a lobby for this mode. Everyone on the server joins the lobby.
- Players type
!ready. The match starts once enough players are in, the lobby wait has passed and enough are ready. - To skip the wait, click Start now. Click End the match to stop early.
Run an event round on an RP server
- Open a lobby as above. Everyone sees "Event: <mode>! Type !join to take part."
- Players who want to play type
!join. Others get a chat reminder every 30 s while the lobby is open. - Start the match when enough have joined. Players leave with
!leave.
Let matches run by themselves
- In Utilities > Game Modes > Settings, set Next match to 1 (vote), 2 (rotation) or 3 (random), and press Apply the numbers.
- Untick In the next-mode vote and rotation in the editor of modes you do not want to come up.
- Place what modes need on each map with World > Mode Spots; modes a map cannot run are left out there.
- After each match ends, players see "Next mode vote in 20 seconds." and then vote with the number keys. The lobby of the winner opens.
- For a map vote now and then, set a map vote every N matches.
Run an arena with a hub and loadouts (v3.6.15)
- With World > Mode Spots, place a few Hub spots (where everyone waits between matches) and each mode's spawns.
- In Settings > Player Loadouts, make loadouts with Game mode set to a mode or Any match, and save.
- Edit the modes: Loadouts = Server loadouts (or Both to add the players' Armory classes, or Armory for classes only). Optional: paid loadouts, locked after the start, holding the loadout in the lobby.
- Set Next match so matches keep coming, and load [Built-in] PVP (arena) in Settings > HUD & Hub.
- Players spawn in the hub with their hands, get the loadout screen when a lobby opens, and come back to the hub after the match. During a match their backpack, pockets, containers and stores wait.
Run a Survival (PVE) server (v3.6.17)
- With World > Mode Spots, place Hub spots and, for Survival (or every mode), a few Enemy spawn spots away from the players' spawns.
- With World > Buy Stations, place wall weapons, a door buy, a perk machine and a mystery box (see its tutorial).
- In Utilities > Game Modes, take the other modes out of the rotation if you only want Survival, and set Next match so a new match follows each one.
- Load [Built-in] PVE (waves) in Settings > HUD & Hub: the card shows the points, the hub help explains the waves.
- Optional: set up Settings > Armory; Survival's Loadouts is Both (server loadouts and the players' own classes); set it to Armory or Server loadouts for one kind only.
Make your own mode
- As a superadmin, right-click a built-in mode and pick Duplicate..., or click New mode....
- Give it an Id and a Name, then set rounds, win rule and respawns.
- Add teams, roles and buy menu items as needed.
- Click Save the mode. It appears in the Mode list.
- Place spawns for it with World > Mode Spots on each map you use.
Settings and commands
| Command | Who | What it does |
|---|---|---|
!join / kgxat_join |
Players | Join the running match. Refused right after a fight (at least 10 s). |
!leave / kgxat_leave |
Players | Leave the match and get your things back. |
!ready / kgxat_ready |
Players | Toggle ready in the lobby. |
!sitout / kgxat_sitout |
Players | Sit out the next matches, or play again. |
!class / kgxat_class |
Players in a match | Open the class menu. |
!buy / kgxat_buy |
Players in a match | Open the buy menu. |
!taunt / kgxat_taunt |
Hiders | Play a sound, every 8 s. |
!stats, !top, !achievements, !history |
Everyone | Open Match stats (v3.6.11). |
kgxat_match_start <mode id> |
Game Modes access | Open a lobby. |
kgxat_match_force |
Game Modes access | Start the lobby now. |
kgxat_match_end |
Game Modes access | End the match. |
Chat commands also work with / instead of !. They only work while kgxat_match_on is 1.
Tips and limits
- v3.6.17: in the mode editor and its role and item windows, hover an option whose name is cut off to read it in full.
- Modes are saved in
data/kgx_admin_toolbox/game_modes.json, at most 64. Built-in modes added by an update appear once; a mode you deleted stays deleted. - Without Mode Spots, players spawn where the map puts them.
- After
kgxat_match_lobbymaxseconds a lobby starts with enough players, ready or not, or is cancelled. - In the lobby players cannot fight each other. Nobody can switch to Build mode during a match.
- A mode whose win rule cannot end a round gets a 600 s time limit.
- Jailed players leave the match. Match deaths drop no backpack, money or pockets.
- v3.6.15: during a match players cannot use their backpack, pockets, containers, vaults, stores, shipments or Talking NPC weapon / armor / health rewards. A mode without get-ready time gives 10 seconds of the live round to pick a loadout; paid loadouts bought in the lobby are taken from the starting match money. Weapons dropped by match players can only be picked up by match players and are removed when the match ends. Modes with their own weapons (Gun Game, Juggernaut, Race, Infection, hiding and hidden-role modes) never use loadouts.
- Dead players spectate: attack and alt attack switch player, jump switches first person and chase.
- Logic has a Match watcher node and a Game mode action, so you can react to rounds or rotate modes. Next match (v3.6.14) rotates or votes without logic.
- The rotation remembers its place across map changes (
data/kgx_admin_toolbox/match_cycle.json). - Matches give XP, levels, achievements and unlockable name colors, badges and trails, with leaderboards and a match history: see Match Stats and Progression.