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