9.0 #1

Merged
JaTiTV merged 13 commits from CloseInventory into main 2021-12-31 16:19:31 +00:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 07145453b2 - Show all commits

View File

@ -43,6 +43,7 @@ public class ConfigCreate {
Config.set("BungeeCord.Enable", Bungee, yamlConfiguration); Config.set("BungeeCord.Enable", Bungee, yamlConfiguration);
Config.set("BungeeCord.ThisServer", thisServer, yamlConfiguration); Config.set("BungeeCord.ThisServer", thisServer, yamlConfiguration);
Config.set("Player.Inventories.CloseByServerStop", true, yamlConfiguration);
// Config.set("Storage.MySQL.Enable", mySQL, yamlConfiguration); // Config.set("Storage.MySQL.Enable", mySQL, yamlConfiguration);
// Config.set("Storage.Type", Storage, yamlConfiguration); // Config.set("Storage.Type", Storage, yamlConfiguration);

View File

@ -11,6 +11,7 @@ public class SelectLibConfig {
public static Boolean UpdateCheckOnJoin; public static Boolean UpdateCheckOnJoin;
public static Boolean Debug; public static Boolean Debug;
public static String language; public static String language;
public static Boolean InventoriesCloseByServerStop;
public static void onSelect() { public static void onSelect() {
File config = new File(Main.getPath(), "config.yml"); File config = new File(Main.getPath(), "config.yml");
@ -19,6 +20,7 @@ public class SelectLibConfig {
UpdateCheckOnJoin = yamlConfiguration.getBoolean("Plugin.UpdateCheckOnJoin"); UpdateCheckOnJoin = yamlConfiguration.getBoolean("Plugin.UpdateCheckOnJoin");
Debug = yamlConfiguration.getBoolean("Plugin.Debug"); Debug = yamlConfiguration.getBoolean("Plugin.Debug");
language = yamlConfiguration.getString("Plugin.language"); language = yamlConfiguration.getString("Plugin.language");
InventoriesCloseByServerStop = yamlConfiguration.getBoolean("Player.Inventories.CloseByServerStop");
} }
} }