alex9849 / advanced-region-market

A Bukkit/Spigot plugin for renting/selling WorldGuard regions
https://www.spigotmc.org/resources/advancedregionmarket.58732/
69 stars 45 forks source link

Feature Request - ActionReason for Events #105

Open tdherring opened 2 years ago

tdherring commented 2 years ago

Hi! I would love for the following enhancement to be made to the API:

When listening to ARM events, they may trigger for different reasons (The ActionReason class defines these). There is currently no way to access the reason for the event firing - for example, with the UnsellRegionEvent, it would be useful to distinguish when the region expired, versus when it was sold back by the user.

Thanks in advance.