package com.archivesmc.archblock.config;

import com.archivesmc.archblock.Plugin;
import org.bukkit.configuration.file.FileConfiguration;

public class MainConfig {
    private Plugin plugin;
    private FileConfiguration configuration;

    public MainConfig(Plugin plugin) {
        this.plugin = plugin;
        this.reload();
    }

    public void reload() {
        this.plugin.reloadConfig();
        this.configuration = this.plugin.getConfig();
    }

    public String getVersion() {
        return this.configuration.getString("version");
    }

    public String getDatabaseUsername() {
        return this.configuration.getString("db_config.username");
    }

    public String getDatabasePassword() {
        return this.configuration.getString("db_config.password");
    }

    public String getDatabaseHost() {
        return this.configuration.getString("db_config.host");
    }

    public Integer getDatabasePort() {
        return this.configuration.getInt("db_config.port", 3306);
    }

    public String getDatabaseName() {
        return this.configuration.getString("db_config.name");
    }
}

@@ -132,16 +132,40 @@
 ation;%0A%0A
+import java.util.List;%0A%0A
 public c
@@ -1132,11 +1132,132 @@
 );%0A    %7D
+%0A%0A    public List%3CString%3E getDisabledWorlds() %7B%0A        return this.configuration.getStringList(%22disabled_worlds%22);%0A    %7D
 %0A%7D%0A

Add getDisabledWorlds() to MainConfig