View Single Post
Author Message
Facksy
Senior Member
Join Date: Apr 2017
Location: +2+2
Old 04-29-2018 , 17:08   [ANY] In-Game Admins VIP Manager
Reply With Quote #1

Description:

This plugin allow admins with root flags to change flags of all admins in the admin.cfg files, to create or modify admins using SteamID, and to add flags to players who are in-game,
It's useful for owners if one of them don't have access to the admins.cfg file and facilitate adding admins in-game.
Unlike Despirator's plugin, this one save changes into your admins.cfg file, but here you have to delete all comments in this file, otherwise it will replies errors.
Make it looks like this:
Code:
"Admins"
{
    "Facksy"
    {
        "auth"		"steam"
        "identity"		"STEAM_0:0:75807078"
        "flags"		"zad"
    }
}
Commands:
"sm_addmin": Open the the admin manager menu
"sm_addmins"
"sm_addadmin"
"sm_addadmins"

Cvar:
CreateConVar("sm_addmin_version", ADDMIN_VERSION, "Addmin version", FCVAR_NOTIFY|FCVAR_REPLICATED);

Version 1.0.1


Note:
Setting player's admin group is kinda messy actually because of Keyvalues missreading, sometimes ignoring caps in the admins_group.cfg file (reading "vip" instead of "VIP"), so it doesnt always works,
If you wanna use this feature, make sure to set all group's name lowercase, it should work. (from "VIP" -----> "vip")
Try deleting comments in that file too to be sure.


Here is a demonstration video of this plugin: Here
Attached Files
File Type: sp Get Plugin or Get Source (Addmin.sp - 662 views - 14.8 KB)
__________________
My Steam I take private requests if related with TF2
My Plugins

Last edited by Facksy; 08-09-2019 at 05:09. Reason: Restore to previous version.
Facksy is offline