Monthly Target: $400 Donations: $126
 31% 

[ANY] Colored Name Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Thraka
SourceMod Donor
Join Date: Aug 2005
Plugin ID:
1874
Plugin Version:
1.1.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    13 
    Plugin Description:
    Uses client-side cookies to store the colored chat name. Players can enable\disable it for themselves, and set their name independant of steam. Supports the chat colors the current game supports.
    Old 08-12-2010 , 13:59   [ANY] Colored Name Chat
    Reply With Quote #1

    (Based on Afronanny's CoD Colored Name Chat)



    This plugin allows a player to set the name they wish to use in the game. It's stored in the client cookie cache, so it should transfer to any server (using this plugin, and when the servers point to the same database) and preserved when they disconnect. If they don't set their colored name, it will just be their regular name.

    You cannot target players with commands (as an admin) by using their colored name. However, if the name largely matches their existing name, you may be able to. A command has been provided to help admins find the players true steam name.

    Example to get a player up and running:
    sm_coloredname_on
    sm_coloredname "^2Th^3ra^4ka"

    Note: Some colors do not work for other games. However, the color command ^# should still work in the name just fine, but it just wont color according to the help. The help was designed with TF2 in mind.

    Colors
    ^0 - Default
    ^1 - Default
    ^2 - White
    ^3 - Team color
    ^4 - Green
    ^5 - Olive green
    ^6 - Item color (usually yellow, black if the client hasn't seen an item found or crafted yet)[TF2]
    ^7 - Default
    ^8 - Team
    ^9 - Green

    Commands
    sm_coloredname_on - Turns on the colored name for the player
    sm_coloredname_off - Turns off the colored name for the player
    sm_coloredname - Sets the current players colored name
    sm_coloredname_help - Lists helpful information to the client

    Admin Commands (Kick rights)
    sm_coloredname_list - Lists all users with their real and colored names. (Use this to detect the real name of a player and kick\ban\whatever when needed.

    Current Issues
    Sometimes the sm_coloredname_help command prints things out of order. No idea why.
    Attached Files
    File Type: sp Get Plugin or Get Source (colorednames.sp - 4969 views - 10.3 KB)

    Last edited by Thraka; 08-12-2010 at 17:39.
    Thraka is offline
    Thrawn2
    Veteran Member
    Join Date: Apr 2009
    Old 08-12-2010 , 14:27   Re: [ANY] Colored Name Chat
    Reply With Quote #2

    Quote:
    It's stored in the client cookie cache, so it should transfer to any server (using this plugin)
    please add that the servers have to share the same mysql server for their clientprefs database.
    __________________
    einmal mit profis arbeiten. einmal.
    Thrawn2 is offline
    Thraka
    SourceMod Donor
    Join Date: Aug 2005
    Old 08-12-2010 , 14:31   Re: [ANY] Colored Name Chat
    Reply With Quote #3

    Oh? Darn. I assumed since it said cookie, it was equivalent to web browser cookie and was saved locally on the client. So the setting would follow them from server to server.

    [Updated the plugin description]
    Thraka is offline
    gtamike
    Member
    Join Date: Aug 2009
    Location: UK
    Old 08-12-2010 , 16:46   Re: [ANY] Colored Name Chat
    Reply With Quote #4

    got a screen shot?
    __________________
    gtamike is offline
    Thraka
    SourceMod Donor
    Join Date: Aug 2005
    Old 08-12-2010 , 17:39   Re: [ANY] Colored Name Chat
    Reply With Quote #5

    Quote:
    Originally Posted by gtamike View Post
    got a screen shot?
    added
    Thraka is offline
    Gippo
    SourceMod Donor
    Join Date: Oct 2008
    Old 08-20-2010 , 04:12   Re: [ANY] Colored Name Chat
    Reply With Quote #6

    is it only for tf2?
    Gippo is offline
    dimon222
    Member
    Join Date: Jun 2010
    Location: Hell
    Old 08-20-2010 , 04:44   Re: [ANY] Colored Name Chat
    Reply With Quote #7

    Quote:
    Originally Posted by Gippo View Post
    is it only for tf2?
    same question
    __________________
    dimon222 is offline
    Send a message via ICQ to dimon222 Send a message via MSN to dimon222 Send a message via Skype™ to dimon222
    lionheart1066
    Senior Member
    Join Date: Aug 2009
    Old 08-20-2010 , 08:32   Re: [ANY] Colored Name Chat
    Reply With Quote #8

    I have this on my idle server. Its rather good.
    __________________
    lionheart1066 is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 08-25-2010 , 03:55   Re: [ANY] Colored Name Chat
    Reply With Quote #9

    Quote:
    Originally Posted by Gippo View Post
    is it only for tf2?
    Quote:
    Originally Posted by dimon222 View Post
    same question

    Plugin Game: Any

    "[ANY] Colored Name Chat"
    __________________
    DarthNinja is offline
    Cerobug
    Member
    Join Date: Jun 2008
    Old 08-25-2010 , 04:27   Re: [ANY] Colored Name Chat
    Reply With Quote #10

    Quote:
    Originally Posted by DarthNinja View Post
    Plugin Game: Any

    "[ANY] Colored Name Chat"
    Certain games such as DoD:S only support green and olive so it would be nice to know for certain on which games it works on.
    Cerobug 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 12:38.


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