Open Paul2708 opened 4 years ago
Spigot has their own event dispatchment system which we could use for this. See:
Good point. Using the build-in event-system by Spigot makes a lot more sense too me.
A good entry point would be CommandDelegator
. Most of the checks are performed in #execute(...)
.
Description
Possibility to listen to certain (custom) events.
Possible events:
Usage
Implementation idea Dispatch custom events by using the built-in event-system. More details about the event system can be found here.