Raised This Month: $44 Target: $400
 11% 

Admin Flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mitch
Junior Member
Join Date: Aug 2011
Plugin ID:
2477
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Modifys admins/flags/immunity/overrides in the admin cache.
    Old 08-05-2011 , 03:22   Admin Flags
    Reply With Quote #1

    Description:
    This plugin allows admins(by default, root) to temporally add or remove admin flags, as well as temporally set admin immunities, and temporally override commands while they are ingame.
    These changes last until map change.

    Cvars:
    sm_adminflag_version , Shows the plugin version.
    sm_addflag_disable <1/0> Disable/Enable(1/0) Enable or disable sm_addflag.
    sm_delflag_disable <1/0> Disable/Enable(1/0) Enable or disable sm_delflag.
    sm_invalidate_disable <1/0> Disable/Enable(1/0) Enable or disable sm_invalidate.
    sm_immunity_disable <1/0> Disable/Enable(1/0) Enable or disable sm_immunity.
    sm_override_disable <1/0> Disable/Enable(1/0) Enable or disable sm_override.
    sm_unoverride_disable <1/0> Disable/Enable(1/0) Enable or disable sm_unoverride.
    sm_createadmin_disable <1/0> Disable/Enable(1/0) Enable or disable sm_createadmin.

    Commands:
    sm_addflag <#userid|name> <flag> -Adds an admin flag to an admin .
    sm_delflag <#userid|name> <flag> -Removes an admin flag from an admin.
    sm_listflags -Lists all of the admin flags used in this plugin.
    sm_invalidate <#userid|name> -Invalidates the targets admin id.
    sm_setimmunity <#userid|name> <level> -Sets an admins immunity.
    sm_getimmunity <#userid|name> -Finds the admins immunity.
    sm_override <command> <flag> -Overrides a command to to the specified flag.
    sm_unoverride <command> -Removes a command override.
    sm_createadmin <#userid|name> -Creates an admin in the admin cache.

    Notes:
    All changes made with this plugin are temporary.
    You can use sm_who <Player> to find the admins current access flags.
    sm_reloadadmins also resets all changes made with this plugin.

    Thanks to DarthNinja for help on the things i could not figure out how to do
    Attached Files
    File Type: sp Get Plugin or Get Source (adminflags.sp - 1702 views - 17.9 KB)
    Mitch is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 10-21-2013 , 11:23   Re: Admin Flags
    Reply With Quote #2

    Sourcebans + sourcemod have a lot of these already... dont see a reason to add admin rights to someone for few hours or so.... You can give admin rights temporary using sourcebans and you have nice web interface there and banlist as well.
    __________________
    luki1412 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 14:03.


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