WorldGuard

WorldGuard

8M Downloads

Make player move events optional

dzhus opened this issue ยท 3 comments

commented

Shouldn't farewell, greeting, notifications and entry flags be considered high-frequency since they use resourceful onPlayerMove event?

WorldGuardPlayerListener.java should make this call only in case high-frequency-flags (or similar newly introduced option) is true:

registerEvent("PLAYER_MOVE", Priority.High);
commented

I'd like to see how many events it actually recieves. Also it
completely ignores any movement that occurs within a block, which
significantly cuts down on region queries.

commented

There are plans to add a separate option for this though.

commented

done