knowledge base

Knowledge Base » Support » Source Based Servers » SourceTV Commands.

SourceTV Commands.

tv_enable <0|1>
Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only).

tv_name
Sets SourceTV name as it appears in server browser and scoreboard (master only).

tv_title
Sets a SourceTV broadcast title shown in the spectator GUI.

tv_maxclients <0-255>
Sets maximum client number for local SourceTV server/proxy (default 128).

tv_stop
Stops broadcasting the game via SourceTV.

tv_status
Shows SourceTV specific information.

tv_clients
Shows a list of all spectator clients connect to local SourceTV server.

tv_msg
Send a HUD message to all connected SourceTV spectator clients.

tv_retry
Reconnects the SourceTV relay proxy to last known address (relay only).

tv_autoretry <0|1>
If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost.

tv_timeout
Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically.

tv_delay
Source TV broadcast delay in seconds (master only).

tv_delaymapchange <0|1>
Delays the map change on game server until rest of buffered game has been broadcasted.

tv_port
Set the SourceTV host port (default 27020). Must be set as srcds start parameter.

tv_maxrate
Sets the maximum bandwidth spend per client in bytes/second (default 5000)

tv_snapshotrate
Sets world snapshots broadcasted per second by SourceTV (master only).

tv_password
Sets required password for connecting spectators.

tv_relaypassword
Sets required password for connecting relay proxies.

tv_record
Starts a SourceTV demo recording that records all entities & events (master only)

tv_stoprecord
Stops SourceTV demo recording (master only)

tv_autorecord <0|1>
Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem

tv_debug <0|1>
Shows additional debugging messages

tv_dispatchmode <0|1|2>
Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always

tv_overrideroot <0|1>
Overrides the master IP broadcast to spectators with a local IP.

tv_relayvoice <0|1>
If enabled, allow player voice chat if broadcasted (master only)

tv_transmitall <0|1>
By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3.

tv_chattimelimit
Limits spectators to chat only every n seconds

tv_chatgroupsize
Set chat group size to n spectators. Only spectators in the same chat group can speak to each other. Chat groups are turned off with "tv_chatgroupsize 0" and everybody can speak to everybody. Setting chat groups helps reducing chatter noise and saves some bandwidth.

tv_chatgroup
Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only)

tv_nochat <0|1>
Disables other spectators chat lines (client only)

tv_allow_static_shots <0|1>
Allows auto-director to choose fixed camera shots (master only)

tv_allow_camera_man <0|1>
Allows spectator clients on game server to become SourceTV camera men (master only)