You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.4 KiB
86 lines
2.4 KiB
// ****************************************************************************
|
|
// SourceForts Classic
|
|
// Config - server.cfg
|
|
// Date - 26/04/2026
|
|
// ****************************************************************************
|
|
|
|
// .................................. Basic ................................. //
|
|
|
|
// hostname - Name of the server.
|
|
// Be sure to edit phase_combat.cfg and phase_build.cfg
|
|
hostname "SERVERNAME"
|
|
|
|
// rcon_password - Remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// sv_password - Server password for private servers.
|
|
sv_password ""
|
|
|
|
// sv_contact - Contact email for server sysop.
|
|
sv_contact ""
|
|
|
|
// sv_lan - LAN mode. If set the server will not show on the internet.
|
|
sv_lan 0
|
|
|
|
// ............................. Server Logging ............................. //
|
|
|
|
// log - Enables logging to file, console, and udp < on | off >.
|
|
log on
|
|
|
|
// sv_logbans - Log server bans in the server logs.
|
|
sv_logbans 1
|
|
|
|
// sv_logecho - Echo log information to the console.
|
|
sv_logecho 1
|
|
|
|
// sv_logfile - Log server information in the log file.
|
|
sv_logfile 1
|
|
|
|
// sv_log_onefile - Log server information to only one file.
|
|
sv_log_onefile 0
|
|
|
|
// ................................ Ban List ................................ //
|
|
|
|
// exec banned_user.cfg - Load the banned user ID list.
|
|
exec banned_user.cfg
|
|
|
|
// exec banned_ip.cfg - Load the banned IP address list.
|
|
exec banned_ip.cfg
|
|
|
|
// writeid - Write banned user IDs to banned_user.cfg.
|
|
writeid
|
|
|
|
// writeip - Write banned IPs to banned_ip.cfg.
|
|
writeip
|
|
|
|
// ............................. Fast Download .............................. //
|
|
// info: Allows custom maps to be downloaded to the client.
|
|
|
|
// sv_allowdownload - Allow clients to download files.
|
|
sv_allowdownload 1
|
|
|
|
// sv_downloadurl - Location from which clients can download missing files.
|
|
sv_downloadurl ""
|
|
|
|
// ...................... SourceForts Classic Settings ...................... //
|
|
|
|
// mp_sfbanlist - Use global banlist.
|
|
mp_sfbanlist 1
|
|
|
|
// sf_team_autoassign - Automatically assign players to teams.
|
|
sf_team_autoassign 0
|
|
|
|
// sf_forcebalance - Force team balance.
|
|
sf_forcebalance 1
|
|
|
|
// sf_team_blocklimit - Maximum blocks per team.
|
|
sf_team_blocklimit 50
|
|
|
|
// sf_build_long_length - Duration in seconds of the long build phase.
|
|
sf_build_long_length 600
|
|
|
|
// sf_build_short_length - Duration in seconds of the short build phase.
|
|
sf_build_short_length 240
|
|
|
|
// sf_combat_length - Duration in seconds of the combat phase.
|
|
sf_combat_length 600
|
|
|