Class ProxyDefineCommandsEvent


  • public class ProxyDefineCommandsEvent
    extends TargetedEvent
    Called when the proxy intercepts the command packet allowing for plugins to prevent commands being added to the clients which might not be wanted. Plugin developers, please implement Command.hasPermission(CommandSender) properly in favor of this event.