Results 1 to 7 of 7

Thread: adding your self as an admin (HL1/2 games)

  1. #1
    ATK Member the witch's Avatar
    Join Date
    Feb 2007
    Posts
    152

    adding your self as an admin (HL1/2 games)

    for all of you that have servers rented or dedicated etc i thought i would make a Tutorial on how to add your self as an admin when using either mani, AMX or AdminMod. (YOU WILL NEED A FTP PROGRAM OF SOME SORT i recommend http://www.smartftp.com/)

    Tip : If a line in your admin list config has a // or ; before it, that line of data will not load.


    How to add admins for AMX mod

    It's pretty easy to add admins to your server. First connect to your server useing an FTP client, if you're not sure how to do this check out this website http://www.smartftp.com/ or Google it!

    Now go to the name of the folder that the users.ini file is in, it's usually mod/addons/amx/config folder. If you are useing amxx just go to that folder instead of the amx folder. Now download the users.ini onto your home machine and open it up in a text editer, word or notepad is fine..

    In that file add who you want to have admin rights.

    Access flags:
    a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
    b - reservation (can join on reserved slots)
    c - amx_kick command
    d - amx_ban and amx_unban commands
    e - amx_slay and amx_slap commands
    f - amx_map command
    g - amx_cvar command (not all cvars will be available)
    h - amx_cfg command
    i - amx_chat and other chat commands
    j - amx_vote and other vote commands
    k - access to sv_password cvar (by amx_cvar command)
    l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
    m - custom level A (for additional plugins)
    n - custom level B
    o - custom level C
    p - custom level D
    q - custom level E
    r - custom level F
    s - custom level G
    t - custom level H
    u - menu access
    z - user

    Account flags:
    a - disconnect player on invalid password
    b - clan tag
    c - this is steamid
    d - this is ip
    e - password is not checked (only name/ip/steamid needed)

    Example:
    "STEAM ID" "PASSWORD" "ACCESS FLAGS" "ACCOUNT FLAGS"
    (you can find you steamid while in the game, by typing "status" in the consol)

    So if my steamid is STEAM_0:0:32213 I would add the following...

    "STEAM_0:0:32213" "" "abcdefghijklmnopqrstu" "ce" <--- that access gives you full access, using "ce" flags removes the need

    to set a password.

    You can make it easier for yourself by adding a comment in the file so you know which line is for which player

    ; Dingo
    "STEAM_0:0:32213" "" "abcdefghijklmnopqrstu" "ce"
    ; Jack
    "STEAM_0:0:855662" "" "abcdefghijklmnopqrstu" "ce"

    Once this has been done and you have saved the files and uploaded them back onto your server, you will need to either change the map or restart your server to make
    sure changes take effect, then connect to server. Its quite easy to do and customize who has what powers, to avoid all the power hungry admins.

    How to add admins for AdminMod

    To add admins to your server you must download the users.ini file located in your cstrike folder.

    The format of the users.ini file is as follows:

    SteamIpassword:access level

    Each line in the file represents one admin. For example, if I want full admin access, and the STEAM ID is STEAM_0:0:1111111 and the password I would like to use is "password", the line in the users.ini would look like this:

    STEAM_0:0:1111111assword:81919

    How to add admins for SAP

    -- Level 0 (Normal Player, Non-Admin)
    admin_help
    admin_who

    -- Level 1
    admin_kick
    admin_map
    admin_slay

    -- Level 2
    admin_ban
    ambiance

    -- Level 3 (Includes Server console)
    admin_user
    admissive

    Each level gets all the commands from the lower ones (level 2 includes all level 1 commands and level 0s).

    To setup an admin you need one piece of information, their Steam ID, this can be found using the 'status' command when they are in-game. This Plug in does not support password or username/clan-t age login (yet?).

    admin_user "<Steam ID>" <Level>

    That is the command you have to execute in order to make an admin. You can do so from a .cg file like server.cfg when your server loads up. It is very important that you know, the Steam ID must be enclosed in " " quote marks. If you do not do this then it will simply not work.

    Examples:

    admin_user"STEAM_0:1:32420" 1
    admin_user"STEAM_0:0:12003" 3

    Comments MUST go on a separate line, or place a ; after the command.

    You can automate this by creating a new text file called 'server.cfg' and placing it in your <MOD>/CFG folder. (e.g. css/100.100.100.100/cstrike/cfg). You can make this using notepad, just when you save, click 'Text File .TXT' and change it to 'ALL Files' and then add '.CFG' to the file name.

    Note that people with Level 3 access can add more level 3 admin.

    I got this information from this web site: http://www.thelostsite.co.uk/Admin_Text.html

    How to add admins for Mani Mod

    To add yourself as mani mod connect to your FTP and edit the following file in this path, /cstrike/cfg/mani_admin_plugin/adminlist.txt. That file contains the following information, STEAM_0:0:0000000 is an example of where you put to give that STEAM ID with full admin access. Notice there is no // before the STEAM ID.

    //
    // Add your IP's Steam addresses, Names and Passwords
    // in this file for admins
    //
    //
    // e.g STEAM_0:0:21233123
    // 213.44.33.47
    //
    // ADDING FLAGS MEANS YOUR ARE STOPPING ADMINS FROM USING
    // THOSE OPTIONS UNLESS YOU HAVE mani_reverse_admin_flags set to 1
    // in your autoexec.cfg
    //
    // Restriction options are :-
    //
    // k = restrict admin from kicking players
    // r = restrict admin from executing rcon commands via ma_rcon
    // q = restrict admin from executing rcon commands from the menu
    // e = restrict admin from the adminexplode command
    // m = restrict admin from slaying players
    // b = restrict admin from banning players
    // s = restrict admin from running ma_say
    // o = restrict admin from running ma_chat
    // a = restrict admin from running ma_psay
    // c = restrict admin from changing maps
    // p = restrict admin from playing sounds
    // w = restrict admin from restricting weapons
    // z = restrict admin from plug-in config menu
    // x = restrict admin from running admincexec commands
    // y = restrict admin from running admincexec from the menu
    // i = restrict admin from running blind commands
    // l = restrict admin from running slap commands
    // f = restrict admin from running freeze commands
    // t = restrict admin from running teleport commands
    // d = restrict admin from running drug commands
    // g = restrict admin from running ma_teamswap and ma_balance commands
    //
    //
    // An example would be if you wanted to prevent admin
    // with steam id STEAM_0:0:2388333
    // from being able to play sounds and rcon command
    //
    // STEAM_0:0:2388333 rp // Admin can't rcon and play sound !!
    //
    // Another example
    // STEAM_0:0:3389333 kmc // Admin can't kick, slay or change maps
    //
    // If you wanted an admin to be created by IP Address you
    // set your entry to be in the format
    //
    // ;IP Address flag
    //
    // Example
    //
    // ;213.133.76.58 rp // Admin can't rcon and play sound !!
    // ;113.124.36.2 kmc // Admin can't kick, slay or change maps
    //
    // If you want to have an Admin created by both steam ID and IP address you
    // use the format STEAM_ID;IP_ADDRESS flags
    //
    // Example
    //
    // STEAM_0:1:877489;231.192.67.5 rp // Admin can't rcon and play sound !!
    //
    // IMPORTANT NOTES !!!!
    //
    // If you only use an IP Address, the character ';' MUST be directly in
    // front of it.
    //
    // There must be a space between the steam ID/IP Address and restriction flags
    // or the plug-in will assume that it is part of the Steam ID/IP Address
    //
    // Another alternative to using a steam id is a name and password
    //
    // The format of this is ;;"name";password flags
    //
    // For example I would use
    //
    // ;;"Mani";maniadminplugin rp // Admin can't rcon or playsound
    //
    // In order to use the password, put
    //
    // setinfo _password mypassword
    //
    // in your config.cfg file in your client installation.
    //
    //
    STEAM_0:0:0000000

    Once you have saved the new adminlist.txt just restart your server and you should have full access by typing admin in console.

    Enjoy.

  2. #2

    Re: adding your self as an admin (HL1/2 games)

    even better type: bind p admin . Or whatever key you want so that you dont have to keep typing admn into console.

  3. #3
    ATK Member the witch's Avatar
    Join Date
    Feb 2007
    Posts
    152

    Re: adding your self as an admin (HL1/2 games)

    opps forgot about that, cheers for the reminder

    Code:
    bind KEY admin in console

  4. #4
    Administrator Chalex4's Avatar
    Join Date
    Feb 2007
    Location
    Oxfordshire, UK
    Posts
    2,706
    Gamer IDs

    XFIRE ID: chalex4 Steam ID: chalex4

    Re: adding your self as an admin (HL1/2 games)

    That Mani Admin Plugin tutorial is a little outdated. This is because it no longer runs using the admin list, it now uses a file called "clients.txt". This file can be created by creating the "adminlist.txt" file and placing your steam IDs in it like this:

    STEAM_0:0:12345
    STEAM_0:0:23456
    STEAM_0:0:34567

    Once you have restarted the server the "adminlist.txt" file will be renamed to "adminlist.txt.old" and the "clients.txt" flie will be automatically created. Please note that editing the "clients.txt" file can be tricky and mistakes will break the plugin so it is best to simply add admins in-game using the GUI.
    Quote Originally Posted by ez64
    chalex has so much control we control ourselves

  5. #5
    ATK Member D@rw!n's Avatar
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    164

    Re: adding your self as an admin (HL1/2 games)

    I don't think I will use it, but thx for a good tutorial anyway!

  6. #6

    Re: adding your self as an admin (HL1/2 games)

    Yeah, you have done a good jobb
    ----If I post, I spam----



  7. #7
    ATK Member D@rw!n's Avatar
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    164

    Re: adding your self as an admin (HL1/2 games)

    Like I said i I thought I never was going to use it, but I have bought a server now and I can't get anything while inside adminpanel. What should I do in there?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Affiliates: LochTechMonster, Temple Millar, SamBigos, Addenda Provided, Prime Gaming, Petrol Smell, Game Sprays, Afterlife Gaming, L4D MapDB, Brawl Forum

All times are GMT +1. The time now is 04:46 PM. Powered by vBulletin® Version 4.2.2
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. Copyright Aim to Kill (ATK) 2014