From 6f5015a9edc1450203fb4b7f16883fd42b47395c Mon Sep 17 00:00:00 2001
From: Phil <phil@philphonic.de>
Date: Wed, 6 Jan 2016 19:55:37 +0100
Subject: [PATCH] More config options

---
 Insurgency/cfg/lgsm-default.cfg | 183 ++++++++++++++++++++++++++++++--
 1 file changed, 174 insertions(+), 9 deletions(-)

diff --git a/Insurgency/cfg/lgsm-default.cfg b/Insurgency/cfg/lgsm-default.cfg
index ef8739d35..b8a98558c 100644
--- a/Insurgency/cfg/lgsm-default.cfg
+++ b/Insurgency/cfg/lgsm-default.cfg
@@ -1,7 +1,7 @@
 // ****************************************************************************
 //                                                                            *
 //     Ingurgency - server.cfg                                                *
-//     Version 050116                                                         *
+//     Version 060116                                                         *
 //                                                                            *
 // ****************************************************************************
 
@@ -10,9 +10,6 @@
 // Hostname for server.
 hostname "<hostname>"
 
-// RCON - remote console password.
-rcon_password "<rconpassword>"
-
 // Server password - for private servers.
 sv_password ""
 
@@ -23,10 +20,26 @@ sv_contact "email@example.com"
 // Default: sv_lan 0
 sv_lan 0
 
-// Set maximum Server FPS
+// Set maximum server FPS
 // Default: fps_max 300
 fps_max 300
 
+// ........................... RCON Configuration .......................... //
+
+// RCON - remote console password.
+rcon_password "<rconpassword>"
+
+// Number of minutes to ban users who fail rcon authentication
+// min. 0
+sv_rcon_banpenalty 10
+
+// Enable/disable rcon logging
+sv_rcon_log 1
+
+// Max number of times a user can fail rcon authentication before being banned
+// min. 1 max. 20
+sv_rcon_maxfailures 5
+
 // ......................... Matchmaking Playlists ......................... //
 // info: Selecting a playlist will allow the server to show up in matchmaking.
 // Playlists use predefined settings and mapcycle. 
@@ -79,12 +92,164 @@ sv_playlist "nwi/coop"
 //
 //mapcyclefile "mapcycle.txt"
 
-// .......................... Coop mode settings ........................... //
+// .......................... Coop Mode Settings ............................ //
+// info: Settings for all cooperative gamemodes
 
 // Set the maximum number of human players in Cooperative modes
-// Maximum Value: 8
-// Default: mp_coop_lobbysize = 6
-// mp_coop_lobbysize = 6
+// Maximum value: 8
+// Default: mp_coop_lobbysize 6
+//mp_coop_lobbysize 6
+
+// Set the minimum number of bots
+//mp_coop_min_bots 5
+
+// Set the maximum number of bots
+// Maximum value: maxplayers - mp_coop_lobbysize
+//mp_coop_max_bots 18
+
+// ........................... Voting Settings .............................. //
+
+// Allow voting?
+sv_allow_votes 1
+
+// Is map voting enabled?
+sv_map_voting 1
+
+// Allow spectators to vote?
+sv_vote_allow_spectators 0
+
+// A vote that fails cannot be re-submitted for this long
+sv_vote_failure_timer 300
+
+// Can people hold votes to change AI count?
+sv_vote_issue_botcount_allowed 1
+
+// The voting population required to pass a bot count vote
+// min. 0.1 max. 1
+sv_vote_issue_botcount_min_population 0.55
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_issue_botcount_min_ratio 0.5
+
+// Can people hold votes to change AI difficulty?
+sv_vote_issue_botdifficulty_allowed 1
+
+// The voting population required to pass an AI difficulty vote
+// min. 0.1 max. 1
+sv_vote_issue_botdifficulty_min_population 0.55
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_issue_botdifficulty_min_ratio 0.5
+
+// Can people hold votes to change the gamemode?
+sv_vote_issue_changegamemode_allowed 0
+
+// Can people hold votes to change levels?
+sv_vote_issue_changelevel_allowed 1
+
+// If enabled, wait until the end of the round to change levels
+sv_vote_issue_changelevel_wait 1
+
+// Can people hold votes to kick players from the server?
+sv_vote_issue_kick_allowed 1
+
+// Can we kick the other team?
+sv_vote_issue_kick_other_team 0
+
+// Can people hold votes to set the next level?
+sv_vote_issue_nextlevel_allowed 1
+
+// Allow players to extend the current map?
+sv_vote_issue_nextlevel_allowextend 0
+
+// Present players with a list of maps to choose from?
+sv_vote_issue_nextlevel_choicesmode 1
+
+// Not allowed to vote for a nextlevel if one has already been set
+sv_vote_issue_nextlevel_prevent_change 1
+
+// How many rounds before map voting can begin
+sv_vote_issue_nextlevel_round_count_delay 1
+
+// The voting population required to pass a next level vote
+// min. 0.1 max. 1
+sv_vote_issue_nextlevel_min_population 0.55
+
+// How strong does the yes vote need to be to win? (2.0 = 2x more voters)
+// min. 1 max. 5
+sv_vote_issue_nextlevel_min_ratio 0.5
+
+// Can people hold votes to restart the game?
+sv_vote_issue_restart_game_allowed 1
+
+// Can people hold votes to restart the round?
+sv_vote_issue_restart_round_allowed 1
+
+// Can people hold votes to scramble the teams?
+sv_vote_issue_scramble_teams_allowed 1
+
+// Can people hold votes to switch the teams?
+sv_vote_issue_switch_teams_allowed 1
+
+// How long should a kick ban last for if a player is kicked for hacking? (minutes)
+sv_vote_kick_ban_duration_cheating 240
+
+// The voting population required to kick a person for hacking
+// min. 0.1 max. 1
+sv_vote_kick_hack_min_population 0.60
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_kick_hack_min_ratio 0.66
+
+// How long should a kick vote ban someone from the server? (in minutes)
+sv_vote_kick_ban_duration_idle 0
+
+// The voting population required to kick a person for being idle
+// min. 0.1 max. 1
+sv_vote_kick_idle_min_population 0.20
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_kick_idle_min_ratio 0.5
+
+// How long should a kick ban last for if a player is kicked for team killing? (minutes)
+sv_vote_kick_ban_duration_teamkilling 10
+
+// The voting population required to kick a person for team killing
+// min. 0.1 max. 1
+sv_vote_kick_tk_min_population 0.25
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_kick_tk_min_ratio 0.66
+
+// How long should a kick ban last for if a player is kicked for trolling? (minutes)
+sv_vote_kick_ban_duration_trolling 60
+
+// The voting population required to kick a person for trolling
+// min. 0.1 max. 1
+sv_vote_kick_troll_min_population 0.40
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_kick_troll_min_ration 0.66
+
+// The minimum number of players needed on the server to start a vote kick
+sv_vote_kick_min_players 4
+
+// Minimum number of vote attempts required to start an actual vote
+sv_vote_kick_min_voters 3
+
+// The voting population required
+// min. 0 max. 1
+sv_vote_min_population 0.55
+
+// What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
+// min. 0 max. 1
+sv_vote_min_ratio 0.55
 
 // ............................. Fast Download .............................. //
 // info: Allows custom maps to be downloaded to the client.