$command = $this->getServer()->getCommandMap()->getCommand("ban-ip"); if($command instanceof Command) $sender->getServer()->getCommandMap()->unregister($command);