[ANY] MuteCheck
[ANY] MuteCheck v1.9.2 Description: This simply shows who has muted a specific player via the game's mute button. This has only been tested in TF2, but it should work in any Source game. By default anyone is allowed to type sm_mutecheck and it'll display who has muted you. Admins with the flag ADMFLAG_GENERIC can also type sm_mutecheck [target] to check who's muted the specific target. The admin flag can be overridden with the override below. Commands: sm_mutecheck - responds with who has muted you sm_mutecheck [target] - responds with who has muted the target Cvars: sm_mutecheck_tag "[SM]" - allows you to change the tag prepended to Mutecheck responses sm_mutecheck_version - plugin version sm_mutecheck_auto_update "1" - enables automatic updating (has no effect if Updater is not installed) Installation: Put mutecheck.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load mutecheck" into your console or rcon. Overrides: sm_mutecheck_override - Add this to your overrides to change the flag required to check the mutes for a specific target Auto Update: Install Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater. Changelog:
Download Plugin (mutecheck.smx) View Source (mutecheck.sp) |
Re: [ANY] MuteCheck
this could be useful :)
|
Re: [ANY] MuteCheck
An option to know all players / a team if they muted you could be nice too (i.e. you display only those who muted you).
|
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Sorry kind-of tired.
You could add the following options :
i.e. : sm_mutecheckteam t --> "Bob, Jack and Dick muted you." |
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
wtf I read too quickly... nevermind me...
|
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Plugin updated to version 1.1, added auto update!
|
Re: [ANY] MuteCheck
Nice idea. Some notes:
The boolean tag is lowercase in sourcepawn. "bool:" instead of "Bool:". When using #tryinclude, make sure to mark the autoupdate natives as optional in askpluginload2 to have the plugin compile if the include fails. PHP Code:
Consider using FindTarget to allow a single target only. For performance reasons, don't declare new variables in a loop, but do it beforehand. |
Re: [ANY] MuteCheck
Quote:
I've updated it with the stuff you said. |
Re: [ANY] MuteCheck
Updated to v1.3 to fix sm_mutecheck [target] not working. My bad, I mixed up the muter and mutee in IsClientMuted().
|
Re: [ANY] MuteCheck
Plugin has been updated to v1.4. Removed immunity check from sm_mutecheck [target].
|
Re: [ANY] MuteCheck
if there are xx players on the servers and xx players have muted 1 particular person then mute the person for the other players too.. might be a idea.. (but maybe too much for now)
|
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Well if somebody is spamming the mic, if you suddenly have 5 people muting a person that usually is a dead giveaway that he is spamming. But like you said it would be another plugin then, but hey it was just a suggestion :)
|
Re: [ANY] MuteCheck
Updated. The version cvar now has an "A" appended to it if autoupdate is functioning.
|
Re: [ANY] MuteCheck
Updated. Now uses the newer, better supported Updater, added sm_mutecheck_tag to change the tag prepended to Mutecheck responses, and typing sm_mutecheck in the console without any parameters now return a usage message.
|
Re: [ANY] MuteCheck
Updated to 1.7.0. Fixed an issue where the plugin wouldn't be added to the Updater pool. If you are running Updater and you want to automatically update, simply execute "sm plugins reload mutecheck" followed by "sm_mutecheck_forceupdate" in the console/rcon.
|
Re: [ANY] MuteCheck
Firstly, is there any particular reason for disallowing the group targetting (eg @all, etc)? It could be really useful to see, at a glance, who is muted by who. If you just feel it's too much work, this plugin by necavi makes the process REALLY simple.
Secondly, any chance you could add an option for what flag someone needs to use sm_mutecheck itself? I don't want non-admins to have access, because seeing other people have muted them may cause unneeded drama. But it's a great admin tool edit: i managed to edit and recompile the plugin to fix the second issue I brought up. Would love to see that and/or the targetting thing in the official copy as well so I could let it autoupdate. |
Re: [ANY] MuteCheck
Quote:
I can edit it and add group targeting when I get home. The way it's written, it'd spam the chat, but I can make group targeting commands print to the console, similar to sm_who. |
Re: [ANY] MuteCheck
Quote:
Quote:
|
Re: [ANY] MuteCheck
Ohh. I seem to recall reading that overriding console commands (RegConsoleCmd) doesn't work. I'll turn it into a public admin command.
|
Re: [ANY] MuteCheck
Ah, neat! Glad to know I wasn't being a dumbhead :v
Regarding that list-all feature, any chance you'd add a way to list only those who've been muted by at least X people? It'd make the list smaller, more manageable, and far more useful "at a glance". These are the two methods I thought of, for what it's worth:
Thanks for being so quick to respond and for taking my requests/ideas into account! |
Re: [ANY] MuteCheck
Sorry this took so long, I completely forgot about it. :oops:
Version 1.7.2 is going live in just a moment. Only change is sm_mutecheck can now be overridden. Group targeting is coming soon. |
Re: [ANY] MuteCheck
Quote:
|
Re: [ANY] MuteCheck
Any updates on this, by any chance?
|
Re: [ANY] MuteCheck
One last bump? D:
|
Re: [ANY] MuteCheck
This has been pretty low on my list of things to do, since I have real life stuff and paid work and such. I'll see what I can get done later today, though.
|
Re: [ANY] MuteCheck
Plugin updated to v1.8.0. Changelog:
|
Re: [ANY] MuteCheck
Updated to v1.9.0. Added ability to disable automatic updating (sm_mutecheck_auto_update).
|
Re: [ANY] MuteCheck
Awesome, thanks a bunch! I didn't expect you to take time out of paid projects and the like, but I didn't want it to get forgotten about, either :v
|
Re: [ANY] MuteCheck
An idea/suggestion that would make this plugin awesome:)
Add the ability to set a threshold and if a player has X amount of mutes against him the server will auto-mute him. I know it would mean more automated queries in the back end per user vs looking up a single user a will, but just a thought. |
[ANY] MuteCheck
Quote:
|
All times are GMT -4. The time now is 00:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.