Mineuniverse
Log in Register
Plugins

TagAPI

API for changing player nametags
by m_baxter
Download Claim this project
487,374 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

TagAPI

A note about the future. 1.8 and beyond

With the changes implemented in 1.8, TagAPI is no longer a good idea. As a result, TagAPI will receive no further updates.

But I want to add colors to usernames!

I suggest finding a plugin that lets you do that using the built-in scoreboard system added to Minecraft in 1.6 which is better suited for that!

But I want to change usernames completely!

Sorry, but Mojang's made it much harder and I don't feel it's worth it to try hacking that in anymore. Best of luck! :)

TagAPI!

This plugin is a plugin tool, much like Vault or SpoutPlugin, for providing additional functionality outside the normal bounds of Bukkit API.

What it does

Ever wanted your plugin to display a different color above someone's name? Disguise as another player to tease players? Now you can!

What it doesn't do

  • The name over your head affects your skin. This is a minecraft client issue.
  • Change entity ID. This means that someone with a modified client can still tell that it's you no matter what name you have.
  • Allow nametags over 16 characters (including color codes! Two per color/format). Another minecraft limitation I can't break.

How to use:

Alright, now that we have got the list of can and can'ts out of the way, here's how to use the plugin.

I run a server

You're probably here because a plugin you want to use offers nametag changing as an additional feature. Just install this plugin and you're good to go. Note that this plugin itself doesn't change anything, just offer the ability for other plugins to do so.

I am a developer

Excellent! Take a look at the tutorial to get started. It's easy to start using this.

Note: Be polite and don't register at a higher event priority unless absolutely necessary. Personally I do this for VanishNoPacket because knowing that a player is vanished is a bit more important than an admin tag or fake name, as it's an administrative plugin. Think carefully about priorities. Most plugins should be fine just checking the event on default priority.

Also important to note, the isModified() method can let you know if another plugin has already played with the name, which can be important. Be polite to other plugins!



Feel free to ask questions in #kitteh.org on esper. Or just click here

Copying

Do not include this code in your own plugin but implement this API instead, to avoid code conflicts or other breakages.

Plugins supporting TagAPI

Click here to see a list of plugins

Metrics

To determine usage, plugin installs are automatically tracked by the mcstats.org plugin tracking system. Data collected is system information, player count, server and plugin version information. It is sent to mcstats.org and your server IP is never revealed, and is used for statistical purposes. If you don't want to send this data, edit plugins/PluginMetrics/config.yml and set opt-out to true.

http://i.imgur.com/hYr3P.pnghttps://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif

[ONELINER:Change the name tag of your users!]

v3.0.6
MC CB 1.7.9-R0.1
Release 2014-07-12 Get
v3.0.5
MC CB 1.6.4-R2.0, CB 1.7.2-R0.3, CB 1.7.9-R0.1
Release 2014-06-24 Get
v3.0.4
MC CB 1.7.2-R0.3, CB 1.7.9-R0.1
Release 2014-04-13 Get
v3.0.3
MC CB 1.7.2-R0.3
Release 2014-04-12 Get
v3.0.2
MC CB 1.7.2-R0.3
Release 2014-03-24 Get
v3.0
MC CB 1.7.2-R0.2
Release 2014-01-26 Get
v2.7.1
MC CB 1.7.2-R0.2, CB 1.6.4-R2.0
Release 2013-12-10 Get
v2.7
MC CB 1.6.4-R2.0
Release 2013-12-02 Get
v2.6
MC CB 1.6.4-R1.0
Release 2013-09-20 Get
v2.5
MC 1.6.2, CB 1.5.2-R1.0
Release 2013-07-09 Get
v2.4
MC CB 1.5.2-R1.0, 1.6.1
Release 2013-07-02 Get
v2.3
MC CB 1.5.2-R1.0
Release 2013-04-30 Get
v2.2
MC CB 1.4.7-R1.0, CB 1.5.1-R0.1
Release 2013-03-20 Get
v2.1
MC CB 1.4.7-R1.0
Release 2013-03-15 Get
v2.0
MC CB 1.4.7-R1.0
Release 2013-02-23 Get
v1.9.3
MC CB 1.4.5-R1.0, CB 1.4.7-R0.1, CB 1.4.6-R0.3
Release 2013-01-17 Get
v1.9.2
MC CB 1.4.5-R1.0, CB 1.4.6-R0.3
Release 2012-12-24 Get
v1.9.1
MC CB 1.4.5-R1.0, CB 1.4.6-R0.1, CB 1.4.5-R0.2
Release 2012-12-20 Get
v1.9
MC CB 1.4.5-R0.2
Release 2012-12-16 Get
v1.8
MC CB 1.4.5-R0.2, CB 1.4.2-R0.2
Release 2012-12-06 Get
v1.7.1
MC CB 1.4.5-R0.2
Release 2012-10-23 Get
v1.7
MC CB 1.3.2-R1.0
Release 2012-09-19 Get
v1.5
MC CB 1.3.1-R2.0
Release 2012-08-22 Get
v1.4.1
MC CB 1.3.1-R2.0
Release 2012-08-20 Get
v1.4
MC CB 1.3.1-R1.0
Release 2012-08-04 Get
v1.3.1
MC CB 1.2.5-R5.0
Release 2012-08-01 Get
v1.2
MC CB 1.2.5-R5.0
Release 2012-07-31 Get
v1.1
MC CB 1.2.5-R4.0
Release 2012-07-25 Get
v1.0.2
MC CB 1.2.5-R4.0
Release 2012-07-23 Get
v1.0.1
MC CB 1.2.5-R4.0
Release 2012-07-20 Get

More from m_baxter

Vanish No Packet
911,091
Anonymize
701
PlayerFlow
6,613
Annoyer
6,041
MonsterHunt
48,262
CraftIRC
46,433

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677