public void updatePlayerVisibility(Player player, boolean newStatus) {
        for (Player p : Bukkit.getOnlinePlayers()) {
            if (p.getName().equalsIgnoreCase(player.getName())) {
                continue;
            }
            if (newStatus) {
                if (!p.hasPermission(this.getPermission() + ".admin")) {
                    p.hidePlayer(player);
                }
            } else {
                p.showPlayer(player);
            }
        }
    }