@Override
    public void load() throws DataLoadFailedException {
        permissions.clear();
        options.clear();
        debug = false;

        List<String> list = yamlConfiguration.getStringList("permissions");
        LinkedList<String> global = new LinkedList<String>();
        for (String l : list) {
            Permission p = Bukkit.getPluginManager().getPermission(l);
            if (p == null) {
                p = new Permission(l);
                Bukkit.getPluginManager().addPermission(p);
            }
            if (!global.contains(p.getName())) {
                global.add(p.getName());
            }
        }
        permissions.put(null, global);
        ConfigurationSection optionSec = yamlConfiguration.getConfigurationSection("options");
        if (optionSec != null) {
            Map<String, Object> mappings = optionSec.getValues(true);
            options.put(null, mappings);
        }
    }