add Player.Inventories.CloseByServerStop Function to Config
This commit is contained in:
parent
f545068330
commit
07145453b2
@ -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);
|
||||||
|
@ -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");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user