How do I add admins?

Post Reply
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

How do I add admins?

Post by Nick|NFo »

With the latest version of Mani admin plugin, there are four ways to add admins:

First, you need to know your STEAMID. This is an ID given to you by STEAM that is unique and used primarily for admin access. If you do not know how to find out your own STEAMID, please read this tutorial.

1 - Generic full admin access for all STEAMID's

Create an adminlist.txt file using a text editor such as Notepad or Wordpad on your Windows computer. Inside this txt file, please add your steamid and any other steamid's (in the STEAM_0:X:XXXX format), one per line.

Example:
adminlist.txt

Code: Select all

STEAM_0:0:3310
STEAM_0:1:5190512
STEAM_0:1:125670
Save the file and place the adminlist.txt onto your server's FTP (use info provided on your file manager page) into the cfg/mani_admin_plugin/ directory. Restart/Start the server up and mani plugin will automatically generate a clients.txt file from this adminlist.txt file and give all the steamid's full access.

2 - More customized STEAMID access with admin groups and clients

Create a clients.txt file by using this community site here. Here you can add admin groups and add clients with individual or group access privileges, allowing more customization. You MUST create an admin group first on their site, in order to add clients to use that admin group. Once you have completed adding everyone, you need to generate the clients.txt file and save it to your desktop.

Upload the clients.txt via your FTP to the cfg/mani_admin_plugin/ directory and restart/start your server (server control page).

3 - Adding a basic admin via RCON to use the ingame Mani menu to add and configure admins

From the ingame console:

rcon ma_client addclient "MyName"
rcon ma_client addsteam "MyName" "STEAM_x:x:xxxxxxx"
rcon ma_client setaflag "MyName" "+client"

From HLSW console or NFo's RCON tool (server control page):

ma_client addclient "MyName"
ma_client addsteam "MyName" "STEAM_x:x:xxxxxxx"
ma_client setaflag "MyName" "+client"

After you have used one of these RCON methods, you can now access the client admin menu to configure access privileges for yourself and others.

4 - Manually create your own clients.txt

Copy and paste the one that applies to you. Replace the admin names with their ingame alias for easier tracking of admins. Edit the STEAMID to reflect yours and other admins. If you ever need additional admins then the ones provided here, either add them ingame using the client admin menu or edit the clients.txt directly by using proper structure and adding another admin section below the others.

One admin:

Code: Select all

"clients.txt"
{
    "version"    "1"

    // This key group lists all your client players
    "players"
    {
        // This must be a unique client name
        "Admin1"
        {
            // Client real name
            "name"    "Admin1"
            // Steam ID for client
            "steam"    "STEAM_x:x:xxxxxx"
            "groups"
            {
                "Admin"    "Serveradmin"
                "Immunity"    "Serveradmin"
            }
        }
    }

    // These are global groups of flags that can be assigned to clients
    "groups"
    {
        "Immunity"
        {
            "Serveradmin"    "a b c d e f g h i j k l m n o p q r s t u v x y afk ping autojoin grav Immunity"
            "Clanmember"    "a b c h k n afk ping grav autojoin Immunity"
        }
        "Admin"
        {
            "Serveradmin"    "A B C T U V W X Y Z a b c d o p q q2 q3 r z admin client grav pban spray"
            "Clanmember"    "B D E F a b c o q q2 q3 s t v w x y admin pban spray"
        }
    }

}
Multiple admins:

Code: Select all

"clients.txt"
{
	"version"	"1"

	// This key group lists all your client players
	"players"
	{
		// This must be a unique client name
		"Client_1"
		{
			// Client real name
			"name"	"Client_1"
			// Steam ID for client
			"steam"	"STEAM_x:x:xxxxxxx"
			"groups"
			{
				"Admin"	"Serveradmin"
				"Immunity"	"Serveradmin"
			}
		}

		// This must be a unique client name
		"Client_2"
		{
			// Client real name
			"name"	"Client_2"
			// Steam ID for client
			"steam"	"STEAM_x:x:xxxxxxxx"
			"groups"
			{
				"Admin"	"Clanmember"
				"Immunity"	"Clanmember"
			}
		}

		// This must be a unique client name
		"Client_3"
		{
			// Client real name
			"name"	"Client_3"
			// Steam ID for client
			"steam"	"STEAM_x:x:xxxxxxx"
			"groups"
			{
				"Admin"	"Clanmember"
				"Immunity"	"Clanmember"
			}
		}

		// This must be a unique client name
		"Client_4"
		{
			// Client real name
			"name"	"Client_4"
			// Steam ID for client
			"steam"	"STEAM_x:x:xxxxxxx"
			"groups"
			{
				"Admin"	"Teamadmin"
				"Immunity"	"Teamadmin"
			}
		}
	}

	// These are global groups of flags that can be assigned to clients
	"groups"
	{
		"Immunity"
		{
			"Clanmember"	"a b c k n p ping grav autojoin Immunity"
			"Serveradmin"	"a b c d e f g h i j k l m n o p q r s t u v x y afk ping autojoin grav Immunity"
			"Teamadmin"	"a b n Immunity"
		}
		"Admin"
		{
			"Clanmember"	"B D F H I K M N O Q R S T U V W X Y Z a b c d f g i j k l m o p s t v w y admin pban"
			"Serveradmin"	"A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g i k l m o p q q2 q3 r s t v w x y z admin client grav pban spray"
			"Teamadmin"	"I O V a b k l o p v w admin"
		}
	}

}
-Nick
Post Reply