Admin commands
Contents
- 1 Using commands
- 2 Short list of commands
- 3 Detailed list of commands
- 3.1 #
- 3.2 ListPlayers
- 3.3 Kick
- 3.4 Ban
- 3.5 Location
- 3.6 ListItems
- 3.7 ListCharacters
- 3.8 ListVehicles
- 3.9 SpawnItem
- 3.10 SpawnCharacter
- 3.11 SpawnVehicle
- 3.12 Teleport
- 3.13 TeleportTo
- 3.14 SetFamePoints
- 3.15 SetFamePointsToAllOnline
- 3.16 SetFamePointsToAll
- 3.17 SetTime
- 3.18 SetWeather
- 3.19 VisualizeBulletTrajectories
- 4 See also
Admin Commands, also called console commands or cheats, are tools that users with administrator privileges can use to modify the game.
Using commands[edit | edit source]
Commands are input in the chat window, opened with t. All commands must be prefixed with # but are otherwise entered like normal chat messages. Command names, item ids, and npc ids are not case-sensitive.
- Admin commands on private servers are done using a [whitelist of Steam64IDs] that are allowed to use the commands.
Short list of commands[edit | edit source]
Click any command to jump to its detailed description. Brackets [ ] denote optional arguments.
Command | Description |
---|---|
# | Shows you all admin commands |
ListPlayers | Lists the current players with Steam64ID, Steam names and character names |
Kick <player> | Kick a player from your server |
Ban <player> | Ban a player from your server |
Location <player> | Returns the position of the selected player |
ListItems <item> [<filter>] | Displays a list of items that can be spawned, with an optional filter. |
ListCharacters <character> [<filter>] | Displays a list of characters that can be spawned, with an optional filter. |
ListVehicles <vehicle> [<filter>] | Displays a list of vehicles that can be spawned, with an optional filter. |
SpawnItem <Asset> <Count> | Spawn a specific item floating in the air in front of you. See Item IDs or use #ListItems for a list of items. |
SpawnCharacter <Asset> <Count> | Spawn a specific NPC in front of you. See NPC IDs or use #ListCharacter for a list of NPCs. |
SpawnVehicle <Asset> | Spawn a specific NPC in front of you. See Vehicle IDs or use #ListVehicle for a list of vehicles. |
Teleport <player> [<X> <Y> <Z>] | Teleports a specified player to given coordinates, or to you if no coordinates are given. |
TeleportTo <player> | Teleports you near the specified player. |
SetFamePoints <value> [<player>] | Sets fame points of a player to the specified value. If second argument is not provided, sets your own fame points. |
SetFamePointsToAllOnline <value> | Sets fame points of all online players to the specified value. |
SetFamePointsToAll <value> | Sets fame points of all players online and offline to the specified value. |
SetTime <0-24> | Sets time of day. |
SetWeather <0-1> | Toggle clear or stormy weather. |
VisualizeBulletTrajectories <true/false> | Displays a physical bullet path behind every round fired. |
Detailed list of commands[edit | edit source]
#[edit | edit source]
Shows you all admincommands
- Usage
#
ListPlayers[edit | edit source]
Lists the current players with Steam64ID, Steam names and character names
- Usage
#ListPlayers
Kick[edit | edit source]
Kick a player from your server
- Usage
#Kick <player>
Parameter | Data Type | Description |
---|---|---|
player | Various | The player to kick. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
Ban[edit | edit source]
Ban a player from your server
- Usage
#Ban <player>
Parameter | Data Type | Description |
---|---|---|
player | Various | The player to ban. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
Location[edit | edit source]
Returns the position of the selected player
- Usage
#Location <player>
Parameter | Data Type | Description |
---|---|---|
player | Various | The player to find. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
ListItems[edit | edit source]
Displays a list of items that can be spawned.
- Usage
#ListItems <item|character> [<filter>]
Parameter | Data Type | Description |
---|---|---|
filter | String | Optional. Will only display Item IDs that have the given string in them. |
ListCharacters[edit | edit source]
Displays a list of characters that can be spawned.
- Usage
#ListCharacters <item|character> [<filter>]
Parameter | Data Type | Description |
---|---|---|
filter | String | Optional. Will only display Item IDs that have the given string in them. |
ListVehicles[edit | edit source]
Displays a list of characters that can be spawned.
- Usage
#ListVehicles <item|vehicle> [<filter>]
Parameter | Data Type | Description |
---|---|---|
filter | String | Optional. Will only display Item IDs that have the given string in them. |
SpawnItem[edit | edit source]
Spawn a specific item floating in the air in front of you.
- Usage
#SpawnItem <Asset> <Count>
Parameter | Data Type | Description |
---|---|---|
Asset | String | The ID of the item you want to spawn. |
Count | Integer | The amount of the item to spawn. |
SpawnCharacter[edit | edit source]
Spawn a specific NPC in front of you.
- Usage
#SpawnCharacter <Asset> <Count>
Parameter | Data Type | Description |
---|---|---|
Asset | String | The ID of the NPC to spawn. |
Count | Integer | The amount of the NPC to spawn. |
SpawnVehicle[edit | edit source]
Spawn a specific vehicle in front of you.
- Usage
#SpawnVehicle <Asset>
Parameter | Data Type | Description |
---|---|---|
Asset | String | The ID of the vehicle to spawn. |
Teleport[edit | edit source]

Teleports you to a specified location.
- Usage
#Teleport <player> <X> <Y> <Z>
Parameter | Data Type | Description |
---|---|---|
player | Various | The player to teleport to. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
X, Y, Z | Float | The X, Y, and Z coordinates to teleport to, with X being inverted longitude, y being latitude, and z being altitude. |
Coordinates are given in units, and the map is roughly 1,200,000 units squared, with a spot a bit right and down of the grid center being 0,0. When teleporting, if the altitude you give is below the terrain, you will be placed at ground level. As such, Z can usually be specified as 0 unless you have reason to try to teleport in the sky.
You can use this interactive map to easy get coordinates for teleporting, by right-clicking on the map.
TeleportTo[edit | edit source]
Teleports you near the specified player.
- Usage
#TeleportTo <player>
Parameter | Data Type | Description |
---|---|---|
player | Various | The player to teleport to. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
SetFamePoints[edit | edit source]
Sets fame points of a player to the specified value. If second argument is not provided, sets your own fame points.
- Usage
#SetFamePoints <value> [<player>]
Parameter | Data Type | Description |
---|---|---|
value | Integer | The value to change their fame points to |
player | Various | The player to target. This can be specified as their SteamID64, their Steam name, or their character name. Use #ListPlayers first to get this information. |
SetFamePointsToAllOnline[edit | edit source]
Sets fame points of all online players to the specified value.
- Usage
#SetFamePointsToAllOnline <value>
Parameter | Data Type | Description |
---|---|---|
value | Integer | The value to change every online players fame points to. |
SetFamePointsToAll[edit | edit source]
Sets fame points of all players, online and offline to the specified value.
- Usage
#SetFamePointsToAll <value>
Parameter | Data Type | Description |
---|---|---|
value | Integer | The value to change every players fame points to. |
SetTime[edit | edit source]
Sets time of day.
- Usage
#SetTime <0-24>
Parameter | Data Type | Description |
---|---|---|
value | Integer | 0 = 12:00am, 6 = 6:00am, 12 = 12:00pm, 18 = 6:00pm, 24 = 12:00am |
SetWeather[edit | edit source]
Toggle between clear and stormy weather.
- Usage
#SetWeather <0-1>
Parameter | Data Type | Description |
---|---|---|
value | Integer | 0 = Clear Weather, 1 = Wind/Fog/Rain |
VisualizeBulletTrajectories[edit | edit source]
Displays a physical bullet path behind every round fired.
- Usage
#VisualizeBulletTrajectories <true/false>
Parameter | Data Type | Description |
---|---|---|
<true/false> | String | true = visualization on, false = visualization off. |