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

[ANY] Admin Funcommands Limiter [21/07/13] Version 1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-20-2013 , 03:59   Re: [ANY] Admin Funcommands Limiter [UPDATED 19/07/13]
Reply With Quote #11

Feedback as per our IRC discussion:
  1. You might want to look into clientprefs or something to overcome rejoining wiping the limit
  2. You defined a VersionCV variable but never used it (your version cvar is commented out for some reason)
  3. You should be using AddCommandListener, not RegConsoleCmd
  4. Your cvars don't follow any standard naming convention. I'd suggest admin_control_cvarname, like kickcv -> admin_control_kick
  5. You may want to add a cvar to suppress the "You have had x out of y warnings" chat message
  6. Don't return Plugin_Handled or there's a chance that you'll block the base SM plugin from doing its job. Plugin_Continue will suffice.
  7. Using GetClientName at all is unnecessary in this plugin. Just use the %N format specifier. See also: http://wiki.alliedmods.net/Format_Cl...Mod_Scripting)
  8. You're repeating if(CheckCommandAccess(client, "sm_addban", ADMFLAG_RCON, true) && GetConVarInt(AdminControlType) == 1) a lot. You might want to put it into a function.
__________________

Last edited by Dr. McKay; 07-20-2013 at 03:59.
Dr. McKay is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 07-21-2013 , 02:54   Re: [ANY] Admin Funcommands Limiter [UPDATED 19/07/13]
Reply With Quote #12

This plugin not working for me, with the game CSS (OB, ofc.)
Plugin running, but nothing not do.
Here is my admins.cfg

Here is my admincontrol_cfg.cfg

game, sm, mm versions

Last edited by pubhero; 07-21-2013 at 03:03.
pubhero is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 07-21-2013 , 16:09   Re: [ANY] Admin Funcommands Limiter [UPDATED 19/07/13]
Reply With Quote #13

Quote:
Originally Posted by NefariousDomination View Post
Are you running commands from the admin menu or typing them in? Only /slap rather than slap in the admin menu works
Try from the admin menu. Not working for me.
pubhero is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 10-03-2014 , 17:33   Re: [ANY] Admin Funcommands Limiter [21/07/13] Version 1.3
Reply With Quote #14

great. using admin menu ignores all of this. thats just great.
Robin955 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 10-03-2014 , 18:40   Re: [ANY] Admin Funcommands Limiter [21/07/13] Version 1.3
Reply With Quote #15

and i just noticed, admin or not admin. if you have access to the command or not. = warnings.

regular ppl who is not admin but just type !slay gets their ass owned by this plugin. and admins can avoid this using admin menu.

right now i saw this as a very fun plugin so i could just troll my admins. now i notice it was a waste of time after some normal player on my server gets rekt by this shit. adding this just makes regular players leave the server.
Robin955 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 09:48.


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