DisplayTags
Ever wanted to change the color of a player's name? Well, now you can! With this plugin, you can change the color of a player's name in the chat, tab, and the name above their head. This will be done for GROUPS (from your permissions plugin)
You can enable/disable what you want to be displayed (tab, chat, displayname)
Examples
Normally, a player's name would be white, but with this plugin, you can change a player's name to, say, red:
In the tab:
In the chat:
Above the head (Displayname):
The Config
# Set player's (colored) name in the tab. Enabled? tab-names: true # Set player's (colored) name in chat. Enabled? chat-names: true # Set player's (colored) name above the player's head. Enabled? display-names: true groups: # These groups should be also in your permissions folder. # Simply add the group and set the color next to it. # Don't forget the quotes! # You can set colors like &c&l. Owner: '&c' Admin: '&4' VIP: '&a'
Commands and Permissions
The only command is /rt which reloads the config and it reloads the displaynames. The permission is displaytags.reload
Tags will automatically reload every 5 minutes. A players tag will also be reloaded when he/she relogs.
Dependencies
You NEED Vault and TagAPI for this plugin to work. You will also need some sort of permissions plugin that is supported by Vault!
You can use /scoreboard
Please ! Please update for Bukkit 1.8 ! Please :(
Doesn't load for 1.8.1
the players has no skin if theyre colored :(
Is this plugin abandoned?
Your title here...
I Belive that i found a bug, if it is then let me tell you about it
1. If youre the only one online on the server, it doesnt show the colors, in chat, tablist and displaynames.
Keep up the good work! this is a very nice plugin!
@MirrorRealm
[22:51:20] [Server thread/INFO]: [DisplayTags] Enabling DisplayTags v1.0 [22:51:20] [Server thread/WARN]: [DisplayTags] "DisplayTags v1.0" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void me.MirrorRealm.tags.Main.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
Could you make a video tutorial explaining it? It's because I'm brazilian and I don't understand very well how to use this plugin... I tried but... FAIL! =/
@cancabron
Your permissions plugin must be compatible with vault.
Works fine with PEX but im using Zpermissions with database perms and it doesnt work. The names now doesnt have any color. Could be a problem of zperms plugin?
The same:
[WARN]: [DisplayTags] "DisplayTags v1.0" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void me.MirrorRealm.tags.Main.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
28.01 19:54:42 [Server] WARN "DisplayTags v1.0" has registered a listener for org.kitteh.tag.PlayerReceiveNameTagEvent on method "public void me.MirrorRealm.tags.Main.onNameTag(org.kitteh.tag.PlayerReceiveNameTagEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [].
I would like to point out though, that when only a single player is online the tabs list color does not change
Perfect plugin! Just what I was looking for! Thank you so much
Muito bom, resolveu meus problemas com as tags !
You do realize that, if you know how, you can do this in vanilla with /scoreboard and nbt editing? For colors, you do not even need to do the nbt editing.
I am running the new 1.1.2 build and now no players get tags and this error is running
[11:59:44 ERROR]: Could not pass event PlayerReceiveNameTagEvent to DisplayTags v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.kitteh.tag.TagAPI$1.call(TagAPI.java:321) [TagAPI.jar:?] at org.kitteh.tag.TagAPI$1.call(TagAPI.java:318) [TagAPI.jar:?] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftFuture.run(CraftFuture. java:89) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks ] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:5 87) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] Caused by: java.lang.IllegalArgumentException: Player list names can only be a m aximum of 16 characters long at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.setPlayerListName(C raftPlayer.java:185) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at me.MirrorRealm.tags.Main.onNameTag(Main.java:78) [?:?] at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_21] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] ... 12 more
Will the plugin work with HealthBar in your update? And will you be able to add ranks to the players name?
@talariuss
Yeah I've fixed that in the new update. Waiting for approval.
@MirrorRealm [12:20:01 ERROR]: Could not pass event PlayerReceiveNameTagEvent to DisplayTags v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:481) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:466) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.kitteh.tag.TagAPI$1.call(TagAPI.java:321) [TagAPI.jar:?] at org.kitteh.tag.TagAPI$1.call(TagAPI.java:318) [TagAPI.jar:?] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftFuture.run(CraftFuture. java:89) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHea rtbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks ] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:5 87) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] Caused by: java.lang.IllegalArgumentException: Player list names can only be a m aximum of 16 characters long at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.setPlayerListName(C raftPlayer.java:185) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] at me.MirrorRealm.tags.Main.onNameTag(Main.java:77) [?:?] at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1 .7.0_21] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_21] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks] ... 12 more