esportsgameservers.com
November 23, 2008, 06:25:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Grand Opening!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [TUTORIAL] Adding Admins - Sourcemod  (Read 183 times)
Butters!
Aww shucks
Administrator
Newbie
*****
Posts: 38

butters1337@homail.com specialedgrad04
View Profile
« on: April 04, 2008, 11:46:47 AM »

Another quick and simple tutorial on adding admins, this time for Sourcemod. I know a lot of you still use Mani (tutorial soon) but I've found it to be problematic server side (.mdmp dumps) and am moving away from it, so my allegiance lies with Sourcemod. Anywho:

Before you can do any of this, make sure you have Sourcemod installed. For help installing it, click here

1. Go and get the your SteamID, or the SteamIDs of anyone you need to give admin to. For help finding your SteamID, click here

2. Head to your control panel. This is where you start, stop, restart, and do basic changes on your server. If you're unsure what yours is or where to find it, ask your game server provider.

3. Depending on what control panel your provider uses, the navigation tree might be different. I will be using TCAdmin, as it's one of the most popular and widely used. Most other panels should follow the general trend.

Please Note: Adding admins is NOT dependent on control panel

4. SteamIDs in hand, you're ready to add the admins. Go to your control panel, select your server. Head to the cstrike directory, than to addons. From addons, select sourcemod, than configs, and lastly open up admins_simple.ini for editing. The tree looks like this: (Image 1)

Cstrike -> Addons -> Sourcemod -> Configs -> admins_simple.ini

5. Sourcemod is different than some other mods in that it uses // to comment out text, unlike a semicolon ( ; ) like other popular mods. All the same, use that if you need to add something to the file which isn't supposed to be read by the server.

6. As you can see, there are a lot of different user levels and permissions you can assign. This gives Sourcemod some flexibility, and gives you as the server owner the capability to give certain admins certain rights, and therefore levels of power.

7. There are two ways to add admins, this is the most simple way. The other way is much more complex, and outside of a simple how-to. PM me if you need assistance with adding admins the other, hard, complicated, and annoying way Tongue

8. Take your SteamID, and your friends SteamIDs, and add them to the bottom of the file, like so: (Image 2)

"STEAM_0:0:123456"      "5:z"

That user is going to have all admin rights with level 5 immunity. If you want to comment so you don't forget who's who, do this: (Image 3)

// This is Johns ID

"STEAM_0:0:123456"      "5:z" // He has full admin rights, and level 5 immunity

9. That's pretty much all there is to it. Of course, some legwork on your behalf will be needed to figure out full admins, what levels to assign, and what all those silly notes mean. But, save the config file, restart the server, and go ban some noobs.

As always, questions, comments, or edits, feel free to post or PM.

-brian

For official Sourcemod documentation, see here
« Last Edit: April 05, 2008, 10:36:40 PM by bfarrell » Logged

Some people call me the space cowboy, some call me the gangster of love.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!