Skip to content
TDLive edited this page Mar 7, 2013 · 5 revisions

All commands for TF2 can be found below. To quickly view the syntax of a command, type /tf2 help in-game.

Map Creation/Setup Commands

All commands listed here require the tf2.create permission.

/tf2 create map <map name>

Creates a new map with the specified map name. A WorldEdit selection around the map is required.

/tf2 redefine map <map name>

Used to redefine the selection used when creating a map. A WorldEdit selection is required.

/tf2 create classbutton <normal|donator> <class name>

Gives you a button, which when placed, will become a class button for the specified class. The tf2.button.normal permission is required to use a normal class button, and the tf2.button.donator permission is required to use a donator class button.

/tf2 create changeclassbutton

Gives you a button, which when placed, will become a change class button, which allows players to go back to their team's lobby and choose a new class.

/tf2 create refillcontainer <map name>

Allows you to select a container (a chest, dispenser, etc. - anything with an inventory) to be refilled every time a game starts.

/tf2 set playerlimit <map name> <#>

Sets the maximum number of players allowed to join a map.

/tf2 set timelimit <map name> <#>

Sets the maximum amount of time, in seconds, in which games run for the specified map.

/tf2 set redtp <map name> <#>

Sets the delay, in seconds, in which the red team is teleported after the game starts.

/tf2 set capturepoint <map name> <#>

Sets a capture point at your current location for the specified map. The # is the number of the capture point, it should start at 1 and increment for every capture point you set.

/tf2 set spawn lobby

Sets the global lobby spawn, where players are teleported when they type /tf2 join and when a game ends.

/tf2 set spawn <map name>

Opens a "GUI" which can be used to set a spawn you select for the specified map. You will be given the option of setting the spawn for the red lobby, blue lobby, red spawn, and blue spawn.

Gameplay Commands

All commands listed here require the tf2.play permission.

/tf2 join

Teleports you to the global lobby.

/tf2 join <map name> [red|blue]

Joins a map with the specified team. The tf2.create permission is required to pick a team. If a team is not specified a random team will be provided.

/tf2 leave

Leaves the game you're currently playing in.

/tf2 list [map name]

Lists the players currently in-game in the specified map. If a map is not provided it will display the players in-game in the map you're currently playing on.

Other Commands

/tf2 start

Forces a game to start instead of having it start automatically. Requires the tf2.start permission.

/tf2 stop

Forces a game to stop. Requires the tf2.stop permission.