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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NefariousDomination
Member
Join Date: Apr 2013
Plugin ID:
3663
Plugin Version:
1.3
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows the Sourcemod FunCommands to be limited
    Old 05-25-2013 , 15:32   [ANY] Admin Funcommands Limiter [21/07/13] Version 1.3
    Reply With Quote #1

    ...

    Last edited by NefariousDomination; 08-21-2020 at 09:56. Reason: Feedback given
    NefariousDomination is offline
    Wazman
    AlliedModders Donor
    Join Date: Oct 2012
    Location: Unknown place ????
    Old 05-26-2013 , 09:06   Re: [ANY] Admin Funcommands Restrictor
    Reply With Quote #2

    You know, you can just use the override config , add those commands to root access flag only, so none of the admins can use em.
    Wazman is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 05-28-2013 , 19:43   Re: [ANY] Admin Funcommands Restrictor
    Reply With Quote #3

    Quote:
    Originally Posted by Wazman View Post
    You know, you can just use the override config , add those commands to root access flag only, so none of the admins can use em.
    Quote:
    Originally Posted by ecca View Post
    Well. Lets say a group of cheaters enter your server and an admin tries to ban them but instead he gets banned himself because some limit xD?
    Set the CVAR to -1 to negate.
    Mr. Man is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 05-28-2013 , 17:17   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #4

    Well. Lets say a group of cheaters enter your server and an admin tries to ban them but instead he gets banned himself because some limit xD?
    __________________
    ecca is offline
    pubhero
    Veteran Member
    Join Date: Aug 2012
    Location: Central Europe
    Old 05-28-2013 , 17:35   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #5

    Do not watch it. It is a good idea as a last valve against idiotic admins. Keep your good work and thank you.
    pubhero is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 05-29-2013 , 13:26   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #6

    I'm actually a programmer so i know dynamic stuff . To your question nefariousDomination , yes i have seen a group cheaters and also in the past me and my friends used to connect to servers and make people ragequit :>
    __________________
    ecca is offline
    homerjsimpson
    BANNED
    Join Date: Feb 2009
    Location: https://t.me/pump_upp
    Old 06-15-2013 , 13:06   Re: [ANY] Admin Funcommands Limiter [UPDATED 13/06/13]
    Reply With Quote #7

    Hi NefariousDomination,

    It's possible to make this limit to work for one only group to Admins and to for only specifics Admin?

    For exemple:
    1. The server has Standard and Seniors Admins, and that limit's work only for Standard Admins ?!?
    2. To make on blacklist to add SteamID's for specifics Admins to limited this commands!


    Regards
    homerjsimpson is offline
    Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
    rachid59200
    Junior Member
    Join Date: Apr 2013
    Old 06-15-2013 , 14:52   Re: [ANY] Admin Funcommands Limiter [UPDATED 13/06/13]
    Reply With Quote #8

    nice. read my pv msg pls
    rachid59200 is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 07-19-2013 , 10:42   Re: [ANY] Admin Funcommands Limiter [UPDATED 19/07/13]
    Reply With Quote #9

    This doesn't seem extraordinarily useful to me. If you have admins that you don't trust to the point where you need to limit the number of times they can do something, I believe that you need to rethink who you're granting access to.
    __________________
    Dr. McKay is offline
    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 #10

    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
    Reply



    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 19:32.


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