INX Gaming Tutorial: Add admin with Sourcemod (Simple Method)

In this tutorial we are going to go through adding admins to your server with Sourcemod. There are two different ways of adding admins to your server. There is the ‘Simple’ method which is… well, what can i say? Simple. There is another method called detailed which i will go through in another tutorial.

Firstly, login to your INX control panel and select the server that you want to add an admin to.

Once you have entered the control panel for the respective server, click on ‘File Editor’.

Once you are in the file editor, locate the file called ‘admins_simple.ini’ and click ‘Edit’ next to the file.

When you have clicked edit, you will be shown the admins_simple.ini file. You can connect to your server via FTP and make any amendments to the file that way, but it will be far more beneficial to you to edit the file through the control panel as it keeps a backup of each change that you make to the file. If you happen to delete the wrong admin, you can open up a previous version of the file and re-instate the admin before anyone realises that there was a problem :P

Any admins that you add to the admins_simple.ini file should be kept all in one area of the file so that is it easier to find when making amendments in the future. The ideal place to enter all the admins is in the highlighted area below.

Now, here is where things can be mis-typed and cause things to not work when you expect them to. The piece of text that is entered here is known as a string. That is a string of text and not a piece of string that you tie things up with! We are now going to go through how you structure this ‘string’ in order for the server to be able to read it and allocate the correct permissions to the correct user.

There are three ways in which the server can authenticate users who you have allocated admin to. The server can authenticate by SteamID, IP address or name. The best method for adding admins is to add them using their SteamID and not the IP address or name. This means that admin will only be allocated to that SteamID and nobody else. If you were to add an admin by name, someone could change their name to what you have in the file and use the password (if known) to gain admin rights on the server. As i mentioned above, my recommended way of authenticating admin is by using the players SteamID.

The next thing that you will need to know for each of the admins is what level of access they are to be given. This is determined by Admin Levels or Admin Flags which is specified as part of the string to be entered in the admins_simple.ini file.

Here is a list of all the admin flags that can be used for allocating permissions:

“reservation”    ”a” //Reserved slots
“generic”        ”b” //Generic admin, required for admins
“kick”            ”c” //Kick other players
“ban”            ”d” //Banning other players
“unban”            ”e” //Removing bans
“slay”            ”f” //Slaying other players
“changemap”        ”g” //Changing the map
“cvars”            ”h” //Changing cvars
“config”        ”i” //Changing configs
“chat”            ”j” //Special chat privileges
“vote”            ”k” //Voting
“password”        ”l” //Password the server
“rcon”            ”m” //Remote console
“cheats”        ”n” //Change sv_cheats and related commands

Once you have determined what level of access they are to be given, you are ready to enter the information into the admins_simple.ini file. Your string that you will need to enter into the file should look something similar to this:

“steam_0:1:2345678″      “bcdefghijklmn”

This is the core information that is required for allocating admin permissions. There will be a problem when you start adding more admins as you won’t be able to identify which admin is which on the list. You can get around this problem by adding a little more to the string which the server will ignore. If you put // before any text in a command file, the server ignores what is in that line after the two slashes.

My string will now look like this:

“steam_0:1:2345678″      “bcdefghijklmn”               //bob – full admin

I can now easily identify that this string is for ‘bob’ who has full admin. We are now going to enter this into the admins_simple.ini file.

Once you have entered the information into the file, click ‘Save File’ and then restart your server. You have now successfully given admin to someone on your server.

Here is what the file would look like with multiple admins:

Yes, please excuse the names of the admins that i have chosen in the example above :)

This entry was posted in Tutorials. Bookmark the permalink.

9 Responses to INX Gaming Tutorial: Add admin with Sourcemod (Simple Method)

  1. Bouldy says:

    Nice Tut Mate :)

  2. Skepta says:

    Didn’t have any file other than server.cfg in there, I have installed both mods. Did this via ftp basically.

  3. Donaz93 says:

    i dont understand this, at all.

  4. Olly says:

    @Skepta- what game were you running?

    @Donaz93- Where are you stuck?

  5. hcp salty says:

    I have insalled sourcemod but i aint got no admins.simple stuff and no other stuff either from it i just installed it but no changes at all…

  6. hazx k says:

    well “steam:0:1:2345678″ “bcdefghijklmn” this ( “ ) and this ( ” ) doesnt work you need to put this one ( ” )

  7. hazx k says:

    well idk its shows wrong here

  8. Glenn says:

    My apologies, i have noticed an error in the syntax for the Steam ID. It shows in the images that the Steam ID should be “steam:0:1:234567″. This is incorrect and should be “steam_0:1:234567″. Please note the underscore ( _ ) after steam and not the colon ( : ) as shown in the images.

    My apologies and i will go away and correct this now with a slap on the wrist :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>