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

Vote Mute / Vote Silence 1.0.105


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
446
Plugin Version:
1.0.105
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    58 
    Plugin Description:
    Vote mute mic spammers and chatty players
    Old 07-04-2008 , 12:58   Vote Mute / Vote Silence 1.0.105
    Reply With Quote #1

    Mic spammers and chatty people can now be muted or silenced by popular demand.

    There are two versions: votemute and votemute_p

    Votemute is the standard one, where admins can initiate votes.

    Votemute_p is a version where any player can initiate a vote.

    Usage
    • sm_votegag <player>
    Starts a votegag on a player.
    • sm_votemute <player>
    Starts a votemute on a player.
    • sm_votesilence <player>
    Starts a votemute on a player.
    • !votemute or /votemute

      In chat, brings up a menu to begin a votemute
    • !votesilence or /votesilence

      In chat, brings up a menu to begin a votemute
    • !votegag or /votegag

      In chat, brings up a menu to begin a votegag
    Installation
    • ADMIN VERSION - votes can only be initiated by players with admin permissions
      Copy votemute.smx to addons/sourcemod/plugins

      OR
    • PUBLIC VERSION - any player can initiated a votemute/votesilence
      Copy votemute_p.smx to addons/sourcemod/plugins

    Configuration
    • sm_votemute_limit 0.6
      default: 0.3

      Sets the percentage of votes required to mute someone
    Notes
    Has been tested with TF2 but should work with other mods.

    This script has been pretty much taken from the basevotes.sp and basekick.sp scripts by AlliedModders LLC and adapted.

    Gagging also prevents players from using voicemenu.


    Changelog
    v1.0.100
    SourceMod release

    v1.0.101
    Added !votemute in chat to bring up menu to select player

    v1.0.102
    Added votesilence

    v.1.0.103 and v1.0.103P
    Fixed a bug where plugin would not obey voting delay
    Changed version P stripping it of all admin code

    v.1.0.104 and v1.0.104P
    Slapped myself upside the head and rewrote the public version

    v1.0.105 and v.10.105P
    +Added preventing the use of voicemenu by gagging player
    +Added !votegag
    Attached Files
    File Type: sp Get Plugin or Get Source (votemute_p.sp - 9667 views - 9.4 KB)
    File Type: sp Get Plugin or Get Source (votemute.sp - 6506 views - 13.8 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org

    Last edited by strontiumdog; 01-27-2009 at 01:37.
    strontiumdog is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-04-2008 , 15:39   Re: Vote Mute
    Reply With Quote #2

    Can you add it so players can type votemute in chat to mute someone.
    __________________

    DontWannaName is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 07-04-2008 , 16:54   Re: Vote Mute
    Reply With Quote #3

    It should already work.
    In chat type

    !votemute <playername>
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 07-04-2008 , 17:01   Re: Vote Mute
    Reply With Quote #4

    But for players, like voteban, votemute a player by typing votemute in chat.
    __________________

    DontWannaName is offline
    Cooltad
    Veteran Member
    Join Date: Apr 2008
    Old 07-04-2008 , 17:25   Re: Vote Mute
    Reply With Quote #5

    Can you make it so when a player types in votemute a menu is brought up featuring different names to choose from to nominate?
    __________________
    Please, give me some rep if you found what I posted useful. :]
    Cooltad is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 07-04-2008 , 18:41   Re: Vote Mute
    Reply With Quote #6

    Updated.
    A menu is now called when !votemute or /votemute is called from chat.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    Cooltad
    Veteran Member
    Join Date: Apr 2008
    Old 07-04-2008 , 19:33   Re: Vote Mute
    Reply With Quote #7

    Quote:
    Originally Posted by strontiumdog View Post
    Updated.
    A menu is now called when !votemute or /votemute is called from chat.
    Mind if I edit it and change it to just "votemap"? Also, does this plugin require any other SM base plugins to work?
    __________________
    Please, give me some rep if you found what I posted useful. :]
    Cooltad is offline
    Banjo Boy
    Member
    Join Date: Apr 2008
    Old 07-04-2008 , 20:13   Re: Vote Mute
    Reply With Quote #8

    Excellent job, putting this on my server.
    __________________
    Banjo Boy is offline
    Banjo Boy
    Member
    Join Date: Apr 2008
    Old 07-04-2008 , 21:48   Re: Vote Mute
    Reply With Quote #9

    BUMP, dog did you ever get my PM?
    __________________
    Banjo Boy is offline
    BrutalGoerge
    AlliedModders Donor
    Join Date: Jul 2007
    Old 07-04-2008 , 23:02   Re: Vote Mute
    Reply With Quote #10

    good job.

    One thing I would like is for it to recognize sm_vote_delay, so that people cannot spam votes.
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge 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 12:05.


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