No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
| [[#VisualizeBulletTrajectories|VisualizeBulletTrajectories <true/false>]] || Displays a physical bullet path behind every round fired. |
| [[#VisualizeBulletTrajectories|VisualizeBulletTrajectories <true/false>]] || Displays a physical bullet path behind every round fired. |
||
|- |
|- |
||
− | | [[#SetGodMode|SetGodMode < |
+ | | [[#SetGodMode|SetGodMode <true/false>]] || Toggle good mode. |
|- |
|- |
||
|} |
|} |
Revision as of 13:45, 10 September 2019
Admin Commands, also called console commands or cheats, are tools that users with administrator privileges can use to modify the game.
Using commands
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
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. |
SetGodMode <true/false> | Toggle good mode. |
Detailed list of commands
#
Shows you all admincommands
- Usage
#
ListPlayers
Lists the current players with Steam64ID, Steam names and character names
- Usage
#ListPlayers
Kick
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Toggle between clear and stormy weather.
- Usage
#SetWeather <0-1>
Parameter | Data Type | Description |
---|---|---|
value | Integer | 0 = Clear Weather, 1 = Wind/Fog/Rain |
VisualizeBulletTrajectories
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. |