Player voting lets your server self-moderate: players can kick problematic players by vote – ideal if you don't want to use fixed admins.
-
Stop the server
Stop your server via the dashboard. -
Connect via SFTP
Connect to your server via SFTP. -
Open Game.ini
TheGame.inifile is located in theInsurgency/Saved/Config/LinuxServer/directory. Open it. -
Enable voting
Add the following section:[/Script/Insurgency.TeamInfo] bVotingEnabled=True TeamVoteIssues=/Script/Insurgency.VoteIssueKick -
Adjust vote kick (optional)
For detailed settings, add the following section:[/Script/Insurgency.VoteIssueKick] MinimumPlayersRequired=3 bRequiresMinimumToStart=True MinimumPlayerRatio=0.25 VotePassRatio=0.75 MinimumYesNoDifference=2 VoteTimeout=90 bCanTargetEnemies=false IdleVoteBanDuration=-1 DefaultVoteBanDuration=120Setting Default Description MinimumPlayersRequired3Number of players needed to start a vote bRequiresMinimumToStartTrueWhether the minimum number is required before a vote begins MinimumPlayerRatio0.25Minimum team ratio required to start a vote VotePassRatio0.75Ratio of "yes" votes required for it to pass MinimumYesNoDifference2Lead of "yes" over "no" votes required to pass VoteTimeout90Time in seconds before a vote can be called again bCanTargetEnemiesfalseWhether enemy players can be targeted by a vote IdleVoteBanDuration-1Ban duration when voting against idle players. -1= kick onlyDefaultVoteBanDuration120Ban duration in seconds -
Start the server
Save the file and start your server.
