Temporary Admin

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Temporary Admin

Post by greenie »

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

.zip
Post Reply

Return to “Server Management”