mirror of
https://github.com/CarmJos/MineSQL.git
synced 2026-06-04 16:43:03 +08:00
添加默认配置与示例配置
This commit is contained in:
+2
-3
@@ -30,8 +30,7 @@ public class EasySQLBukkit extends EasyPlugin implements EasySQLPluginPlatform {
|
||||
EasySQLBukkit.instance = this;
|
||||
this.registry = new EasySQLRegistryImpl(this);
|
||||
|
||||
initializeAPI(getRegistry());
|
||||
|
||||
initializeAPI(getRegistry()); // 尽快的初始化接口,方便其他插件调用
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -56,7 +55,7 @@ public class EasySQLBukkit extends EasyPlugin implements EasySQLPluginPlatform {
|
||||
@Override
|
||||
public @NotNull
|
||||
Map<String, Properties> readProperties() {
|
||||
return PropertiesUtil.readDBProperties(new File(getDataFolder(), "properties"));
|
||||
return PropertiesUtil.readDBProperties(new File(getDataFolder(), "db-properties"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
main: cc.carm.plugin.easysql.EasySQLBukkit
|
||||
version: ${project.version}
|
||||
prefix: EasySQL-Plugin
|
||||
name: EasySQL-Plugin-Bukkit
|
||||
name: EasySQL-Plugin
|
||||
load: STARTUP
|
||||
|
||||
website: ${project.url}
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ public class EasySQLBungee extends Plugin implements EasySQLPluginPlatform {
|
||||
|
||||
@Override
|
||||
public @NotNull Map<String, Properties> readProperties() {
|
||||
return PropertiesUtil.readDBProperties(new File(getDataFolder(), "properties"));
|
||||
return PropertiesUtil.readDBProperties(new File(getDataFolder(), "db-properties"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user