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

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!]

Facts

Date created
Jul 19, 2012
Category
Last update
Jul 12, 2014
Development stage
Release
License
Apache License version 2.0
Curse link
TagAPI
Downloads
283,627
Recent files
  • R: v3.0.6 for CB 1.7.9-R0.1 Jul 12, 2014
  • R: v3.0.5 for CB 1.7.9-R0.1 Jun 24, 2014
  • R: v3.0.4 for CB 1.7.9-R0.1 Apr 13, 2014
  • R: v3.0.3 for CB 1.7.2-R0.3 Apr 12, 2014
  • R: v3.0.2 for CB 1.7.2-R0.3 Mar 24, 2014
Team
Kitteh

Authors