Replacement for PlayerCommandPreprocessEvent?

Theres a event to get the command and deny player to use? On bukkit we have PlayerCommandPreprocessEvent.

I believe you could use the SendCommandEvent for that purpose.

1 Like