Citizens support
blablubbabcDEV opened this issue ยท 2 comments
Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/346
Originally posted by FoxyFullmoon (Oct 11, 2015):
What is the enhancement in mind? How should it look and feel?Please provide any additional information below.Would it be possible to make this compatible with citizens by making the shopkeeper interface a trait you can assign to an NPC? I'd like for my shopkeepers to talk, and the easiest way to do this seems it would be by adding citizens support.
Originally commented by blablubbabc (Oct 11, 2015):
There already is a citizens trait called 'shopkeeper', which you can use for your already existing citizens npcs. Also you can create a fresh citizens shopkeeper npcs via the command, and apply your citizens specific additions afterwards to the freshly created npc (recommended way).
See here.
It is marked as experimental, but has has been working fine the last time I roughly tested it. Also, you might have to enable citizens shopkeepers and the citizens object type in the config first before you can use the command.
Edited Oct 11, 2015