Raised This Month: $32 Target: $400
 8% 

sourcemod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_anonymous121_
Junior Member
Join Date: Feb 2021
Old 02-15-2021 , 16:30   sourcemod
Reply With Quote #1

hello everybody!
first, i have bad english, sorry about that...

i'm trying to make a cs go server,
i have already installed all, sourcemod, metamod,
and now im trying to set a admins in my server
i added to admins_simple.ini and admins.cfg
and restart the server and nothing....

admins_simple.ini:
Quote:
//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
// "identity" "permissions" "password"
//
// For the Identity, you can use a SteamID or Name. To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
// Flag definitions are in "admin_levels.cfg"
// You can combine flags into a string like this:
// "abcdefgh"
//
// If you want to specify a group instead of a flag, use an @ symbol. Example:
// "@Full Admins"
//
// You can also specify immunity values. Two examples:
// "83:abcdefgh" //Immunity is 83, flags are abcdefgh
// "6:@Full Admins" //Immunity is 6, group is "Full Admins"
//
// Immunity values can be any number. An admin cannot target an admin with
// a higher access value (see sm_immunity_mode to tweak the rules). Default
// immunity value is 0 (no immunity).
//
// PASSWORDS:
// Passwords are generally not needed unless you have name-based authentication.
// In this case, admins must type this in their console:
//
// setinfo "KEY" "PASSWORD"
//
// Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
// is their password. With name based authentication, this must be done before
// changing names or connecting. Otherwise, SourceMod will automatically detect
// the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
// "STEAM_0:1:16" "bce" //generic, kick, unban for this steam ID, no immunity
// "!127.0.0.1" "99:z" //all permissions for this ip, immunity value is 99
// "BAILOPAN" "abc" "Gab3n" //name BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////
"STEAM_0:0:*********" "z"
admins.cfg:

Quote:
/**
* 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
{
"WhiTeBraiN"
{
"auth" "steam"
"identity" "STEAM_0:0:*********"
"flags" "z"
}
}
please help !
_anonymous121_ is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-15-2021 , 16:41   Re: sourcemod
Reply With Quote #2

I would recommend you to only use admins_simple.ini for now.
You can refresh the admin list by executing sm_reloadadmins via server console.
About your problem, what happens if you type !admin?
TomL. is offline
_anonymous121_
Junior Member
Join Date: Feb 2021
Old 02-16-2021 , 17:09   Re: sourcemod
Reply With Quote #3

Quote:
Originally Posted by TomL. View Post
I would recommend you to only use admins_simple.ini for now.
You can refresh the admin list by executing sm_reloadadmins via server console.
About your problem, what happens if you type !admin?
i already solved this problem, but thanks btw !
_anonymous121_ is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-16-2021 , 19:11   Re: sourcemod
Reply With Quote #4

Would you mind sharing the solution with us?
TomL. 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 06:29.


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