Raised This Month: $ Target: $400
 0% 

Temporary Admin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   EKS (166)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-12-2005 , 18:26   Temporary Admin
Reply With Quote #1

  • This plugin allows you to add admins through console for X amount of days. After X days they are removed.

Set-Up:
  • Place "users2.ini" into your configs folder

Command:
  • amx_tempadmin <NAME> <Days to have admin (0=infinate)> <Flags(find out flags in users.ini file)>

  • This plugin modifies your users.ini. It adds 2 lines to it like below:
    • Example:
    Code:
    amx_tempadmin GHW.Chronic 7 bcdefghijklmnopqrstu
        - will give "GHW.Chronic" admin for 7 days with access of "bcdefghijklmnopqrstu".
    Will Add This Into Your Users.ini File:
    Code:
    ;GHW.Chronic
    "STEAM:0:Chronic" "" "bcdefghijklmnopqrstu" "ce"


If you ever need to append the users.ini file after you have added a temp-admin:
  • NEVER Add A New Line Into The File Unless The New Line Is Appended To The End Of The File.

    Example:

    From USERS.ini:
    Code:
    ; Guy1
    "STEAM_0:0:1234567" "" "bcdefghijklmnopqrstu" "ce" //Temp-Admin
    
    ADD NEW LINE HERE AT END
    If You Need To Remove An Admin Manually DO NOT REMOVE THE LINE WITH THEIR STEAM ID. Just Add A ";" Infront Of It.
Attached Files
File Type: sma Get Plugin or Get Source (ghw_temp_admin.sma - 6106 views - 10.7 KB)
File Type: zip users2.zip (118 Bytes, 3322 views)

Last edited by GHW_Chronic; 02-10-2007 at 00:58.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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 18:59.


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