CSGO How to become admin with Sourcemod
To become an admin, you first need your SteamID.
You can easily obtain it from here: steamid.io.
Basic Mode
In Basic Mode, you enter the SteamID in the Add-Ons section
in the corresponding field.
You can choose any name, as it is only for identification purposes.
Under Permissions, you can configure what actions the admin is allowed to perform on the server.
If a permission is highlighted in blue, it means it is active.
Advanced Mode
In Advanced Mode, you can add admins either in the admins_simple.ini
or in the admins.cfg
file.
We will explain both options below.
admins_simple.ini
The entry in the admins_simple.ini
file looks like this:
"STEAM_0:0:00000" "abcdef" //Admin1
First, you need to specify the admin’s SteamID, followed by the flags.
You can find the meaning of each individual flag in the admin_levels.cfg
file.
Finally, you add the admin’s name. Similarly to the Basic Mode, the name can be freely chosen.
admins.cfg
An admin in the admins.cfg
file needs to be added in XML-style. Here is an example:
Admins
{
"Admin1"
{
"auth" "steam"
"identity" "STEAM_0:1:001"
"flags" "abcdefghijklmnopqrstz"
}
"Admin2"
{
"auth" "steam"
"identity" "STEAM_0:1:002"
"flags" "abcdefghijklmnopqrstz"
}
"Admin3"
{
"auth" "steam"
"identity" "STEAM_0:1:003"
"flags" "abcdefghijklmnopqrstz"
}
"Admin4"
{
"auth" "steam"
"identity" "STEAM_0:1:004"
"flags" "abcdefghijklmnopqrstz"
}
}
Note that only the name, SteamID, and flags can be modified in this case. You can also assign admins to a group, which would look like this:
Admins
{
"Admin1"
{
"auth" "steam"
"identity" "STEAM_0:1:001"
"group" "Group1"
}
"Admin2"
{
"auth" "steam"
"identity" "STEAM_0:1:002"
"group" "Group2"
}
"Admin3"
{
"auth" "steam"
"identity" "STEAM_0:1:003"
"group" "Group3"
}
"Admin4"
{
"auth" "steam"
"identity" "STEAM_0:1:004"
"group" "Group4"
}
}
You can create the groups in the admin_groups.cfg
file.
Otherwise, the same rules apply here: only the name, SteamID, and group can be modified.