This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[HELP] Admin Prefix


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ImYourBro
Senior Member
Join Date: Jun 2014
Old 11-24-2014 , 08:56   [HELP] Admin Prefix
Reply With Quote #1

Hey!

I have found a prefix plugin, with the name Custom Chat-Colors.
But i dont know what to do in the config list to at prefixes.

Here is my config file of the plugin --->>

PHP Code:
//        Custom Chat Colors is written by Dr. McKay (http://www.doctormckay.com)
//        Simple Chat Colors (Redux) is written by Antithasys
//        The configuration is very similar, so I've stolen Redux's documentation :P
//        
//        How to edit this file:
//        "admin_colors"                                        <--    Leave this alone
//        {                                                                <--    Add all groups/steamids after first bracket (Leave this alone)
//                                                                            
//            "STEAM_0:1:1234567"                        <--    Here is a steamid example with a tag (don't duplicate steamids)
//            {
//                "namecolor"        "#RRGGBB"                        <--    This is the color for the name (#RRGGBB in hex notation or #RRGGBBAA with alpha)
//                "textcolor"        "#RRGGBBAA"                        <--    This is the color of the text
//            }
//
//            "groupname"                                            <--    This can either be a steamid for a specific player, or a group name
//            {                                                            <--    Open the group
//                "flag"                "z"                            <--    This is the flag(s) assoicated with the group.  This field doesn't matter if the group name is a steamid
//                "tag"                "[admin]"                    <--    This is the text for the tag
//                "tagcolor"        "O"                        <--    This is the color for the tag
//                "namecolor"        "G"                        <--    This is the color for the name
//                "textcolor"        "T"                        <--    This is the color of the text
//            }                                                            <--    Close the group
//        }                                                                <--    Add all groups/steamids before last bracket (Leave this alone)
//
//        NOTE:
//        If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
//        For colors, either a hex notation of a color (#RRGGBB or #RRGGBBAA) or one of the supported shortcuts (O - Olive, G - Green, T - Team) is required
//
//        --------ORDER OF OPERATIONS--------
//        
//        The order in which you place items in the config file matters.  Here is what determins what color they get:
//        1. SteamID
//            If there is a steamid present, it will always override everything.  If you put a steamid in twice
//            then the first entry (top to bottom) will be used. (I think, just don't do it!)
//        2. Groups
//            The plugin will search (top to bottom) for a postitive match for the flag string.  The player' flags
//            will be compared with the group flag character (NOTE: only one flag per group! "a" is okay, "ab" is NOT),
//            and if the player has the flag, it will stop there.
//            For example. Admins with the "ad" flags and donators with the "a" flag.  If you place the "a" flag group
//            above the "d" group then the admin will get the "a" colors. Order matters.
//
//        ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
    
"STEAM_0:1:16"
    
{
        
"tag"                "[BAILOPAN] "
        "tagcolor"            "O"
    
}
    
"VIP"
    
{
        
"flag"                "a"
        "tag"                "[VIP] "
        "tagcolor"            "#9EC34FAA"
        "namecolor"            "#00CCFF"
        "textcolor"            "#000000AA"
    
}

I dont know how to add prefixes.
__________________
Hello!
I'm learning AMXX right now, so please No Hate if i suck

-----------------------------------------------------------------------
Check out my Furien Mod v0.3 here


Last edited by ImYourBro; 11-24-2014 at 09:00.
ImYourBro is offline
Chokitu
Senior Member
Join Date: Oct 2013
Old 11-24-2014 , 09:35   Re: [HELP] Admin Prefix
Reply With Quote #2

Do it
Chokitu is offline
Send a message via Skype™ to Chokitu
MankyMane22
New Member
Join Date: Nov 2014
Old 11-29-2014 , 17:40   Re: [HELP] Admin Prefix
Reply With Quote #3

Uhm, I'm not completly sure what you meant,
but I'll assume prefixes aren't working for you.
Are you sure you've granted all of your VIPs "a" flag in admins_simple? Could you past that too, please?
Also, since a is command flag, I recommend you assigning it to custom, non-affected flag such as being "o".
Also, tagcolor -> O
Quote:
"STEAM_0:1:16"
{
"tag" "[BAILOPAN] "
"tagcolor" "O"
}
, O is not acceptable hex. Revise that.
If you still didn't solve it, reply.

Last edited by MankyMane22; 11-29-2014 at 17:43.
MankyMane22 is offline
sim242
AlliedModders Donor
Join Date: Dec 2012
Location: England
Old 12-03-2014 , 04:25   Re: [HELP] Admin Prefix
Reply With Quote #4

Quote:
Originally Posted by MankyMane22 View Post
Uhm, I'm not completly sure what you meant,
but I'll assume prefixes aren't working for you.
Are you sure you've granted all of your VIPs "a" flag in admins_simple? Could you past that too, please?
Also, since a is command flag, I recommend you assigning it to custom, non-affected flag such as being "o".
Also, tagcolor -> O, O is not acceptable hex. Revise that.
If you still didn't solve it, reply.
I'm thinking along the same lines as you. All the colour fields where a hex value should be there is just 1 letter in each.. It's probably confusing the plugin.
__________________
Steam - Sim
Request a private plugin
Not accepting requests at this time
sim242 is offline
Send a message via Skype™ to sim242
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 07:34.


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