View Single Post
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 11-26-2008 , 17:35   L4D Voting Manager
Reply With Quote #1

This plugin will allow you to stop players from starting various vote types in L4D, while still allowing admins to.

It adds the following cvars:
l4d_vote_lobby_access
l4d_vote_difficulty_access
l4d_vote_level_access
l4d_vote_restart_access
l4d_vote_kick_access

Setting any of these to an access level (ex: "z","b") will require the user to have at least that access level before starting a vote. Setting this to an empty string "", will allow any user to start a vote.

It also adds:
l4d_vote_kick_immunity 0|1

Setting this to 1 will make vote kicks respect admin immunity, that is, users with lower access cannot kick users with higher access. Public players will not be able to kick admins.

Changelog:
0.2:
* Added logging of failed votes to the admin logs
* Added l4d_vote_kick_immunity
Attached Files
File Type: sp Get Plugin or Get Source (votemanager.sp - 5121 views - 3.6 KB)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/

Last edited by DJ Tsunami; 12-04-2008 at 11:20.
devicenull is offline