ColorName
ColorName:
Description:
This plugin is a simple plugin that simply lets players change their name color in chat. Admins with the admin permission or ops can change other people's chat name color. This plugin was made by: Forseth11 and was requested by: icomputerz.
Commands:
User commands:
- /color <COLOR> - Set the color of your name.
- /color reset - Reset you name color to white.
- /color help - Gives you a help list and color list.
Admin/op commands:
- /color <NAME> <COLOR> - Color another user's name.
- /color <NAME> <RESET> - Reset user's name color to white.
You can use /colour instead of /color
Permissions:
- colorname.changecolor - Allows a player to color their name if this permission is set to false or op. Default: true
- colorname.admin - This gives a player the admin commands. Default: op
Config:
- colorSet - Message for players when they set their color. (%color is where the color that it was changed to goes.)
- colorSetDefault - Message to player when they reset their color.
- colorSetByAdminToAdmin - Message to admin when they change a player's color. (%color is where the color that it was changed to goes. %player is where the changed player's name goes)
- colorSetByAdmin - Message sent to player when an admin changes their color. (%color is where the color that it was changed to goes.)
- colorSetByAdminToAdminDefault - Same as colorSetByAdminToAdmin just it is for admin reset.
- colorSetByAdminDefault - Same as colorSetDefault just it is for admin reset
- colorDefault - This is where you can change the default color code.
Advanced: Database: If you are using a SQL data base you can use the following settings:
- enable - Toggle the database function
- host - The host for the SQL database. This is set as ip:port/databaseName
- username - The user name for the database
- password - The password for the database
- table - The name of the table for the database For the table have two columns. uuid = VARCHAR(37) color = int
- sharePlayerCount - Allow the plugin to send the number of players online to the plugin creator.
Essentials Conflict: If you have essentials on your server you may have a bit of trouble getting the name colors to change. To avoid this simply go into the essentials config and make "change-displayname: false"
How to use the Config:
How to use permissions:
How to download and use:
Metrics
This plugin sends statistics about the usage to the server http://mcstats.org/. To disable this go to the plugin metrics folder and in the config change the setting "opt-out" to true. Other than data being sent to mcstats, data is also being sent to my personal server. The data sent is just the player count and the port of the server. The port is combined by the ip which is discovered upon the data being sent to the server. The server ip is not released and is only for me to use to form a list of servers using this plugin. I use this list for me to select servers to play on because they have my plugin. If I am to share the ip I will join the server and contact the owner for permission. The player count is used to analyze this plugin usage. To disable this go to the plugin config and set sharePlayerCount to false.
Hi,
Are you still active?
The plugin has a problem, it does not grant ops the colorname.admin permission. It is set as false.
In any case, if you still have the source code of the plugin, could you release it, on github or somewhere else?
Thanks
hi! i am running my server on a mac and don't have access to SQL at the moment, because my dedicated linux server has a huge memory leak when running bukkit... and they haven't fix that yet, despite releasing news that they did.
anyway, my issue is that i'm getting random UUIDs in the config file while not using the database options which is nice and all. but they all say "102" which i dont know what that's referring to in terms of colours. i assume its white? because everything is white when the server is rebooted. nothing changes. but that also means nothing updates in the config file as what it should be. like, i want my name to be green. allways. i set my name green. but i lose that if i log out or reboot. and i dont know what kind of colour codes you're using because in hex colours, 102 is a dark blueish black. so... what even is green in that kind of coding? and minecraft colours are 1-9 and a-f and 102 doesn't make sense with that either.
so my question is this. how do you set players colours in the config file while database is not enabled? i've watched all of your videos and none of them have even mentioned it.
thanks.
Is there a 1.9 version?
@Lahemees
Added.
Can you add an option to save player's colors to MySQL database? It would be perfect!
Congratulations on the plugin. (: It would be nice to give us a list of colour datas...!
@Henaminator
I found the bug, when I do change-displayname: false it seem to work, but i loose my groupmanager prefix then :/
@forseth11
I have tried that still dosent seem to be working :/
@Henaminator
Make sure that no other plugin is overriding color name. Essentials commonly overrides it. If your name is red then change the op color name in the essentials config to "".
Dosent work please help im using essentials and groupamanager, when i do /color <color> it says that my name color has changed but it dosent when i write something in the chat D:
Hello, i discovered a bug with your plugin. When you want to remove someone elses namecolor from the console it wont work. This is the error that pops up in the console when it happens:
Could you please fix this? I really need it fixed! :)
Also when you do ''/color rainbow'' you get the rainbowy name and a red text on the messages you send in the chat. However after you relog, the red text on the messages you send will become white. That is nothing that bothers me much, but thought i'd just share it anyway.
@Dandamann312 That spelling is just for the plugin to check the config to check for information on players. It does not matter. If you want to update this plugin I am fine with sending you the source. All my public Bukkit plugins are junk. I make custom plugins for both my server and others who pay me.
Hey There,
This is a nice plugin and works fine, one suggestion, maybe make default colour configurable. I have had a quick look through your source-code and it looks easy enough to implement. For now have manually modified your source and rebuilt it changing the reset command to set default to blue.
Also I found a minor spelling mistake in your code that doesn't seem to affect anything but thought you may want to know about it
Should be
Thanks, Dan
Works great to change my own name color, but when I type /color darkness1234 PINK to change other people's names colors, it gives me : Error: Args[1] invalid. My arguments seem OK! And, I'm OP... Please HELP! :) Nic
@ MohammadCreeper: If you're an Op(erator), try setting the below value to 'none' in your Essentials config.yml
# A color code between 0-9 or a-f. Set to 'none' to disable.
ops-name-color: '4'
Is this plugin supported with Essentials? Essentials is changing our color name to RED but when I try to change my color name with this plugin, it's still RED.
Simple, and works well. Thanks!
@GusGold
@IanSzot
@RazorHeart222
@Ethnikoi
I have updated this plugin. I am waiting for bukkit to approve it. This new version (1.2.0) will now allow you to have a rainbow colored name, it remembers your name color, and it also supports the command /colour too.
I will be updating this plugin soon.
Can you please add chat styles like bold, italics and underlined? Thanks