Raised This Month: $ Target: $400
 0% 

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 11-01-2014 , 20:56   Re: [Source 2013] Custom Chat Colors
Reply With Quote #931

Quote:
Originally Posted by Nanochip View Post
Okay, that makes sense, however, how do I give my Officer group the same level of permission as administrator without giving Officer flag "z"?
I guess you'd either use the admin_groups function in sourcemod or give officers a certain unused flag such as p or q
VintageEpicFail is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 11-01-2014 , 21:23   Re: [Source 2013] Custom Chat Colors
Reply With Quote #932

Quote:
Originally Posted by VintageEpicFail View Post
I guess you'd either use the admin_groups function in sourcemod or give officers a certain unused flag such as p or q
Okay, so I did this and I still get the same result where my tag is "[Officer]" even though I am in the administrator group. Changed admin_groups.cfg:
Code:
"Officer"
    {
        overrides
        {
        }
        "flags"        "pz"
        "immunity"    "99"
    }
    
    "Administrator"
    {
         Overrides
         {
         }
        "flags"        "z"
        "immunity"    "98"
    }
    
    "Senior Moderator"
    {
        overrides
        {
        }
        "flags"        "abcdefgijko"
        "immunity"    "95"
    }
    
    "Moderator"
    {
        overrides
        {
        }
        "flags"        "acdefjpo"
        "immunity"    "90"
    }
and then custom-chatcolors.cfg:
Code:
"Officer"
    {
        "flag"            "p"
        "tag"            "[Officer] "
        "tagcolor"        "#4294FF"
    }
    "Administrator"
    {
        "flag"            "z"
        "tag"            "[Administrator] "
        "tagcolor"        "#ff0000"
    }
    "Senior Moderator"
    {
        "flag"            "a"
        "tag"            "[Senior Moderator] "
        "tagcolor"        "#4AFF6E"
    }
    "Moderator"
    {
        "flag"            "c"
        "tag"            "[Moderator]"
        "tagcolor"        "#00DE2C"
    }

Last edited by Nanochip; 11-01-2014 at 21:25.
Nanochip is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 11-01-2014 , 23:55   Re: [Source 2013] Custom Chat Colors
Reply With Quote #933

Quote:
Originally Posted by Nanochip View Post
Okay, so I did this and I still get the same result where my tag is "[Officer]" even though I am in the administrator group. Changed admin_groups.cfg:
Code:
"Officer"
    {
        overrides
        {
        }
        "flags"        "pz"
        "immunity"    "99"
    }
    
    "Administrator"
    {
         Overrides
         {
         }
        "flags"        "z"
        "immunity"    "98"
    }
    
    "Senior Moderator"
    {
        overrides
        {
        }
        "flags"        "abcdefgijko"
        "immunity"    "95"
    }
    
    "Moderator"
    {
        overrides
        {
        }
        "flags"        "acdefjpo"
        "immunity"    "90"
    }
and then custom-chatcolors.cfg:
Code:
"Officer"
    {
        "flag"            "p"
        "tag"            "[Officer] "
        "tagcolor"        "#4294FF"
    }
    "Administrator"
    {
        "flag"            "z"
        "tag"            "[Administrator] "
        "tagcolor"        "#ff0000"
    }
    "Senior Moderator"
    {
        "flag"            "a"
        "tag"            "[Senior Moderator] "
        "tagcolor"        "#4AFF6E"
    }
    "Moderator"
    {
        "flag"            "c"
        "tag"            "[Moderator]"
        "tagcolor"        "#00DE2C"
    }
well z = all flags, which means Officer's already has the flag p and so does Administrator's

What you could do is leave officers with flag z, and give Administrator's all flags except flag z
And then set the flag for officers to z and administrators to n or m in custom-chatcolors.cfg or basically to anything the other groups don't have.
__________________
DoPe^ is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-02-2014 , 00:10   Re: [Source 2013] Custom Chat Colors
Reply With Quote #934

Generally, you're doing something wrong if two admin groups get z. The z flag is called root because it's akin to the root account on a *nix machine. Only the owner should get root; all others should get flags depending on what they need access to. If a non-owner needs access to everything, give them all flags except z.

Note that having z means that you bypass immunity. So in your case, the "Administrator" group could target the "Officer" group.
__________________
Dr. McKay is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 11-05-2014 , 23:15   Re: [Source 2013] Custom Chat Colors
Reply With Quote #935

Quote:
Originally Posted by Dr. McKay View Post
Generally, you're doing something wrong if two admin groups get z. The z flag is called root because it's akin to the root account on a *nix machine. Only the owner should get root; all others should get flags depending on what they need access to. If a non-owner needs access to everything, give them all flags except z.

Note that having z means that you bypass immunity. So in your case, the "Administrator" group could target the "Officer" group.
Alright thanks for the help. I've gotten it fixed now. However, I've now encountered another issue. Whenever someone types in chat, it appears twice. Shown in this screenshot:

Nanochip is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-06-2014 , 00:28   Re: [Source 2013] Custom Chat Colors
Reply With Quote #936

Quote:
Originally Posted by Nanochip View Post
Alright thanks for the help. I've gotten it fixed now. However, I've now encountered another issue. Whenever someone types in chat, it appears twice. Shown in this screenshot:

Are you using the Redux edition of Simple Chat Processor?
__________________
Dr. McKay is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 11-06-2014 , 17:44   Re: [Source 2013] Custom Chat Colors
Reply With Quote #937

Quote:
Originally Posted by Dr. McKay View Post
Are you using the Redux edition of Simple Chat Processor?
Woopsie, that would be my issue. Thank you for your time.

Last edited by Nanochip; 11-06-2014 at 17:45.
Nanochip is offline
MercureS
Junior Member
Join Date: Nov 2014
Old 11-06-2014 , 20:53   Re: [Source 2013] Custom Chat Colors
Reply With Quote #938

Why I have this problem ?





EDIT

I can't change the tag color ... (for T O G colors)

Last edited by MercureS; 11-06-2014 at 21:06.
MercureS is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-06-2014 , 22:49   Re: [Source 2013] Custom Chat Colors
Reply With Quote #939

Quote:
Originally Posted by MercureS View Post
Why I have this problem ?





EDIT

I can't change the tag color ... (for T O G colors)
Quote:
Originally Posted by Dr. McKay View Post
This also works on CS:GO, but only "T", "G", and "O" codes can be used.
__________________
Dr. McKay is offline
MercureS
Junior Member
Join Date: Nov 2014
Old 11-07-2014 , 07:48   Re: [Source 2013] Custom Chat Colors
Reply With Quote #940

Tag color dosn't work.
MercureS 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 10:07.


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