AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Colored Name Chat (https://forums.alliedmods.net/showthread.php?t=135088)

Thraka 08-12-2010 12:59

[ANY] Colored Name Chat
 
1 Attachment(s)
(Based on Afronanny's CoD Colored Name Chat)

http://imgur.com/jZmpz.png

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.

Thrawn2 08-12-2010 13:27

Re: [ANY] Colored Name Chat
 
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.

Thraka 08-12-2010 13:31

Re: [ANY] Colored Name Chat
 
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]

gtamike 08-12-2010 15:46

Re: [ANY] Colored Name Chat
 
got a screen shot? :)

Thraka 08-12-2010 16:39

Re: [ANY] Colored Name Chat
 
Quote:

Originally Posted by gtamike (Post 1269096)
got a screen shot? :)

added

Gippo 08-20-2010 03:12

Re: [ANY] Colored Name Chat
 
is it only for tf2?

dimon222 08-20-2010 03:44

Re: [ANY] Colored Name Chat
 
Quote:

Originally Posted by Gippo (Post 1276402)
is it only for tf2?

same question

lionheart1066 08-20-2010 07:32

Re: [ANY] Colored Name Chat
 
I have this on my idle server. Its rather good.

DarthNinja 08-25-2010 02:55

Re: [ANY] Colored Name Chat
 
Quote:

Originally Posted by Gippo (Post 1276402)
is it only for tf2?

Quote:

Originally Posted by dimon222 (Post 1276418)
same question


Plugin Game: Any

"[ANY] Colored Name Chat"

Cerobug 08-25-2010 03:27

Re: [ANY] Colored Name Chat
 
Quote:

Originally Posted by DarthNinja (Post 1281158)
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.


All times are GMT -4. The time now is 09:16.

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