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

Help with setting up server ranks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TriggerWinkle
Junior Member
Join Date: Mar 2016
Location: The Netherlands
Old 03-28-2016 , 14:55   Help with setting up server ranks
Reply With Quote #1

Hello, I am TriggerWinkle!
I just made a server with many cool plugins. All the plugins work, but I struggle to get one working: Sourcemod admingroups. I cannot seem to understand how it works and I really need help because ranks are one of the most important parts of a server. If someone with some experience could help me I would really appreciate it. That "someone" could get a special rank on the server.

I want my friend King Waffles to be a moderator. His full name is King Waffles and his steam ID is ...

I have setup a rank called moderator and added some permissions in admins_groups.cfg:
http://pastebin.com/vyxejkbM

I added him to my admins_simple.ini
http://pastebin.com/Nudbne6M

And I added him to my admins.cfg
http://pastebin.com/HHMwiDAP

Please help me, I dont understand the logic behind making ranks...

Yours faithfully,
TriggerWinkle
Attached Files
File Type: ini admins_simple.ini (2.1 KB, 113 views)
File Type: cfg admins.cfg (1.5 KB, 84 views)
File Type: cfg admin_groups.cfg (2.8 KB, 68 views)

Last edited by TriggerWinkle; 03-31-2016 at 10:32.
TriggerWinkle is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-30-2016 , 15:23   Re: Help with setting up server ranks
Reply With Quote #2

https://wiki.alliedmods.net/Adding_G...28SourceMod%29

Hi. Ok, if we start use admins.cfg then lets forget admin_simple.ini once at all.
It's annoying to use both admin files.

So, clear all users from admin_simple.ini

In admins.cfg you can add admins or vips in admin groups.
You can also add one admin to many groups, mixing.
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"
	}
*
*/
Admin
{
	"Yuuki"
	{
		"auth" "steam"
		"identity" "STEAM_0:0:78802005"
		"group" "vip"
	}
	"Xgen"
	{
		"auth" "steam"
		"identity" "STEAM_0:0:96974754"
		"group" "vip"
	}
	"TriggerWinkle"
	{
		"auth" "steam"
		"identity" "STEAM_0:1:71215729"
		"group" "Full Admin"
	}
	"Waffles"
	{
		"auth" "steam"
		"identity" "STEAM_0:0:51175412"
		"group" "Moderator"
	}

	"BAILOPAN example"
	{
		"auth" "steam"
		"identity" "STEAM_0:0:16"
		"group" "Admin"
		"group" "Moderator"
	}
}
in admin_groups.cfg
Code:
Groups
{
	"vip"
	{
		"flags"		"a"
		"Immunity"	"70"
	}

	"Full Admin"
	{
		"flags"		"abcdefghijklmnopqrst"
		"Immunity"	"70"
	}


	"Admin"
	{
		"flags"		"a"
		"Immunity"	"70"
		"Overrides"
		{
			"sm_spawnmedipack"			"allow"
			"sm_regen"				"allow"
			"sm_regen_nohp"				"allow"
			"sm_randomrtd"				"allow"
			"sm_onlymelee"				"allow"
			"sm_homproj"				"allow"
			"sm_friendly"				"allow"
			"sm_friendly_v"				"allow"
			"sm_friendly_lock"			"allow"
			"sm_friendly_admin"			"allow"
			"sm_advanced_infinite_ammo"		"allow"
			"sm_advanced_infinite_ammo_timed"	"allow"
			"betherobot_admin"			"allow"
			"sm_forcertd"				"allow"
			"sm_forceendround"			"allow"
			"sm_reloadccc"				"allow"
			"sm_setspawn"				"allow"
			"sm_reloadccc"				"allow"
			"sm_god"				"allow"
			"sm_buddha"				"allow"
			"sm_behhh"				"allow"
			"sm_buddha"				"allow"
			"sm_resizemyhead"			"allow"
			"sm_resizeme"				"allow"
			"sm_resizejoinoverride"			"allow"
			"sm_resizeheadjoinoverride"		"allow"
			"sm_resizeheadboundsoverride"		"allow"
			"sm_resizehead"				"allow"
			"sm_resizecooldownbypass"		"allow"
			"sm_resizeboundsoverride"		"allow"
			"sm_resize"				"allow"
			"sm_noclip"				"allow"
			"rtd"					"allow"
			"fp"					"allow"
			"sm_firstperson"			"allow"
			"tp"					"allow"
			"sm_thirdperson"			"allow"
			"sm_admin"			"allow"
			"sm_tele"				"allow"
			"sm_buster"				"allow"
			"sm_spawnammo"			"allow"
			"sm_sethealth"			"allow"
			"sm_kick"				"allow"
			"sm_ban"				"allow"
			"sm_disco"				"allow"
			"sm_vote"				"allow"
			"sm_votekick"			"allow"
	}
	
	"Moderator"
	{
		"flags"		"m"
		"Immunity"	"1"
		"Overrides"
		{
			"sm_spawnmedipack"			"allow"
			"sm_regen"				"allow"
			"sm_regen_nohp"				"allow"
			"sm_randomrtd"				"allow"
			"sm_onlymelee"				"allow"
			"sm_homproj"				"allow"
			"sm_friendly"				"allow"
			"sm_friendly_v"				"allow"
			"sm_friendly_lock"			"allow"
			"sm_friendly_admin"			"allow"
			"sm_advanced_infinite_ammo"		"allow"
			"sm_advanced_infinite_ammo_timed"	"allow"
			"betherobot_admin"			"allow"
			"sm_forcertd"				"allow"
			"sm_forceendround"			"allow"
			"sm_reloadccc"				"allow"
			"sm_setspawn"				"allow"
			"sm_reloadccc"				"allow"
			"sm_god"				"allow"
			"sm_buddha"				"allow"
			"sm_behhh"				"allow"
			"sm_buddha"				"allow"
			"sm_resizemyhead"			"allow"
			"sm_resizeme"				"allow"
			"sm_resizejoinoverride"			"allow"
			"sm_resizeheadjoinoverride"		"allow"
			"sm_resizeheadboundsoverride"		"allow"
			"sm_resizehead"				"allow"
			"sm_resizecooldownbypass"		"allow"
			"sm_resizeboundsoverride"		"allow"
			"sm_resize"				"allow"
			"sm_noclip"				"allow"
			"rtd"					"allow"
			"fp"					"allow"
			"sm_firstperson"			"allow"
			"tp"					"allow"
			"sm_thirdperson"			"allow"
			"sm_tele"				"allow"
			"sm_spawnammo"			"allow"
			"sm_sethealth"			"allow"
			"sm_kick"				"allow"
			"sm_ban"				"allow"
			"sm_votekick"			"allow"
		}
	}
}
And I would suggest to not give admin flag root "z" to anyone, it gives all flags and bypass immunity, not good.
And if there are commands what you not want to see in admin menu, you can override that to z flag to hide it.


Just make sure you have rigth amount open brackets { and close brackets } whe nyou edit file after.
Have seen many times when people delete last bracket bottom of file...
__________________
Do not Private Message @me

Last edited by Bacardi; 03-30-2016 at 15:23.
Bacardi is offline
TriggerWinkle
Junior Member
Join Date: Mar 2016
Location: The Netherlands
Old 03-31-2016 , 10:30   Re: Help with setting up server ranks
Reply With Quote #3

Thanks for helping me.

- TriggerWinkle

Last edited by TriggerWinkle; 03-31-2016 at 14:50.
TriggerWinkle 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 02:02.


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