Raised This Month: $12 Target: $400
 3% 

L4D Voting Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Author
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Plugin ID:
649
Plugin Version:
0.2
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows you to restrict voting commands in L4D
    Unapprover:
    Reason for Unapproving:
    Replaced by http://forums.alliedmods.net/showthread.php?t=85364
    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 - 5113 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
    The JCS
    AlliedModders Donor
    Join Date: Jan 2007
    Location: Brazil
    Old 11-26-2008 , 17:37   Re: L4D Voting Manager
    Reply With Quote #2

    Very good plugin =]
    You could add options to call a vote from the server console
    The JCS is offline
    Send a message via MSN to The JCS
    devicenull
    Veteran Member
    Join Date: Mar 2004
    Location: CT
    Old 11-26-2008 , 17:37   Re: L4D Voting Manager
    Reply With Quote #3

    Quote:
    Originally Posted by The JCS View Post
    Very good plugin =]
    You could add options to call a vote from the server console
    That's already built into the game, use the "callvote" command.
    __________________
    Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
    devicenull is offline
    The JCS
    AlliedModders Donor
    Join Date: Jan 2007
    Location: Brazil
    Old 11-26-2008 , 17:40   Re: L4D Voting Manager
    Reply With Quote #4

    Oh, ... =( I didn't know that. Thanks! =]
    The JCS is offline
    Send a message via MSN to The JCS
    recon0
    Veteran Member
    Join Date: Sep 2007
    Location: US
    Old 11-26-2008 , 17:44   Re: L4D Voting Manager
    Reply With Quote #5

    Can you add a cvar to make admins immune from votekicks?

    I don't want to turn off the function entirely, but I need to be able to protect admins from it.
    __________________
    recon0 is offline
    r5053
    SourceMod Donor
    Join Date: May 2007
    Location: Germany
    Old 11-26-2008 , 17:50   Re: L4D Voting Manager
    Reply With Quote #6

    simple but usefull
    __________________
    Visit HLPortal.de (this is not my Page)


    r5053 is offline
    Send a message via ICQ to r5053 Send a message via Skype™ to r5053
    devicenull
    Veteran Member
    Join Date: Mar 2004
    Location: CT
    Old 11-26-2008 , 18:01   Re: L4D Voting Manager
    Reply With Quote #7

    Quote:
    Originally Posted by recon0 View Post
    Can you add a cvar to make admins immune from votekicks?

    I don't want to turn off the function entirely, but I need to be able to protect admins from it.
    Like I said in IRC, it's planned implemented
    __________________
    Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/

    Last edited by devicenull; 11-27-2008 at 00:53.
    devicenull is offline
    subzero06
    Member
    Join Date: Nov 2008
    Old 11-27-2008 , 03:42   Re: L4D Voting Manager
    Reply With Quote #8

    Cool!
    my question is, Those cvars, where and how do we edit them? or do we have to put them somewhere in a file?
    i just want the admin to be immune from being kicked from votes....but all other options should stay normal...
    subzero06 is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 11-27-2008 , 03:49   Re: L4D Voting Manager
    Reply With Quote #9

    Put them at the end of sourcemod.cfg or server.cfg

    These change the actual game votes from the escape menu im guessing? So when someone isnt allowed to call a vote and trys to through the menu it does nothing?
    __________________

    DontWannaName is offline
    subzero06
    Member
    Join Date: Nov 2008
    Old 11-27-2008 , 10:56   Re: L4D Voting Manager
    Reply With Quote #10

    So, in my case it should be

    l4d_vote_kick_immunity 1
    l4d_vote_lobby_access ""
    l4d_vote_difficulty_access ""
    l4d_vote_level_access ""
    l4d_vote_restart_access ""
    l4d_vote_kick_access ""
    subzero06 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 07:01.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode