Raised This Month: $71 Target: $400
 17% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NefariousDomination
Senior 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

    Description

    This Plugin allows all the sourcemod funcommands to be limited.
    Commands Include:
    sm_kick
    sm_ban
    sm_slap
    sm_beacon
    sm_blind
    sm_timebomb
    sm_burn
    sm_firebomb
    sm_freeze
    sm_freezebomb
    sm_gravity
    sm_drug
    sm_noclip
    sm_slay

    When an admin does one of these commands, they are given warnings and are subsequently kicked or banned depending on the ConVars below.

    ConVars:
    Neatly include in a config file (tf\cfg\sourcemod\admincontrol_cfg)

    Version

    1.0 - Initial Release
    1.1 - Added Logging for Bans, Warnings, Kicks.
    Fixed plugins version error.
    1.2 - Added optional immunity for clients with the rcon flag.
    1.3 - Added structured cvar names.
    Tidied up code.
    added a cvar to suppress the "You have had x out of y warnings" chat message.
    Big Credit to Dr.McKay

    Setup

    Click "Get Plugin" and drag it from your downloads into tf\addons\sourcemod\plugins

    Notes

    Tested on TF2 - Should work with every sourcemod compatible game.

    Please Comment any errors or bugs

    I'm only 15 so im still learning

    Post in the thread any commands you would like me to add. eg. sm_powerplay
    Attached Files
    File Type: sp Get Plugin or Get Source (AdminControl.sp - 713 views - 19.8 KB)
    __________________

    Last edited by NefariousDomination; 08-08-2013 at 12:50. Reason: Feedback given
    NefariousDomination is offline
    Wazman
    SourceMod Donor
    Join Date: Oct 2012
    Location: Michigan
    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.
    __________________
    My Mods
    Add me on steam? ...Also, My Community V

    Wazman is offline
    NefariousDomination
    Senior Member
    Join Date: Apr 2013
    Old 05-26-2013 , 10:00   Re: [ANY] Admin Funcommands Restrictor
    Reply With Quote #3

    Thats not the point, what if someone needs to be kicked or banned?? This limits how many times admins can use these commands so they cannot abuse them. Theres not always a root admin online.
    NefariousDomination 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
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 05-28-2013 , 19:43   Re: [ANY] Admin Funcommands Restrictor
    Reply With Quote #6

    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
    NefariousDomination
    Senior Member
    Join Date: Apr 2013
    Old 05-29-2013 , 03:40   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #7

    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?
    The ban limit is changeable, if you feel that it's not suited, then you could change it, that's the point of cvars. Also when have you ever seen a group of cheaters enter a server?;)
    NefariousDomination is offline
    ecca
    Sexy Santa
    Join Date: Jan 2011
    Old 05-29-2013 , 13:26   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #8

    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
    NefariousDomination
    Senior Member
    Join Date: Apr 2013
    Old 06-13-2013 , 15:51   Re: [ANY] Admin Funcommands Limiter
    Reply With Quote #9

    Version 1.1
    Added Logging for Bans, Kicks and Warnings.
    Changed "PLUGIN_VERSION" to PLUGIN_VERSION.

    Note: Logs to sourcemod\logs\AdminControl.log
    __________________

    Last edited by NefariousDomination; 06-13-2013 at 16:08.
    NefariousDomination is offline
    homerjsimpson
    Senior Member
    Join Date: Feb 2009
    Location: Springfield
    Old 06-15-2013 , 13:06   Re: [ANY] Admin Funcommands Limiter [UPDATED 13/06/13]
    Reply With Quote #10

    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
    __________________
    Homer Simpson
    CZSBrasil Clan Team
    homerjsimpson 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 10:25.


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