Quester

Quester

47.7k Downloads

Left click on NPC not working with multiverse flag pvp deny

ThornsOfire opened this issue ยท 3 comments

commented

So I'm having an issue with left clicking on a quester npc. I have discovered that left click only works when the mulitverse pvp flag is set to true. This is frustrating as our questing aspect to our server is not meant to be pvp. Is there any way for me to correct this?

Thanks!

Quester 0.7-4-SNAPSHOT, Quester npcs 1.0-SNAPSHOT, Citizens 2.0.13 Build 1130, Multiverse Core 2.5-b691, CB1.7.9-R0.3

commented

Right click still works with pvp set to deny

commented

It is as simple as not using world pvp flag. Pvp flag causes damage events to not be fired at all, which is what plugins use to determine if certain action happened. Citizens also uses them, and if they are not being fired, citizens can't know if something happened at all. And therefore quester can't know as well, because it's listening to events refired by citizens.

Protection plugins such as worldguard utilize events to prevent these actions from happening, which makes them compatible in this situation. Set up pvp protection in global region and you are done.

commented

Excellent I will follow these steps and thank you raGan for the information, I will remember this for future use of plugins utilizing damage events!