From 2ae3a556478810bbd2e9c767349b687c48031814 Mon Sep 17 00:00:00 2001 From: Frisasky Date: Mon, 1 Jul 2019 21:48:49 +0800 Subject: [PATCH 1/2] Create SourceForts Classic config file https://github.com/GameServerManagers/LinuxGSM/issues/2209 --- SourceFortsClassic/server.cfg | 82 +++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 SourceFortsClassic/server.cfg diff --git a/SourceFortsClassic/server.cfg b/SourceFortsClassic/server.cfg new file mode 100644 index 0000000..702d25f --- /dev/null +++ b/SourceFortsClassic/server.cfg @@ -0,0 +1,82 @@ +// ************************************************************************** // +// // +// SourceForts Classic - server.cfg // +// // +// ************************************************************************** // + +// .................................. Basic ................................. // + +// Hostname - Name of the server. +hostname "SERVERNAME" + +// RCON - remote console password. +rcon_password "ADMINPASSWORD" + +// Server password - for private servers. +sv_password "" + +// Email - Server admin email. +// Example: sv_contact "email@example.com" +sv_contact "" + +// LAN mode - If set the server will not show on the internet. +// Default: sv_lan 0 +sv_lan 0 + +// ............................. Server Logging ............................. // + +// Enable log - Enables logging to file, console, and udp < on | off >. +// Recommended: log on +log on + +// Log bans - Log server bans in the server logs. +// Default: sv_logbans 1 +// Recommended: sv_logbans 1 +sv_logbans 1 + +// Log echo - Display log information to the server console. +// Default: sv_logecho 1 +// Recommended: sv_logecho 1 +sv_logecho 1 + +// Log file - Log server information in the log file. +// Default: sv_logfile 1 +// Recommended: sv_logfile 1 +sv_logfile 1 + +// One file log - Log server information to only one file. +// Default: sv_log_onefile 0 +// Recommended: sv_log_onefile 0 +sv_log_onefile 0 + +// ................................ Ban List ................................ // + +// User ban - Server banlist based on user steam ID. +// Recommended: exec banned_user.cfg +exec banned_user.cfg + +// IP ban - Server banlist based on user IP. +// Recommended: exec banned_ip.cfg +exec banned_ip.cfg + +// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg. +writeid + +// Write IP - Save the ban list to banned_ip.cfg. +writeip + +// ........................ SourceForts Classic Settings...................... // + +// Use global banlist ? +// WARNING: Disabling this will allow globally-banned griefers to join your server +mp_sfbanlist 1 + +// Team Settings +sf_team_autoassign 0 +sf_forcebalance 1 + +// The values below defines some of the Sourceforts rules. It is recommended to leave them as default. +sf_team_blocklimit 50 +sf_build_long_length 600 +sf_build_short_length 240 +sf_combat_length 600 From af1533f871fc88c78f136c0836895ebffbc67d6f Mon Sep 17 00:00:00 2001 From: Frisasky Date: Mon, 1 Jul 2019 21:55:09 +0800 Subject: [PATCH 2/2] Add SourceForts Classic config file --- SourceFortsClassic/server.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceFortsClassic/server.cfg b/SourceFortsClassic/server.cfg index 702d25f..aa887bc 100644 --- a/SourceFortsClassic/server.cfg +++ b/SourceFortsClassic/server.cfg @@ -1,6 +1,6 @@ // ************************************************************************** // // // -// SourceForts Classic - server.cfg // +// SourceForts Classic - server.cfg // // // // ************************************************************************** //