Game servers by the hour. Pay only when you play.

XIII server commands: change map, mode and bots from the chat

A stock XIII server has no RCON and no map commands. Its admin can kick and ban, nothing else. So we wrote our own control mod for the 2003 game: UnrealScript that runs inside the server and reads commands from the in-game chat. Every 2hours.gg XIII server has it.

Deploy an XIII server and type !help.

How chat commands work

  • Open the chat and type the command with a ! in front, for example !help.
  • The server keeps lines that start with ! out of the chat and sends the answer to you only.
  • Commands and map names ignore case: !MAP dm_baNQUE works.
  • Each player can run up to 5 commands every 10 seconds.

Become admin

Admin commands need you to join with the admin password. Your server card has the admin line ready: copy it, press F2 in game and paste it. Or type it yourself:

SWITCHLEVEL 203.0.113.10:7777?Password=youradminpassword

The password works in any case: LAB, Lab and lab all log you in. A player without it who types an admin command gets "Admin only. Join with ?Password=<admin password>."

Commands for everyone

!help                 the command list
!maps                 maps of the current mode
!maps <mode>          maps of another mode, e.g. !maps ctf
!modes                the six modes
!players              map, mode, who is on and their score
!vote <map>           vote for a map of the current mode
!vote <mode> <map>    vote for a map in another mode
!votes                the vote tally
!rotation             is the map rotation on or off

Admin commands

!map <map> [mode]     change map (also !changelevel, !servertravel)
!mode <mode> [map]    change mode
!restart              reload the current map and mode
!next                 skip to the next map of the rotation
!rotation on|off      turn the map rotation on or off
!bots <n> [skill]     n bots, skill 0-3

Change the map with !map

!map takes the in-game name or the file name, in any case. These all load Winslow Bank:

!map winslow bank
!map DM_Banque
!map dm_baNQUE
  • The start of a name works when only one map has it (4 letters or more): !map bristol loads Bristol Suites.
  • A near miss changes nothing and gets a suggestion. !map dm_bank answers "Unknown map 'dm_bank'. Did you mean Winslow Bank (DM_Banque)?"
  • A name that matches nothing, say !map zzz, answers "Unknown map 'zzz'. Type !maps (web console: maps) for the list."
  • The mode stays when the map fits it. A CTF_ or SB_ map switches to Capture the Flag or Sabotage by itself.
  • Everyone sees "Now playing Winslow Bank (Deathmatch)." Players stay connected: after a short loading screen and a moment of menu, they are back in game in under 2 seconds.

Change the mode with !mode

Type the mode name or a short form from the list. The map stays when it fits the new mode, otherwise the mode's first map loads. Add a map to pick it in one go.

Deathmatch          deathmatch, dm
Team Deathmatch     team deathmatch, tdm, team
Capture the Flag    capture the flag, ctf
The Hunt            the hunt, hunt
Sabotage            sabotage, sb
Power Up            power up, powerup, power

!mode ctf
!mode team deathmatch
!mode sb camp

The third change restarts the server

A stock XIII dedicated server crashes on any map change while it runs. We patched its engine files so players follow a live change, measured at 1.4 to 1.9 seconds per change. XIII also ends a server on its 4th map load, so 2 changes stay live and the 3rd one restarts the server on the new map. Every change counts: !map, !mode, !restart, !next, a vote and the rotation.

  • Players get a warning in chat 4 seconds before.
  • The game reconnects you by itself. We measured about 9 seconds.
  • If you land in the menu instead: F2, then SWITCHLEVEL with the server address.
  • A chat line typed during the restart is lost. Type it again once you are back.
  • At most 3 restarts per 30 minutes. After each restart you get 2 live changes again. A 4th restart in that time answers "Too many map changes in a short time. Try again in N min."

Bots with !bots

Stock XIII bots only run on a listen server. We patched the dedicated server so they run there too.

!bots 6       6 bots
!bots 6 2     6 bots at skill 2 (0 to 3)
!bots 8       8 bots, the most XIII has seats for
!bots 0       no bots
  • Bots join when the next match starts. A match needs one human on the server.
  • Players never count: !bots 6 means 6 bots. A bot leaves only when a human needs its seat, so on a full server you get as many bots as fit next to the players.
  • The number stays through map changes and restarts.

Map rotation and votes

  • Stock XIII plays the same map again after a match. Ours loads the next map of the mode, or the most voted map. !rotation off brings back the stock behaviour.
  • When more than half of the players vote for one map, it loads at once. A passed vote changes the map at most once every 3 minutes.
  • One vote per player, a new vote replaces the old one, and votes clear on every map change.

All 22 maps

Deathmatch, Team Deathmatch, The Hunt and Power Up:

Winslow Bank     DM_Banque
Platform 02      DM_Base_XBox
AFM-10           DM_Base2
Emerald          DM_Hual1
FBI              DM_Amos
Bristol Suites   DM_Pal
SPADS            DM_SPADS_XBox
SPADS 2          DM_SPADS
Plain Rock       DM_PRock
Warehouse 33     DM_Warehouse
Docks (DM)       DM_USA2_demo
Hualpar          DM_Hual04a
Asylum           DM_PRock01a
USA              DM_USA01

Capture the Flag:

USS-Patriot      CTF_Base
XX               CTF_Sanc
Kellownee        CTF_Snow
New York         CTF_Toits
Temple           CTF_Temple

Sabotage:

Docks            SB_USA2
Choland          SB_Hual1a
Camp             SB_Camp

The same commands in the web console

The web console on your server card runs the same commands. You do not need the ! there: map winslow bank or bots 6 (!bots 6 works too). It completes commands as you type, and has a map picker, a mode picker and a bots menu.

See also

Questions

How do I change the map on an XIII server?

On a 2hours.gg XIII server, join as admin and type !map followed by the map in the chat, for example !map winslow bank or !map DM_Banque. Players follow onto the new map in under 2 seconds.

Does XIII have RCON or admin commands?

Stock XIII has no RCON and its admin can only kick and ban. 2hours.gg servers run our own control mod, which adds chat commands for map, mode, bots, votes and rotation.

Can an XIII dedicated server have bots?

Stock XIII bots only work on listen servers. On 2hours.gg servers the admin types !bots 6 and 6 bots join when the next match starts. Players never count toward the number.

What happens on the third map change?

XIII ends the server process on its 4th map load, so the 3rd change restarts the server. Players get a 4 second warning and the game reconnects them, about 9 seconds in our tests.

← Back to all guides