public boolean onCommand(CommandSender sender, Command command, String s, String[] strings) {
        if(!(sender instanceof Player)) {
            sender.sendMessage(ChatColor.RED + "You must be a player to do this.");
            return true;
        }
        Player player = (Player) sender;
        if(player.hasPermission("cloak.use")) {
            boolean hidden = PlayerManager.isHidden(player);

            if(PlayerManager.set(player, false, !hidden) || player.hasPermission("cloak.bypass")) {
                Cloak.sendMessage(player, (hidden ? Settings.CLOAK_DEACTIVATE : Settings.CLOAK_ACTIVATE));
                Cloak.me.getAPI().setPlayerVisiblity(player, hidden);
            } else {
                Cloak.sendCooldownMessage(player);
            }
        } else {
            Cloak.sendMessage(player, "&cYou do not have permission to do that.");
        }
        return true;
    }