Raised This Month: $ Target: $400
 0% 

Solved [HELPOP] Sourcemod Configs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-25-2021 , 13:12   Re: [HELPOP] Sourcemod Configs
Reply With Quote #4

Example with SourceMod (without SourceBans)

admins.cfg
Code:
Admins
{
 	"player_Alpha"
	{
		"auth"			"steam"
		"identity"		"x"
		"group"			"group_1"
	}

 	"player_Beta"
	{
		"auth"			"steam"
		"identity"		"x"
		"group"			"group_2"
	}

 	"player_Gamma"
	{
		"auth"			"steam"
		"identity"		"x"
		"group"			"group_1"
		"group"			"group_2"
		"group"			"group_3"
	}

 	"player_Zeta"
	{
		"auth"			"steam"
		"identity"		"x"
		"flags"			"abcdefghijklmn"
	}
}
admin_groups.cfg
Code:
Groups
{
	"group_1"
	{
		 Overrides
		 {
			"allow"		"sm_pmute"
			"allow"		"sm_punmute"
			"allow"		"sm_pgag"
			"allow"		"sm_pungag"
			"allow"		"sm_psilence"
			"allow"		"sm_punsilence"
		 }
		"flags"			"a"
	}

	"group_2"
	{
		"flags"			"ab"
	}

	"group_3"
	{
		"flags"			"cdefg"
	}
}
- player_Alpha have access to all commands and features with admin flag "a".
Have also access to specific commands in admin group 1.
- player_Beta have access to all commands and features with admin flags "ab"
- player_Zeta have access to all commands and features with adminflags "abcdefg"
Have also access to specific commands in admin group 1.


Avoid give admin root flag "Z". This grant all access and bypass immunity check and so on. You not actually like it.
Instead, give yourself all flags, "abcdefghijklmnopqrst"


*edit
with admin_overrides.cfg, you can change commands and some plugin features admin flags to else.

Last edited by Bacardi; 03-25-2021 at 13:15.
Bacardi is offline
 



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 21:07.


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