public boolean executeBan(Ban ban) {
        OfflinePlayer player = ban.getPlayer();
        String reason = ban.getReason();

        player.setBanned(true);
        if (player.isOnline()) {
            Bukkit.getPlayer(player.getName()).kickPlayer(reason);
        }

        bans.put(player.getName(), ban);
        return bans.containsKey(player.getName());
    }