public static void loadkeys() {
        OKmain.maxlogs = readString("max-logs-to-keep");
        OKmain.chatlogs = readBoolean("enable-chat-logging").booleanValue();
        OKmain.cmdlogs = readBoolean("enable-command-logging").booleanValue();
        OKmain.cmdconsolelogs = readBoolean("enable-command-logging-to-console").booleanValue();
        OKmain.cmdchatoverlap = readBoolean("command-chat-overlapping.enable-overlapping").booleanValue();
        String[] arrayOfString1;
        int j;
        int i;
        if (OKmain.cmdchatoverlap) {
            String[] overlapped = readString("command-chat-overlapping.overlapped-commands").split(",");
            arrayOfString1 = overlapped;
            j = overlapped.length;
            for (i = 0; i < j; i++) {
                String o = arrayOfString1[i];
                OKmain.overlappedcmds.add(o);
            }
        }
        OKmain.cmdfilter = readBoolean("command-filter.enable-command-filtering").booleanValue();
        if (OKmain.cmdfilter) {
            String[] filtered = readString("command-filter.logged-commands").split(",");
            arrayOfString1 = filtered;
            j = filtered.length;
            for (i = 0; i < j; i++) {
                String f = arrayOfString1[i];
                OKmain.cmdfiltered.add(f);
            }
        }
        OKmain.chatlogname = readString("logs.chat-log-name");
        OKmain.cmdlogname = readString("logs.command-log-name");
        Boolean stats = readBoolean("enable-anonymous-stat-tracking");
        if (stats == null) {
            OKmain.stats = Boolean.valueOf(true);
        } else {
            OKmain.stats = stats;
        }
    }