Raised This Month: $51 Target: $400
 12% 

SM Admin groups


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Excel Gamers
Member
Join Date: Jul 2011
Old 09-09-2011 , 18:46   SM Admin groups
Reply With Quote #1

Ok well I need to set up an admin system for my servers.

I wont to make the admin groups with the following commands


Group 1: (Immunity 1)

Enable command's

Slap
Slay
Kick
Admin Chat
Team switch later

Disable command's

Armour
HP
Bury
Igniting Players
Give item
Defuse Kit
NightVision
Helmet
God Mode
Gravity
Extend
No Clip
Speed
Respawn
Shutdown
Teleport
Client Execute


Group 2: (Immunity 2)

Enabled

Slap
Slay
Kick
Admin Chat
Team switch later
Mute
Gag
Ungag
Unmute


Disabled

Armour
HP
Bury
Igniting Players
Give item
Defuse Kit
NightVision
Helmet
God Mode
Gravity
Extend
No Clip
Speed
Respawn
Shutdown
Teleport
Client Execute



Group 3: (Immunity 3)

Enabled

Slap
Slay
Kick
Admin Chat
Team switch later
Mute
Gag
Ungag
Unmute
Ban
Unban
Respawn
Team ban (Team ban plugin)
Ban disconnected (Ban disconnected plugin)

Disabled

Armour
HP
Bury
Igniting Players
Give item
Defuse Kit
NightVision
Helmet
God Mode
Gravity
Extend
No Clip
Speed
Shutdown
Teleport
Client Execute


Can anybody please run me through how I could set these groups up. I have Advanced commands and Super commands set up on my server's.



Also I want it so that admin's added will be added to ALL my server's? I have a VPS that has 3 server's on it. Is this at all possible.


Thanks to anybody that can help.

Last edited by Excel Gamers; 09-09-2011 at 18:53.
Excel Gamers is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-10-2011 , 04:09   Re: SM Admin groups
Reply With Quote #2

Have you installed SourceBans on server or any other plugin, what add admins more different way than edit straight from admins.cfg ? (Hope I asked understandingly...)
__________________
Do not Private Message @me
Bacardi is offline
Excel Gamers
Member
Join Date: Jul 2011
Old 09-10-2011 , 05:55   Re: SM Admin groups
Reply With Quote #3

Yes I have sourcebans installed and with a sourcebans webpage. Not sure as to what you mean on your second question.
Quote:
what add admins more different way than edit straight from admins.cfg ?
Excel Gamers is offline
Kjaer
Senior Member
Join Date: Oct 2009
Location: Canada
Old 09-10-2011 , 06:34   Re: SM Admin groups
Reply With Quote #4

Quote:
Originally Posted by Excel Gamers View Post
Yes I have sourcebans installed and with a sourcebans webpage. Not sure as to what you mean on your second question.
If you have sourcebans installed properly all your questions can be achieved by using sourcebans. Do you need help with setting up the groups or sourcebans itself?
__________________
If you require server assistance add me!
Kjaer is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-10-2011 , 08:51   Re: SM Admin groups
Reply With Quote #5

I show one basic to avoid "create" whole admins list/groups to you.
But this work without SourceBans.

...addons/sourcemod/configs/admin_groups.cfg
Code:
Groups
{
    /**
     * Allowed properties for a group:
     *
     *   "flags"           - Flag string.
     *   "immunity"        - Immunity level number, or a group name.
     *                         If the group name is a number, prepend it with an 
     *                         '@' symbol similar to admins_simple.ini.  Users 
     *                         will only inherit the level number if it's higher 
     *                         than their current value.
     */
    "Default"
    {
        "immunity"        "1"
    }
    
    "Full Admins"
    {
        /**
         * You can override commands and command groups here.
         * Specify a command name or group and either "allow" or "deny"
         * Examples:
         *         ":CSDM"            "allow"
         *        "csdm_enable"    "deny"
         */
         Overrides
         {
         }
        "flags"            "abcdefghiz"

        /* Largish number for lots of in-between values. */
        "immunity"        "99"
    }

    "Group 1"
    {
        Overrides
        {
            "sm_admin"        "allow"    // Open admin menu
            "sm_slap"        "allow"    // slap
            "sm_kick"        "allow"    // kick
            "sm_reskick_immunity"    "allow"    // Reserved slot kick immunity
        }
        "immunity"        "1"
    }
}
Players added admin group "Group 1" can use those commands from !chat, console and from admin menu (if exist)

*to correct here also.
I have though sm_reskick_immunity can give access to join reserved slot but it only give immunity to kick.
So give them adminflag "a"
__________________
Do not Private Message @me

Last edited by Bacardi; 09-16-2011 at 03:19.
Bacardi is offline
Excel Gamers
Member
Join Date: Jul 2011
Old 09-10-2011 , 15:46   Re: SM Admin groups
Reply With Quote #6

Ok cool so I would then just follow the same format for the other groups?
Excel Gamers is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-10-2011 , 16:51   Re: SM Admin groups
Reply With Quote #7

Quote:
Originally Posted by Excel Gamers View Post
Ok cool so I would then just follow the same format for the other groups?
Try first get work with sourcebans. I'm not familiar with that.

Again, without sourcebans.
You can give multiple admin groups to one player.
So you don't really need make "same" groups with extra overrides.
admins.cfg
Code:
/**
 * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
 *
 * Each admin should have its own "Admin" section, followed by a name.
 * The name does not have to be unique.
 *
 * Available properties: (Anything else is filtered as custom)
 *      "auth"          - REQUIRED - Auth method to use.  Built-in methods are:
 *                        "steam"  - Steam based authentication
 *                        "name"   - Name based authentication
 *                        "ip"    - IP based authentication
 *                        Anything else is treated as custom.
 *                     Note: Only one auth method is allowed per entry.
 *
 *      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
 *                     Note: Only one identity is allowed per entry.
 *
 *      "password"      - Optional password to require.
 *      "group"         - Adds one group to the user's group table.
 *      "flags"         - Adds one or more flags to the user's permissions.
 *        "immunity"        - Sets the user's immunity level (0 = no immunity).
 *                          Immunity can be any value.  Admins with higher 
 *                          values cannot be targetted.  See sm_immunity_mode 
 *                          to tweak the rules.  Default value is 0.
 *
 * Example:
    "BAILOPAN"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:16"
        "flags"            "abcdef"
    }
 *
 */
Admins
{
    "somebody"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:16"
        "group"            "Group 1"
        "group"            "Group 2"
    }
}
and admin_groups.cfg
Code:
Groups
{
 //-------- SKIPPING THIS PART ---------
    "Group 1"
    {
        Overrides
        {
            "sm_admin"        "allow"    // Open admin menu
            "sm_slap"        "allow"    // slap
            "sm_kick"        "allow"    // kick
            "sm_reskick_immunity"    "allow"    // Reserved slot kick immunity
        }
        "immunity"        "1"
    }

    "Group 2"
    {
        Overrides
        {
            "sm_say"    "allow"    // Admin say chat
            "sm_tsay"    "allow"    // Admin say top
            "sm_msay"    "allow"    // Admin say menu
            "sm_hsay"    "allow"    // Admin say hint
            "sm_csay"    "allow"    // Admin say center
        }
    }
}
__________________
Do not Private Message @me
Bacardi is offline
Excel Gamers
Member
Join Date: Jul 2011
Old 09-10-2011 , 16:55   Re: SM Admin groups
Reply With Quote #8

What about the adminssimple.ini as currently I have all my admins in there?
Excel Gamers is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-10-2011 , 17:00   Re: SM Admin groups
Reply With Quote #9

Quote:
Originally Posted by Excel Gamers View Post
What about the adminssimple.ini as currently I have all my admins in there?
If you are using sourcebans, what you have in admins.cfg ??
Not recomended use both admin_simple.ini and admins.cfg
__________________
Do not Private Message @me
Bacardi is offline
Excel Gamers
Member
Join Date: Jul 2011
Old 09-10-2011 , 17:02   Re: SM Admin groups
Reply With Quote #10

Currently nothing as I have not really used sourcebans and configured it yet.
Excel Gamers is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode