There are a number of commands that can be executed on a running dedicated server while being in-game. With these commands you can control how the server runs.
There are commands that a available to all player, even public players - those commands are called public commands. All other commands require the player to be assigned a specific access level by a server administrator.
In order to enter a command, you have to open the console. On an English keyboard you access the console by double tapping the " ´ " (tilde) key on your keyboard. If this does not work for you, an easy workaround is to press the AllChat key " J " on your keyboard and then press backspace and remove the current command "ChatToAll" - now you have the console open and ready to use. You can repeat old commands in the console by pressing the cursor " ↑ " key. With the cursor
" ↑ " + " ↓ " keys you can also scroll through your command history and execute it with " Enter ".
Admin Access Levels[]
The following table lists the existing access levels. Please note that all players have access to the public commands; there is no access level for public commands.
Access levels need to be assigned to individual users - see section "Adding Admins in Admins.cfg" for more details on this. Only the server administrators of the dedicated server in question can set these and they will only apply to this server.
Level | Description |
---|---|
changemap | Map commands |
canseeadminchat | This group can see the admin chat + Teamkills |
balance | This group can switch teams regardless of team sizes |
pause | Match commands |
cheat | Access to some cheat commands |
private | Set server private |
chat | Admin chat |
kick | kick commands |
ban | ban commands |
config | Set server configuration |
immunity | Cannot be kicked or banned |
manageserver | Manage server / kill server |
cameraman | Spectate players |
featuretest | Debug commands like Vehicle Spawner |
forceteamchange | Allows forced team changes |
reserve | Reserved slot access |
demos | Record demo's (currently broken) |
debug | Debug commands |
teamchange | Change teams without penalty |
Admin Console Commands[]
When it says <TextToEntry> you're supposed to free text it.
Check AdminKick for further details.
RCON | Admin Command | Access | ARGUMENTS | Description |
---|---|---|---|---|
yes | AdminKick | kick | AdminKick <NameOrSteamId> <KickReason> | Kicks a player from the server
Example: Adminkick Guemi Intentional TK |
yes | AdminKickById | kick | AdminKickById <PlayerId> <KickReason> | Kicks a player with Id from the server
Example : AdminKickById 75 Camping enemy uncapable |
yes | AdminBan | ban | AdminBan <NameOrSteamId> <BanLength> <BanReason> | Bans a player from the server for a length of time. 0 = Perm, 1d = 1 Day, 1M = 1 Month, etc
Example : Adminban Hodor 1M Attacking main base |
yes | AdminBanById | ban | AdminBanById <PlayerId> <BanLength> <BanReason> | Bans player with Id from the server for length of time. 0 = Perm, 1d = 1 Day, 1M = 1 Month, etc
Example : AdminBanById 75 1M Attacking main base |
yes | AdminBroadcast | chat | AdminBroadcast <Message> | Send system message to all players on the server
Example : AdminBroadcast Always apologize for TK's! |
no | ChatToAdmin | chat | ChatToAdmin <Message> | Send system message to all admins on the server
Same as all the other chats, but only admins see it. |
yes | AdminEndMatch | pause | AdminEndMatch | Tell the server to immediately end the match |
no | AdminPauseMatch | pause | AdminPauseMatch | Tell the server to put the match on hold |
no | AdminUnpauseMatch | pause | AdminUnpauseMatch | Tell the server to take off the hold |
yes | AdminChangeMap | changemap | AdminChangeMap <MapName> | Change the map and travel to it immediately |
yes | AdminSetNextMap | changemap | AdminSetNextMap <MapName> | Set the next map to travel to after this match ends |
yes | AdminSetMaxNumPlayers | config | AdminSetMaxNumPlayers <NumPlayers> | Set the maximum number of players for this server |
yes | AdminSetServerPassword | private | AdminSetServerPassword <Password> | Set the password for a server or use "" to remove it |
yes | AdminSlomo | cheat | AdminSlomo <TimeDilation> | Set the clock speed on the server 0.1 is 10% of normal speed 2.0 is twice the normal speed |
yes | AdminForceTeamChange | forceteamchange | AdminForceTeamChange <NameOrSteamId> | Changes a player’s team. |
yes | AdminForceTeamChangeById | forceteamchange | AdminForceTeamChangeById <PlayerId> | Changes a player with a certain id’s team. |
no | AdminAlwaysValidPlacement | cheat | AdminAlwaysValidPlacement <0>|<1> | Sets the server to ignore placement rules for deployables |
no | AdminDisableVehicleClaiming | cheat | AdminDisableVehicleClaiming <0>|<1> | Sets the server to disable vehicle claiming |
no | AdminAllKitsAvailable | cheat | AdminAllKitsAvailable <0>|<1> | Sets the server to ignore kit restrictions |
no | AdminNetTestStart | debug | AdminNetTestStart | Starts the network test and prints it to the clients logs |
no | AdminNetTestStop | debug | AdminNetTestStop | Stops the network test and prints it to the clients logs |
yes | AdminListDisconnectedPlayers | kick | AdminListDisconnectedPlayers | List recently disconnected player ids with associated player name and SteamId |
no | TraceViewToggle | FeatureTest | TraceViewToggle | Runs a trace from center of screen out to any objects and displays information about that object |
no | AdminCreateVehicle | FeatureTest | AdminCreateVehicle <Vehiclelink> | Allows you to spawn a vehicle on an unlicensed servers or on a local server (see VEHICLE SPAWN COMMANDS for more info) |
yes | AdminDemoteCommander | kick | AdminDemoteCommander <PlayerName> | Demote a commander specified by player name or Steam Id |
yes | AdminDemoteCommanderById | kick | AdminDemoteCommander <PlayerId> | Demote a commander with Id from the server |
yes | AdminDisbandSquad | kick | AdminDisbandSquad <TeamNumber = [1|2]> <SquadIndex> | Disbands the specified Squad (Which team 1 or 2 you will see on the team screen) |
yes | AdminRemovePlayerFromSquad | kick | AdminRemovePlayerFromSquad <PlayerName> | Remove a player from their squad without kicking them |
yes | AdminRemovePlayerFromSquadById | kick | AdminRemovePlayerFromSquad <PlayerId> | Remove a player from their squad without kicking them via Id |
yes | AdminWarn | kick | AdminWarn <NameOrSteamId> <WarnReason> | Warns a player from the server for being abusive. |
yes | AdminWarnById | kick | AdminWarnById <PlayerId> <WarnReason> | Warns a player with Id from the server for being abusive. |
no | AdminForceNetUpdateOnClientSaturation | debug | AdminForceNetUpdateOnClientSaturation <0>|<1> | If true, when a connection becomes saturated, all remaining actors that couldn’t complete replication will have ForceNetUpdate called on them |
no | AdminProfileServer | debug | AdminProfileServer <SecondsToProfileFor> <0>|<1> | Starts profiling on the server for a fixed length of time, after which the profiling data is saved to disk. |
no | AdminSetRaasSeed | changemap | AdminSetRaasSeed <Seed> | Set the seed for raas maps that are traveled to after this match ends |
yes | AdminRestartMatch | pause | AdminRestartMatch | Tell the server to restart the match |
no | AdminSetPublicQueueLimit | config | AdminSetPublicQueueLimit <value> | =25 will cap public queue at 25
=0 means that there wont be public queue so non admins and all other players wont be able to join =-1 is unlimited queue |
Public Commands[]
When it says <TextToEntry> you're supposed to free text it.
Command | ARGUMENTS | Description |
---|---|---|
ChangeTeams | ChangeTeams | Change teams to the other side |
ChangeTeamsWithId | ChangeTeamsWithId <NewTeam> | Change teams to the specified team number, zero changes to the other side |
ChatToAll | ChatToAll <Msg> | Chat to everyone |
ChatToTeam | ChatToTeam <Msg> | Chat only to same team |
ChatToSquad | ChatToSquad <Msg> | Chat only to same squad |
CreateRallyPoint | CreateRallyPoint | Drop a rally point for squad members to spawn from |
CreateSquad | CreateSquad <Name> | Request the creation of a squad, specifying the name |
DisableUI | DisableUI | Removes the UI components from the screen |
DisconnectToMenu | DisconnectToMenu | Disconnects from server |
GiveUp | GiveUp | Die and give up being wounded |
HighResShot | HighResShot <Resolution/Multiplier> | Take a screen shot, e.g., “HighResShot 3840x2160” or “HighResShot 4” and places the file in:
C:\Users\[username]\AppData\Local\WireGame\Saved\Screenshots\WindowsNoEditor |
JoinSquadWithName | JoinSquadWithName <Name> | Join a squad on our team with the following name |
JoinSquadWithId | JoinSquadWithId <Id> | Join a squad on our team with the following id |
LeaveSquad | LeaveSquad | Leave the squad we are currently in |
ListCommands | ListCommands <1>|<0> | Prints out the information for all commands in the game. |
ListPermittedCommands | ListPermittedCommands <1>|<0> | Prints out the information for all commands the player is currently permitted to execute. |
ListPlayers | ListPlayers | List player ids with associated player name and SteamId |
ListSquads | ListSquads | List Squads by their Index numbers’s |
r.setres | r.setres <Resolution> | Change screen resolution, “r.setres 1920x1080” |
Respawn | Respawn | Causes the player to respawn |
RecordHeatmap | RecordHeatmap <XStepSize> <YStepSize> <HeightOffset> <bUseRawValues [0|1]> <PositionWaitTime> <FileName> | Takes a resolution in meters a heatmap of stat data for the map, requires stat unit to be turned on |
SetHudWidgetsEnabled | SetHudWidgetsEnabled <1>|<0> | Sets visibility of all widgets on the HUD |
ShowCommandInfo | ShowCommandInfo <CommandName> | Prints out the details of a particular command |
ShowNextMap | ShowNextMap | Ask the server what the next map is |
SLInviteMember | SLInviteMember <Name> | Invite a member to your squad, the name can be partial |
stat FPS | stat FPS | Draw frame rate on screen |
stat Unit | stat Unit | Draws game, draw, and gpu times on screen |
stat UnitGraph | stat UnitGraph | Draws game, draw, and gpu times with an on-screen time graph |
TraceViewToggle | TraceViewToggle | Runs a trace from center of screen out to any objects and displays information about that object |
Spectator Camera[]
The spectator camera (often also called "admin camera" or "admin cam"), a semi-free movement camera, is a very useful feature for clans and tournament hosts or if you want to have full camera control when recording gameplay videos of BTW.
You need to have access level "cameraman" in order to use the camera. There is one exception: on Firing Range all players can use the camera.
While in the camera, you soldier character will be invisible. When you exit the camera if you are on a server, you'll resume from where you've entered the camera. If you exit the camera when you are in the local shooting range, you spawn your character model at the camera's current position (beware of heights - you die from high falls)
If you want to record pure gameplay footage without any HUD elements, you can use the public command "SetHudWidgetsEnabled 0" or the screen shot mode. To hide ammo symbols make sure do disable "Ingame help" in Settings > Interface.
RSI is constantly improving and adding functionality to the spectator camera, however please be aware of some known bugs and problems:
- Very rarely when exiting the camera you get glitched. In this case you will need to suicide to respawn.
- While seated in a vehicle do not enter the spectator camera.
- If, after exiting the camera, your character arms do not move, you will need to suicide to respawn.
- If you switch teams twice without leaving the camera you sometimes will completely glitch out and need to restart BTW.
- If you use player stencils without having HUDViews turned on, the outlines will ghost.