Raised This Month: $ Target: $400
 0% 

Admin overrides


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 10-23-2009 , 04:52   Admin overrides
Reply With Quote #1

Hi there,

I am trying to change the flags for sm_un/mute sm_un/gag and sm_un/silence so that all of my admins can use the command, along with one user who will only have access to these 6 commands.

I have set my admin_overrides.cfg up as following:
Code:
     "sm_mute" "sj"
     "sm_gag" "sj"
     "sm_silence" "sj"
     "sm_unmute" "sj"
     "sm_ungag" "sj"
     "sm_unsilence" "sj"
Although after doing that nobody is able to use the commands at all.

All of my normal admins have the J (admin chat) flag (no S flag), and the special user only has the S flag, although for some reason it is not working. I have also tried restarting the server after making changes, but no dice.

I managed to get it working for the special user by giving her both the S and J admin flag, but this is not what I want, as I don't want her to have access to admin chat.

Any ideas how to make it work?
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-23-2009 , 07:32   Re: Admin overrides
Reply With Quote #2

You can't set it to two flags at once.

Just set it to "s" and give your normal admins "s" too.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
bobbobagan
SourceMod Donor
Join Date: May 2007
Location: New Zealand
Old 10-24-2009 , 02:38   Re: Admin overrides
Reply With Quote #3

In the examples it shows usage of multiple flags, so I thought you could. I think that you need to have all of the flags to be able to use the command though.
Code:
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
__________________
bobbobagan is offline
Send a message via Skype™ to bobbobagan
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-24-2009 , 09:20   Re: Admin overrides
Reply With Quote #4

Maybe...

Still, doing it the way I said will work =P
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 10-24-2009 , 14:41   Re: Admin overrides
Reply With Quote #5

I never knew there was an example that showed that. But ya as far as I knew you could only override it to ONE flag. If you can do two, that would be sick.
retsam is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-24-2009 , 14:50   Re: Admin overrides
Reply With Quote #6

PHP Code:
Overrides
{
     
"sm_mute" "sj"
     "sm_gag" "sj"
     "sm_silence" "sj"
     "sm_unmute" "sj"
     "sm_ungag" "sj"
     "sm_unsilence" "sj"

Make sure you have the "Overrides" keygroup format... I've used a very indepth override combination for the past year, and I just learned today that it's never functioned because I never had Overrides{}. As for the dual flag system, I'm pretty sure it has been working on my server.
thetwistedpanda 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 18:41.


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