You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: