首发于Enaium的个人博客
一. 添加Config
下载Config解压到你想要的目录
二.添加到Start
[...]
public ConfigManager configManager;
public void start() {
[...]
configManager = new ConfigManager();
Display.setTitle(Coreium.INSTANCE.name);
[...]
configManager.loadConfig();
}
public void stop() {
configManager.saveConfig();
}