Adds a method to be able to read config options

This commit is contained in:
Kristian Knarvik 2021-11-09 18:21:25 +01:00
parent d5f4b87e9b
commit aba70b669e

View File

@ -93,6 +93,15 @@ public final class StargateConfig {
setupVaultEconomy();
}
/**
* Gets a copy of all loaded config options with its values
*
* @return <p>The loaded config options</p>
*/
public Map<ConfigOption, Object> getConfigOptions() {
return new HashMap<>(configOptions);
}
/**
* Gets the queue of open portals
*