[DISCUSSION] NPC metadatas
Similar to citizens' /npc metadata command but one that also works with bukkit's metadata system.
/npc <npc_name> metadata <set|delete> <string_metadata_name> <value>
Ex.
/npc teleporter metadata set myplugin-teleporter true
/npc rank-parrot metadata set rank 1
/npc rank-frog metadata set rank 2
not having to rely on running a command when implementing a npc click system would be great i guess.
@UsainSrht Can you tell a bit more use-case for such system? I think I'm missing a point here.
Since you can't get the bukkit entity of a npc, the metadata system would only be for an API feature. You could create and register an custom NpcAttribute and whatever you want with it