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

Help sourcemod adding custom flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BloodBullet
Junior Member
Join Date: May 2020
Old 05-26-2020 , 09:57   Help sourcemod adding custom flags
Reply With Quote #1

Hello , on my server i have around 400 commands of sm_..... . I tried in admin_level , admin_groups and when i put admin on custom "sm_models" "v" it doesn't indentify as that flag
BloodBullet is offline
LaGgLs
Senior Member
Join Date: Apr 2015
Location: sweden
Old 05-26-2020 , 16:14   Re: Help sourcemod adding custom flags
Reply With Quote #2

You can read about how the flags works here https://wiki.alliedmods.net/Adding_Admins_(SourceMod) and install sourcebans much better and easy to block flags
LaGgLs is offline
BloodBullet
Junior Member
Join Date: May 2020
Old 05-31-2020 , 13:14   Re: Help sourcemod adding custom flags
Reply With Quote #3

Quote:
Originally Posted by LaGgLs View Post
You can read about how the flags works here https://wiki.alliedmods.net/Adding_Admins_(SourceMod) and install sourcebans much better and easy to block flags
Still no help no add custom flags for sm_.... . I only found how to add simple admin with the flags given .
BloodBullet is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-01-2020 , 10:51   Re: Help sourcemod adding custom flags
Reply With Quote #4

Your original post is very confusing as it doesn't clearly state what the problem is.

The wiki officially lists custom flags as: o, p, q, r, s, t
For some reason you are trying to use 'v'.

You can use the \sourcemod\configs\admin_overrides.cfg file to limit command access to players with a particular flag.
PC Gamer is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 06-01-2020 , 13:36   Re: Help sourcemod adding custom flags
Reply With Quote #5

https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

These are the only supported flags by sourcemod so the flag "v" won't work.
TomL. is offline
BloodBullet
Junior Member
Join Date: May 2020
Old 06-03-2020 , 03:10   Re: Help sourcemod adding custom flags
Reply With Quote #6

Quote:
Originally Posted by TomL. View Post
https://wiki.alliedmods.net/Adding_A...rceMod)#Levels

These are the only supported flags by sourcemod so the flag "v" won't work.

I understand. But there is a way in script to put flag on command ?
BloodBullet is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 06-03-2020 , 06:54   Re: Help sourcemod adding custom flags
Reply With Quote #7

Quote:
Originally Posted by BloodBullet View Post
I understand. But there is a way in script to put flag on command ?
https://wiki.alliedmods.net/Overridi...ss_(SourceMod)

Last edited by asherkin; 06-03-2020 at 18:12.
TomL. is offline
BloodBullet
Junior Member
Join Date: May 2020
Old 06-04-2020 , 08:06   Re: Help sourcemod adding custom flags
Reply With Quote #8

Quote:
Originally Posted by TomL. View Post
Can give me an tutorial ? I'm completely dumb about this subject . I added in admin.groups , after in overwrite...
PHP Code:
"sm_give"   "j"
"@sm_give" "j" 
Which flag j is in admin.levels ... I don't understand where is the mistake
BloodBullet is offline
LaGgLs
Senior Member
Join Date: Apr 2015
Location: sweden
Old 06-04-2020 , 09:53   Re: Help sourcemod adding custom flags
Reply With Quote #9

Quote:
Originally Posted by BloodBullet View Post
Can give me an tutorial ? I'm completely dumb about this subject . I added in admin.groups , after in overwrite...
PHP Code:
"sm_give"   "j"
"@sm_give" "j" 
Which flag j is in admin.levels ... I don't understand where is the mistake
Read this might help you https://wiki.alliedmods.net/Adding_Admins_(SourceMod)
LaGgLs is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 06-04-2020 , 09:58   Re: Help sourcemod adding custom flags
Reply With Quote #10

Replace the steamid with yours
admins_simple.ini
Code:
"STEAM_X:X:XXXX" "j" //Admin with permissions to special chat privileges
admin_overrides.cfg
Code:
Overrides
{
	"sm_give"	"j"	//flag for special chat privileges
}

Last edited by TomL.; 06-04-2020 at 10:00.
TomL. is offline
Reply


Thread Tools
Display Modes

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 11:54.


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