Call PlayerCommandPreprocessEvent on essentials commands as well (or at least have a own event)
Kongolan opened this issue ยท 2 comments
I was writing some anti spam plugin to prevent bot attacks, and it works all fine if they spam the commands. But EssentialsX is not compatible since there is no PlayerCommandPreprocessEvent called for the essential commands. So add a own or call the PlayerCommandPreprocessEvent, please. Else i can't build on top of Essentials with my plugins.
The server should be throwing the event for all commands registered on the server, including Essentials. Are you sure you have it installed properly? Can you also please fill out the issue template in its entirety, which will help us potentially look into the issue?