Get an Epic Experience with Premium

TagAPI

Developer Tools Login to Add Favorites
  • 2 Likes
  • Minecraft
  • 15,593 Monthly Downloads
  • Supports: CB 1.5.2-R0.1
  • 106,060 Total Downloads
  • Updated 04/30/2013
  • Created 07/19/2012
  • 10 Favorites
  • Project Site
  • Release Type: Release
  • License: Apache License version 2.0
  • Newest File: v2.3
or
Support development! **
Donate

About TagAPI

Introducing the Tag API!

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

I would ask that you do not include this code in your own plugin but implement this API instead, to avoid any plugin conflicts. The last thing I need is having to deal with plugin conflicts on this.

Plugins supporting TagAPI

NameTags

VanishNoPacket

iChatPlayerList

IdentityCrisis

RoyalCommands

LineXChat

Prefixed

Nick Namer

BattleTags

LiveChat

MCPK

Assassin

CrazyChats

CrazySquads

ColorMe

NoNameTag

PvP Arena

The Hidden

Sabotage

FactionTagPlayer

BattlePunishments

Guilds

RankDisplayNames

SimpleSpleef

CTF

Ghost Hunt

Developers: Let me know if you support it!

Metrics

To determine usage, plugin installs are automatically tracked by the Metrics plugin tracking system. If you don't want to help or are paranoid, 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

v2.3
Supports 1.4 through 1.5.2

v2.2
Supports 1.5 and 1.5.1 (and 1.4)

v2.1
Supports 1.5 (and 1.4 still!)

v2.0
Fun code cleanup, making future updates easier.
Some improvements to allow for naughty plugins.

v1.9.3
Compatible with 1.4.7 and earlier 1.4 builds
Added a bit more debug inf

v1.9.2
Compatible with 1.4.6 and earlier 1.4 builds (1.4.2, 1.4.5...)
Add additional compatibility check. If TagAPI works for you currently you do not need to upgrade.

v1.9.1
Compatible with 1.4.6, 1.4.5, and other 1.4 builds.

v1.9
Fixes an issue in 1.8, apparently!
Compatible with 1.4, including builds after December 5.
Required for R0.3 when it's out.

v1.8
Compatible with 1.4, including builds after December 5.
Required for R0.3 when it's out.

v1.7.1
Fixed little bug in startup. This version will not dump a stacktrace if you use an incompatible version of craftbukkit.

v1.7
Added support for ProtocolLib (optional)
  If you happen to have ProtocolLib it'll now work fine with TagAPI. No changes required either way.
Changed method handling so that badly written plugins will throw an error blaming the correct plugin

v1.5
Fix for armor bug.

v1.4.1
Moved spammy messages to debug mode (enable by setting config.yml debug: true

v1.4
1.3.1 support
YOU MUST BE RUNNING BUKKIT 1.3.1 FOR THIS

v1.3.1
Fixes a problem where players would lose tags on respawn.
Should warn you if it starts up on a 1.3 server to update (An update will be required)

v1.2
Important bug fix if you use any plugin with this that isn't VanishNoPacket

v1.1
Implement refresh methods, for plugin developers to force your name tag to update
Cleaned up a ton of static methods nobody but me should have been using.

v1.0.2
Fix an NPE I stupidly didn't fix last time. ^_^

v1.0.1
Fix some NPEs.
Changed some logging from WARNING to FINE for debug purposes.

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!