AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] MuteCheck (https://forums.alliedmods.net/showthread.php?t=165329)

Dr. McKay 04-25-2012 07:11

Re: [ANY] MuteCheck
 
Quote:

Originally Posted by Atreus (Post 1696039)
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.

There's no need to edit and recompile a plugin to change the flag required to use a command. Just override it in configs/admin_overrides.cfg.

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.

Atreus 04-25-2012 07:14

Re: [ANY] MuteCheck
 
Quote:

Originally Posted by Dr. McKay (Post 1696092)
There's no need to edit and recompile a plugin to change the flag required to use a command. Just override it in configs/admin_overrides.cfg.

That's the first thing I did, actually; however, for whatever reason, non-admins were still able to use the command. I've got a few other commands like that in the overrides file, and it worked fine on those. The only other example I can think of where it didn't work was the "Who's Free" plugin that lists everyone's Premium/F2P status. Maybe it's got something to do with argless commands?
Quote:

Originally Posted by Dr. McKay (Post 1696092)
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.

Sounds great!

Dr. McKay 04-25-2012 07:19

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.

Atreus 04-25-2012 08:15

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:
  1. Basic approach: add one new command which lists anyone with 1 or more mutes (those without are pretty pointless in this case).

  2. Fancy and flexible approach: add a new cvar (sm_mutelist_threshhold? sm_listmutes_min?) would allow admins to specify a default other than 1. A new command (sm_mutelist? sm_listmutes? sm_mutecheck_list?), or tweak to the original one, for the actual listing, allowing an int argument to override the default set by the aforementioned cvar.

Thanks for being so quick to respond and for taking my requests/ideas into account!

Dr. McKay 05-08-2012 22:37

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.

Atreus 05-11-2012 03:16

Re: [ANY] MuteCheck
 
Quote:

Originally Posted by Dr. McKay (Post 1705301)
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.

That's great to hear, thanks! :)

Atreus 05-27-2012 06:57

Re: [ANY] MuteCheck
 
Any updates on this, by any chance?

Atreus 07-09-2012 01:21

Re: [ANY] MuteCheck
 
One last bump? D:

Dr. McKay 07-09-2012 09:40

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.

Dr. McKay 07-09-2012 15:38

Re: [ANY] MuteCheck
 
Plugin updated to v1.8.0. Changelog:
  • Added support for group targeting
  • Optimized message output


All times are GMT -4. The time now is 14:52.

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