PlayerColor
Version 1.9
Thanks for 15,000+ downloads! :D
PlayerColor is a modification for Bukkit that provides quick and easy access to change the color of a players name on the Scoreboard (the TAB player list).
If you have any suggestions or bugs you would like to report, please make a comment below!
PlayerColor is developed by Alanox & Vizod
Permissions & Commands
Here are the permissions for PlayerColor.
Permission | Description
pc.* | Grants access to all PlayerColor commands
pc.reload | Grants access to reload the config
pc.info | Grants access to view PlayerColor information
pc.aqua | Grants access to change color to Aqua
pc.pink | Grants access to change color to Pink
pc.purple | Grants access to change color to Purple
pc.gold | Grants access to change color to Gold
pc.red | Grants access to change color to Red
pc.blue | Grants access to change color to Blue
pc.yellow | Grants access to change color to Yellow
pc.green | Grants access to change color to Green
pc.black | Grants access to change color to Black
pc.cyan | Grants access to change color to Cyan
pc.gray | Grants access to change color to Gray
pc.darkgray | Grants access to change color to Dark Gray
pc.darkred | Grants access to change color to Dark Red
pc.darkblue | Grants access to change color to Dark Blue
pc.darkgreen | Grants access to change color to Dark Green
pc.normal | Grants access to change color to back to normal color
pc.set.aqua | Makes you keep Aqua. (Even when you log off)
pc.set.pink | Makes you keep Pink. (Even when you log off)
pc.set.purple | Makes you keep Purple. (Even when you log off)
pc.set.gold | Makes you keep Gold. (Even when you log off)
pc.set.red | Makes you keep Red. (Even when you log off)
pc.set.blue | Makes you keep Blue. (Even when you log off)
pc.set.yellow | Makes you keep Yellow. (Even when you log off)
pc.set.green | Makes you keep Green. (Even when you log off)
pc.set.black | Makes you keep Black. (Even when you log off)
pc.set.cyan | Makes you keep Cyan. (Even when you log off)
pc.set.gray | Makes you keep Gray. (Even when you log off)
pc.set.darkgray | Makes you keep Dark Gray (Even when you log off)
pc.set.darkred | Makes you keep Dark Red. (Even when you log off)
pc.set.darkblue | Makes you keep Dark Blue. (Even when you log off)
pc.set.darkgreen | Makes you keep Dark Green. (Even when you log off)
Commands
The command usage goes as so:
/pc[color] [playername]
Using /pc alone will show plugin information
Using /pcreload will reload the PlayerColor configuration file
Other Info
Colors are stored between sessions, meaning everytime the player reloggs, their color will reset unless they don't have the color permission (pc.set.COLOR) This will make the player keep their color. If you are OP you have '*' permissions. So OPs will always have Red. (Note that you still can change your color with /pc[color])
Known bugs
- If a user has a name with more than 15 characters, you can't color that user's name, the user must do it himself. Fixed in 1.9!
Screenshots
YouTube
If you are interested in making a YouTube video, then feel free to make one! Comment the URL and we will post it here! :D
Thanks to...
...Jurre1996 for helping with the pc.set.COLOR
PlayerColor will be updated as new Bukkit builds are released.
Donate
Donate us a cup of tea (we don't like coffee) for all of this hard work :)
@Alanox
I think this is not very hard to do just few minutes? when you add the "color chars (2 chars I think" after just add a function that take only the first 14 chars, why this isnt working well ? If there is a problem with bukkit, just ignore the color if more than 14 chars.
@oiwantedoi
Private Message
@Alanox
How Can I PM You And Whats Mean "PM" ?
@neoteknic
I am trying to fix this. My idea was to reduce a players name (if more than 15 chars) to the first 14 chars. Althought it's not really working well for me :/
@oiwantedoi
If you PM me, I could send you a special .jar file and change it for you :-)
A small bug, I think you have to check for maximum player size and truncate it (because you add char for colors) :
2013-08-21 17:44:05 [SEVERE] Could not pass event PlayerJoinEvent to PlayerColor v1.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:36) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_6_R2.PlayerList.c(PlayerList.java:206) at net.minecraft.server.v1_6_R2.PlayerList.a(PlayerList.java:102) at net.minecraft.server.v1_6_R2.PendingConnection.e(PendingConnection.java:130) at net.minecraft.server.v1_6_R2.PendingConnection.d(PendingConnection.java:43) at net.minecraft.server.v1_6_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.IllegalArgumentException: Player list names can only be a maximum of 16 characters long at org.bukkit.craftbukkit.v1_6_R2.entity.CraftPlayer.setPlayerListName(CraftPlayer.java:174) at me.alanoxgamer.playercolor.PlayerListener.onPlayerJoin(PlayerListener.java:36) at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
@Alanox
i fix the proplem i was give the members permission "pc.yellow" But Now When i Give Him The Permission "pc.set.yellow" it's Work and Thank You For Create This Plugin (: But I Want To Change The OP Color From Red To Dark Red How Can I Make It ?
@oiwantedoi
Could you please provide me your permissions.yml? :)
just the op can get a color i want too give the members color i give him the permission but dose not work
@SawyerKIDRED
So far, it has been working on all Bukkit builds. So yes, it does! :D
@GuildMasterLelo
I am about to fix it! I would really appreciate if you donated! :)
Does this work for the 1.6.2 dev build?
It would be sooooo cool if you can fix the 15 character bug! :') I'll donate if you can get a fix! :)
@LeHackeur
Sorry. We do not support other langauges than English.
J'aime ce plugin mais a chaque fois il faut "reload" les couleurs
@sgtcaze
Yes, we are working on the bug
@jforjake1
Hey there. You may use /pc<color> instead.
Please note that you don't require a space.
How do i set the colour? when i type /pc set <colour> it just comes up with the menu thing?
@TehBillcams
Anyone with the proper permission can change their color. You can permanently keep a color by assigning the appropriate permission node to the player who you would like to keep that color permanently.
Can only ops change their color? (Hopefully so) And can you tell me how to permanently keep a color on my name?