AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Vote Mute / Vote Silence 1.0.105 (https://forums.alliedmods.net/showthread.php?t=73699)

strontiumdog 07-04-2008 12:58

Vote Mute / Vote Silence 1.0.105
 
4 Attachment(s)
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

DontWannaName 07-04-2008 15:39

Re: Vote Mute
 
Can you add it so players can type votemute in chat to mute someone.

strontiumdog 07-04-2008 16:54

Re: Vote Mute
 
It should already work.
In chat type

!votemute <playername>

DontWannaName 07-04-2008 17:01

Re: Vote Mute
 
But for players, like voteban, votemute a player by typing votemute in chat.

Cooltad 07-04-2008 17:25

Re: Vote Mute
 
Can you make it so when a player types in votemute a menu is brought up featuring different names to choose from to nominate?

strontiumdog 07-04-2008 18:41

Re: Vote Mute
 
Updated.
A menu is now called when !votemute or /votemute is called from chat.

Cooltad 07-04-2008 19:33

Re: Vote Mute
 
Quote:

Originally Posted by strontiumdog (Post 647930)
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?

Banjo Boy 07-04-2008 20:13

Re: Vote Mute
 
Excellent job, putting this on my server.

Banjo Boy 07-04-2008 21:48

Re: Vote Mute
 
BUMP, dog did you ever get my PM?

BrutalGoerge 07-04-2008 23:02

Re: Vote Mute
 
good job.

One thing I would like is for it to recognize sm_vote_delay, so that people cannot spam votes.


All times are GMT -4. The time now is 15:43.

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