WorldGuard

WorldGuard

8M Downloads

Event/Listener "onEnterRegion" - "onLeaveRegion" - etc.

LadyCailinBot opened this issue ยท 0 comments

commented

WORLDGUARD-2545 - Reported by systemNEO

I am currently developing a custom check for players that enter or leaves an area.

I saw the greatfull WorldGuard and asked myself, why it not offers an own event handler:

So, if a player enters a WorldGuard region WorldGuard fires an custom event that all its listening plugins can react.

I think that this would be save more performance instead of adding a second plugin with an onPlayerMove check to check if players entering/leaving regions.

I hope this is a usefull idea to extend WorldGuard.

Best Regards,
Hape from Germany