<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nu.nerd.modreq;

public class Configuration {
    private ModReq plugin;
    
    public String GENERAL__PAGE_ERROR;
    public String GENERAL__REQUEST_NUMBER;
    public String GENERAL__REQUEST_FILED;
    public String GENERAL__MAX_REQUESTS;
    public String GENERAL__REQUEST_ERROR;
    public String GENERAL__NO_REQUESTS;
    public String GENERAL__CLOSE_ERROR;
    public String GENERAL__COMPLETED;
    public String GENERAL__COMPLETED_MESSAGE;
    public String GENERAL__DELETED;
    public String GENERAL__LIST__HEADER;
    public String GENERAL__LIST__ITEM;
    public String GENERAL__LIST__FOOTER;
    public String GENERAL__ITEM__HEADER_CLAIMED;
    public String GENERAL__ITEM__HEADER_UNCLAIMED;
    public String GENERAL__ITEM__DETAILS;
    public String GENERAL__ITEM__REQUEST;
    public String MOD__NEW_REQUEST;
    public String MOD__NO_REQUESTS;
    public String MOD__EMPTY_PAGE;
    public String MOD__TELEPORT;
    public String MOD__UNCLAIM;
    public String MOD__REQUEST_TAKEN;
    public String MOD__COMPLETED;
    public String MOD__COMPLETED_MESSAGE;
    public String MOD__DELETED;
    public String MOD__REOPENED;
    public String MOD__FLAGGED;
    public String MOD__RESET;
    public String MOD__ALREADY_CLOSED;
    public String COLOUR__ONLINE;
    public String COLOUR__OFFLINE;
    public Integer MAX_REQUESTS;
    
    public Configuration(ModReq plugin) {
        this.plugin = plugin;
    }
    
    public void save() {
        plugin.saveConfig();
    }
    
    public void load() {
        plugin.reloadConfig();
        
        GENERAL__CLOSE_ERROR = plugin.getConfig().getString("messages.general.page-error");
        GENERAL__COMPLETED = plugin.getConfig().getString("messages.general.completed");
        GENERAL__COMPLETED_MESSAGE = plugin.getConfig().getString("messages.general.completed-message");
        GENERAL__DELETED = plugin.getConfig().getString("messages.general.deleted");
        GENERAL__PAGE_ERROR = plugin.getConfig().getString("messages.page-error");
        GENERAL__ITEM__DETAILS = plugin.getConfig().getString("messages.general.item.details");
        GENERAL__ITEM__HEADER_CLAIMED = plugin.getConfig().getString("messages.general.item.header-claimed");
        GENERAL__ITEM__HEADER_UNCLAIMED = plugin.getConfig().getString("messages.general.item.header-unclaimed");<commit_msg>Was missing a few config strings<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nu.nerd.modreq;

public class Configuration {
    private ModReq plugin;
    
    public String GENERAL__PAGE_ERROR;
    public String GENERAL__REQUEST_NUMBER;
    public String GENERAL__REQUEST_FILED;
    public String GENERAL__MAX_REQUESTS;
    public String GENERAL__REQUEST_ERROR;
    public String GENERAL__NO_REQUESTS;
    public String GENERAL__CLOSE_ERROR;
    public String GENERAL__COMPLETED;
    public String GENERAL__COMPLETED_MESSAGE;
    public String GENERAL__DELETED;
    public String GENERAL__LIST__HEADER;
    public String GENERAL__LIST__ITEM;
    public String GENERAL__LIST__FOOTER;
    public String GENERAL__ITEM__HEADER_CLAIMED;
    public String GENERAL__ITEM__HEADER_UNCLAIMED;
    public String GENERAL__ITEM__DETAILS;
    public String GENERAL__ITEM__REQUEST;
    public String MOD__NEW_REQUEST;
    public String MOD__NO_REQUESTS;
    public String MOD__EMPTY_PAGE;
    public String MOD__TELEPORT;
    public String MOD__UNCLAIM;
    public String MOD__REQUEST_TAKEN;
    public String MOD__COMPLETED;
    public String MOD__COMPLETED_MESSAGE;
    public String MOD__DELETED;
    public String MOD__REOPENED;
    public String MOD__FLAGGED;
    public String MOD__RESET;
    public String MOD__ALREADY_CLOSED;
    public String COLOUR__ONLINE;
    public String COLOUR__OFFLINE;
    public Integer MAX_REQUESTS;
    
    public Configuration(ModReq plugin) {
        this.plugin = plugin;
    }
    
    public void save() {
        plugin.saveConfig();
    }
    
    public void load() {
        plugin.reloadConfig();
        
        GENERAL__REQUEST_NUMBER = plugin.getConfig().getString("messages.general.request-number");
        GENERAL__REQUEST_FILED = plugin.getConfig().getString("messages.general.request-filed");
        GENERAL__MAX_REQUESTS = plugin.getConfig().getString("messages.general.max-requests");
        GENERAL__REQUEST_ERROR = plugin.getConfig().getString("messages.general.request-error");
        GENERAL__NO_REQUESTS = plugin.getConfig().getString("messages.general.no-requests");
        GENERAL__CLOSE_ERROR = plugin.getConfig().getString("messages.general.page-error");
        GENERAL__COMPLETED = plugin.getConfig().getString("messages.general.completed");
        GENERAL__COMPLETED_MESSAGE = plugin.getConfig().getString("messages.general.completed-message");
        GENERAL__DELETED = plugin.getConfig().getString("messages.general.deleted");
        GENERAL__PAGE_ERROR = plugin.getConfig().getString("messages.page-error");
        GENERAL__ITEM__DETAILS = plugin.getConfig().getString("messages.general.item.details");
        GENERAL__ITEM__HEADER_CLAIMED = plugin.getConfig().getString("messages.general.item.header-claimed");
        GENERAL__ITEM__HEADER_UNCLAIMED = plugin.getConfig().getString("messages.general.item.header-unclaimed");
{'fraction_non_alphanumeric': 0.07625872840867329, 'fraction_numerical': 0.0, 'mean_word_length': 4.067970204841713, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '915414', 'n_tokens_mistral': 1587, 'n_tokens_neox': 1524, 'n_words': 316}