Interaction with Citizens plugin
LadyCailinBot opened this issue ยท 6 comments
WORLDGUARD-3356 - Reported by Jake__
Getting "Hey you can't use that here" when trying to interact with Citizens.
Comment by connor12568
Try the interact and use flags, those usually are the ones.
Comment by PseudoKnight
Interact flag handles this. However, WorldGuard tries to whitelist NPCs, and it improved their detection 11 days ago. Make sure you're up-to-date and try again. That said, if you explicitly set "interact deny", then I think it won't allow you anyway. By default it should allow NPC interaction.
Comment by wizjany
We discussed this last night in irc. Not sure what detection improvements from 11 days ago you are talking about, but WG currently doesn't have handling for Citizens.
Comment by PseudoKnight
I confused the earlier detection improvement isNPC() with a commit message for Forge fake players 11 days ago. My statement still applies.
Comment by wizjany
Like I said, WG currently doesn't have handling for Citizens. The whitelist you mentioned (isNPC()) only compares to the Bukkit API method. Citizens NPCs have a completely different base class: https://github.com/CitizensDev/CitizensAPI/blob/master/src/main/java/net/citizensnpcs/api/npc/NPC.java
That said, they have a very simple check using only the bukkit API that we can add to the isNPC() method: http://wiki.citizensnpcs.co/API#Checking_if_an_entity_is_a_Citizens_NPC