@Override
    public boolean onCommand(final CommandSender sender,final Command command,final String label,final String[] args) {
        if (args.length == 0) {
            return false;
        }

        final OfflinePlayer player = this.plugin.getServer().getOfflinePlayer(args[0]);

        if (player == null) {
            sender.sendMessage(ChatColor.RED + "Unknown player.");
            return true;
        }

        final List<Event> events = this.plugin.getEventHistory(player.getName());

        if (events == null || events.size() == 0) {
            sender.sendMessage(ChatColor.GRAY + "No history.");
            return true;
        }

        sender.sendMessage(ChatColor.GOLD + " ==== History for " + player.getName() + " ====");

        final int now = (int) (System.currentTimeMillis() / 1000L);

        final SimpleDateFormat dateFormat = new SimpleDateFormat(
            this.plugin.getConfig().getString("info.timestamp.format")
        );

        for (Event event : events) {
            sender.sendMessage(
                ChatColor.GRAY +
                "[" + dateFormat.format(event.getTime() * 1000L) + "] " +
                this.plugin.buildBroadcastMessage(event) +
                (event.getExpires() > 0 && event.getExpires() <= now ? ChatColor.RED + " (expired)" : "")
            );
        }

        return true;
    }