First off, I'm only reinstating this plugin because of several of the servers I play in continue to use it, and this. I gave it a decent clean up and added a few more features from the original Players Votes.
Features:
Voteban resilience
Tired of griefers and hackers evading voteban by disconnecting and reconnecting while voting is underway? Players Votes now makes it hard for those scoundrels to get away with it.
SourceBans notification
If Players Votes is running alongside SourceBans, it will notify and let SB handle the banning.
Ban reasons
Optionally make players specify a reason for votebanning someone. The most-selected reason is then logged when the ban takes effect.
Immunity
Admins can be excluded from votekick, ban, and mute by configurable immunity levels and overrides:
Configurable votemap list
Votemap uses the map cycle by default. Server admins may optionally specify a different maplist by adding a playersvotes section to maplists.cfg:
Spoiler
Code:
"playersvotes"
{
"file" "maplist.txt"
}
Team-restricted voting
When enabled, this restricts voting to within teams, and ratios are affected. A votekick ratio of 0.5 will mean "half of all players within the team" as opposed to "half of players in the whole server."
Please note this can cause undesired side-effects. If this is enabled, someone is hacking, and their team doesn't do anything about it, then the other team is helpless to kick/ban them. Use at your own risk.
Menu integration
Votes and admin settings are now integrated into one menu with back buttons for easy accessibility between votes.
Vote overrides
Introduced admin flag overrides so you can decide who votes and can change settings. (See Overrides section below)
Configuration:
Spoiler
PHP Code:
"playersvotes" { "chattriggers" "1" // Are chat triggers enabled? (ex: votemute, votemap) "immunity" "0" // Admins with equal or higher immunity level will not be affected by votekick, ban, or mute (0 = Immunize all admins -1 = Ignore) "kick" // Kick votes (votekick) { "enabled" "1" // Are votes enabled? "ratio" "0.6" // Ratio required for successful vote "minimum" "4" // Minimum votes required for successful vote "delay" "60" // Time in seconds before vote is allowed after map start "limit" "0" // Number of votes allowed per player, per map (0 = No limit) "interval" "30" // Interval in seconds between another vote cast "team" "0" // Are votes restricted to teams (Affects ratios) } "ban" { "enabled" "1" // Are votes enabled? "ratio" "0.8" // Ratio required for successful vote "minimum" "4" // Minimum votes required for successful vote "delay" "60" // Time in seconds before vote is allowed after map start "limit" "0" // Number of votes allowed per player, per map (0 = No limit) "interval" "30" // Interval in seconds between another vote cast "team" "0" // Are votes restricted to teams (Affects ratios) "time" "30" // Ban time in minutes (0 = Permanently) "reasons" "Hacking;Spamming" // Semi-colon delimited list of ban reasons (ex: "Hacking; Spamming;Griefing") } "map" { "enabled" "1" // Are votes enabled? "ratio" "0.6" // Ratio required for successful vote "minimum" "4" // Minimum votes required for successful vote "delay" "60" // Time in seconds before vote is allowed after map start "limit" "3" // Number of votes allowed per player, per map (0 = No limit) "interval" "30" // Interval in seconds between another vote cast "lastmaps" "4" // Number of previously played maps that will not show in votemap list "extendtime" "20" // Map extend time in minutes "maxextends" "-1" // Number of extensions allowed per map (-1 = No limit) "mode" "0" // 0 = set sm_nextmap 1 = Change immediately } "mute" { "enabled" "1" // Are votes enabled? "ratio" "0.6" // Ratio required for successful vote "minimum" "4" // Minimum votes required for successful vote "delay" "60" // Time in seconds before vote is allowed after map start "limit" "0" // Number of votes allowed per player, per map (0 = No limit) "interval" "30" // Interval in seconds between another vote cast "team" "0" // Are votes restricted to teams (Affects ratios) } }