Template:PatchDiff/May 20, 2013 Patch/tf/cfg/replay example.cfg

From Team Fortress Wiki
Jump to: navigation, search
N/A1//
N/A2// Example replay configuration file.
N/A3//
N/A4// DO NOT MODIFY THIS FILE! Instead, copy this file to replay.cfg and modify that file.
N/A5// You will need to select either FTP offload mode, or local HTTP server mode.
N/A6// Note that it is NOT enough to exec this config file. The -replay switch much be present on the
N/A7// command line, for example:
N/A8//
N/A9// srcds -game tf -console -replay
N/A10//
N/A11// The replay system will do a sanity check at startup to help you debug any issues.
N/A12//
N/A13// For a full overview on getting setup, view the "Replay Overview for Server Operators & FAQ" here:
N/A14//
N/A15// http://forums.steampowered.com/forums/showthread.php?t=1882475
N/A16//
N/A17 
N/A18// Enable replay!
N/A19replay_enable "1"
N/A20 
N/A21// How often we dump replay data. You should not need to modify this value.
N/A22replay_block_dump_interval "15"
N/A23 
N/A24// This is the method by which clients download replay data. At the moment, only HTTP is available.
N/A25replay_fileserver_protocol "http"
N/A26 
N/A27// There are currently two supported ways that your replay server can operate:
N/A28//
N/A29// - The "local HTTP" method requires that you run a web server on the
N/A30// same machine as your game server, or at least that your gameserver can
N/A31// get the files to the HTTP server using local filesystem paths and ordinary
N/A32// filesystem copies. (For example, an NFS share.)
N/A33//
N/A34// - The "FTP" method allows you to offload replay data to another machine (which
N/A35// must be running a web server) over FTP. Clients will download their replay
N/A36// data over HTTP.
N/A37//
N/A38// Select one of those two methods, uncomment the appropriate block of code below,
N/A39// and modify the convars appropriately.
N/A40 
N/A41/////////////////////////////////////////////////////////////////////////////
N/A42//
N/A43// Local HTTP mode
N/A44//
N/A45//// Don't offload over FTP. Use a local web server.
N/A46//// You don't need to edit this line, just uncomment it.
N/A47//replay_fileserver_offload_enable "0"
N/A48//
N/A49//// The replay data will be copied to this directory
N/A50//replay_local_fileserver_path "/path/to/my/web/server"
N/A51//
N/A52//// These are used to reconstruct a URL on the client.
N/A53//replay_fileserver_host "my.server.com"
N/A54//replay_fileserver_port "80"
N/A55//replay_fileserver_path "/replays"
N/A56 
N/A57/////////////////////////////////////////////////////////////////////////////
N/A58//
N/A59// FTP mode
N/A60//
N/A61//
N/A62//// Offload using FTP. Do not use a local web server.
N/A63//// You don't need to edit this line, just uncomment it.
N/A64//replay_fileserver_offload_enable "1"
N/A65//
N/A66//// These are used to reconstruct a URL on the client.
N/A67//replay_fileserver_host "my.server.com"
N/A68//replay_fileserver_port "8080"
N/A69//replay_fileserver_path "/"
N/A70//
N/A71//// Your FTP info. This data is private and not shared with the client.
N/A72//replay_fileserver_offload_protocol "ftp"
N/A73//replay_fileserver_offload_hostname "ftp.my.server.com"
N/A74//replay_fileserver_offload_port "21"
N/A75//replay_fileserver_offload_remotepath "/"
N/A76//replay_fileserver_offload_login "username"
N/A77//replay_fileserver_offload_password "password"
N/A78//replay_fileserver_offload_maxuploads "16"
N/A79