|
|
|
@@ -3,7 +3,6 @@ package de.jatitv.commandguiv2.Spigot.config.config;
|
|
|
|
|
import de.jatitv.commandguiv2.Spigot.Main;
|
|
|
|
|
import de.jatitv.commandguiv2.Spigot.config.configConverter.ConfigConverterUnderV5;
|
|
|
|
|
import de.jatitv.commandguiv2.Spigot.config.languages.SelectMessages;
|
|
|
|
|
import de.jatitv.commandguiv2.Spigot.system.database.MySQL;
|
|
|
|
|
import de.jatitv.commandguiv2.Util;
|
|
|
|
|
import net.t2code.lib.Spigot.Lib.messages.send;
|
|
|
|
|
import net.t2code.lib.Spigot.Lib.minecraftVersion.MCVersion;
|
|
|
|
@@ -17,102 +16,6 @@ import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public class SelectConfig {
|
|
|
|
|
public static Boolean Debug;
|
|
|
|
|
public static Boolean HelpAlias;
|
|
|
|
|
public static String adminSubCommand;
|
|
|
|
|
public static String language;
|
|
|
|
|
public static String Currency;
|
|
|
|
|
|
|
|
|
|
public static String storage;
|
|
|
|
|
|
|
|
|
|
public static Boolean Bungee;
|
|
|
|
|
public static String thisServer;
|
|
|
|
|
|
|
|
|
|
public static String DefaultGUI;
|
|
|
|
|
|
|
|
|
|
public static Boolean UseItem_Enable;
|
|
|
|
|
public static Boolean UseItem_AllowToggle;
|
|
|
|
|
public static Boolean UseItem_AllowSetSlot;
|
|
|
|
|
public static Boolean UseItem_GiveOnEveryJoin;
|
|
|
|
|
public static Boolean UseItem_GiveOnlyOnFirstJoin;
|
|
|
|
|
public static Boolean UseItem_ServerChange;
|
|
|
|
|
public static Boolean Cursor_ToGUIItem_OnLogin;
|
|
|
|
|
public static Boolean Cursor_ToGUIItem_OnlyOnFirstLogin;
|
|
|
|
|
public static Boolean UseItem_BlockMoveAndDrop;
|
|
|
|
|
public static String UseItem_OpenGUI;
|
|
|
|
|
public static Boolean UseItem_Permission;
|
|
|
|
|
public static Boolean UseItem_KeepAtCommandClear;
|
|
|
|
|
|
|
|
|
|
public static Boolean UseItemGameModeChangeEnable;
|
|
|
|
|
public static int UseItemGameModeChangeDelayInTicks;
|
|
|
|
|
public static Boolean UseItemGameModeProtection;
|
|
|
|
|
public static Boolean UseItemGameModeRemoveItemWhenItIsDisabled;
|
|
|
|
|
public static String UseItemGameModeMode;
|
|
|
|
|
public static List<String> UseItemGameModeList;
|
|
|
|
|
|
|
|
|
|
public static Boolean UseItemWorldChangeEnable;
|
|
|
|
|
public static int UseItemWorldChangeDelayInTicks;
|
|
|
|
|
public static Boolean UseItemWorldProtection;
|
|
|
|
|
public static Boolean UseItemWorldRemoveItemWhenItIsDisabled;
|
|
|
|
|
public static String UseItemWorldMode;
|
|
|
|
|
public static List<String> UseItemWorldList;
|
|
|
|
|
public static List<String> UseItemItemBlockBlacklist;
|
|
|
|
|
|
|
|
|
|
public static Boolean disableInfoBySneak = false;
|
|
|
|
|
|
|
|
|
|
public static Boolean UseItem_InventorySlot_FreeSlot;
|
|
|
|
|
public static Integer UseItem_InventorySlot;
|
|
|
|
|
public static Boolean UseItem_InventorySlotEnforce;
|
|
|
|
|
public static String UseItem_Material;
|
|
|
|
|
public static Boolean UseItem_PlayerHead_Enable;
|
|
|
|
|
public static Boolean UseItem_Base64_Enable;
|
|
|
|
|
public static String UseItem_Base64value;
|
|
|
|
|
public static Boolean UseItem_PlayerWhoHasOpenedTheGUI;
|
|
|
|
|
public static String UseItem_PlayerName;
|
|
|
|
|
public static String UseItem_Name;
|
|
|
|
|
public static List<String> UseItem_Lore;
|
|
|
|
|
|
|
|
|
|
public static Boolean toggleItemOnOrYesBase64;
|
|
|
|
|
public static String toggleItemOnOrYesBase64Value;
|
|
|
|
|
public static String toggleItemOnOrYesMaterial;
|
|
|
|
|
|
|
|
|
|
public static Boolean toggleItemOffOrNoBase64;
|
|
|
|
|
public static String toggleItemOffOrNoBase64Value;
|
|
|
|
|
public static String toggleItemOffOrNoMaterial;
|
|
|
|
|
|
|
|
|
|
public static String togglePermTrue;
|
|
|
|
|
public static String togglePermFalse;
|
|
|
|
|
|
|
|
|
|
public static String placeholderTrue;
|
|
|
|
|
public static String placeholderFalse;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_Enable = true;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_OpenInventory_Enable = true;
|
|
|
|
|
public static Sound Sound_OpenInventory;
|
|
|
|
|
public static String Sound_OpenInventory_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_Click_Enable = true;
|
|
|
|
|
public static Sound Sound_Click;
|
|
|
|
|
public static String Sound_Click_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_NoMoney_Enable = true;
|
|
|
|
|
public static Sound Sound_NoMoney;
|
|
|
|
|
public static String Sound_NoMoney_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_NoInventorySpace_Enable = true;
|
|
|
|
|
public static Sound Sound_NoInventorySpace;
|
|
|
|
|
public static String Sound_NoInventorySpace_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_Give_Enable = true;
|
|
|
|
|
public static Sound Sound_Give;
|
|
|
|
|
public static String Sound_Give_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean Sound_PlayerNotFound_Enable = true;
|
|
|
|
|
public static Sound Sound_PlayerNotFound;
|
|
|
|
|
public static String Sound_PlayerNotFound_input;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void onSelect() {
|
|
|
|
|
File config = new File(Main.getPath(), "config.yml");
|
|
|
|
|
YamlConfiguration yamlConfiguration = YamlConfiguration.loadConfiguration(config);
|
|
|
|
@@ -136,12 +39,12 @@ public class SelectConfig {
|
|
|
|
|
DefaultGUI = yamlConfiguration.getString("Plugin.DefaultGUI");
|
|
|
|
|
storage = yamlConfiguration.getString("Storage.Type").toUpperCase();
|
|
|
|
|
|
|
|
|
|
MySQL.ip = yamlConfiguration.getString("Storage.MySQL.IP");
|
|
|
|
|
MySQL.port = yamlConfiguration.getInt("Storage.MySQL.Port");
|
|
|
|
|
MySQL.database = yamlConfiguration.getString("Storage.MySQL.Database");
|
|
|
|
|
MySQL.user = yamlConfiguration.getString("Storage.MySQL.User");
|
|
|
|
|
MySQL.password = yamlConfiguration.getString("Storage.MySQL.Password");
|
|
|
|
|
MySQL.SSL = yamlConfiguration.getBoolean("Storage.MySQL.SSL");
|
|
|
|
|
mysqlIp = yamlConfiguration.getString("Storage.MySQL.IP");
|
|
|
|
|
mysqlPort = yamlConfiguration.getInt("Storage.MySQL.Port");
|
|
|
|
|
mysqlDatabase = yamlConfiguration.getString("Storage.MySQL.Database");
|
|
|
|
|
mysqlUser = yamlConfiguration.getString("Storage.MySQL.User");
|
|
|
|
|
mysqlPassword = yamlConfiguration.getString("Storage.MySQL.Password");
|
|
|
|
|
mysqlSSL = yamlConfiguration.getBoolean("Storage.MySQL.SSL");
|
|
|
|
|
|
|
|
|
|
Bungee = yamlConfiguration.getBoolean("BungeeCord.Enable");
|
|
|
|
|
thisServer = yamlConfiguration.getString("BungeeCord.ThisServer");
|
|
|
|
@@ -172,31 +75,6 @@ public class SelectConfig {
|
|
|
|
|
Cursor_ToGUIItem_OnlyOnFirstLogin = yamlConfiguration.getBoolean("UseItem.Join.Cursor.ToGUIItem.Spigot.OnlyOnFirstLogin");
|
|
|
|
|
UseItem_ServerChange = yamlConfiguration.getBoolean("UseItem.Join.Cursor.ToGUIItem.Bungee.OnServerChange");
|
|
|
|
|
|
|
|
|
|
UseItemGameModeChangeEnable = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Change.Enable");
|
|
|
|
|
UseItemGameModeChangeDelayInTicks = yamlConfiguration.getInt("Advanced.UseItem.GameMode.Change.DelayInTicks");
|
|
|
|
|
UseItemGameModeProtection = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Protection.Enable");
|
|
|
|
|
UseItemGameModeRemoveItemWhenItIsDisabled = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Protection.RemoveItemWhenItIsDisabled");
|
|
|
|
|
UseItemGameModeMode = yamlConfiguration.getString("Advanced.UseItem.GameMode.Protection.Mode");
|
|
|
|
|
List<String> gml = new ArrayList<>();
|
|
|
|
|
for (String gm : yamlConfiguration.getStringList("Advanced.UseItem.GameMode.Protection.List")) {
|
|
|
|
|
gml.add(gm.toUpperCase());
|
|
|
|
|
}
|
|
|
|
|
UseItemGameModeList = gml;
|
|
|
|
|
|
|
|
|
|
UseItemWorldChangeEnable = yamlConfiguration.getBoolean("Advanced.UseItem.World.Change.Enable");
|
|
|
|
|
UseItemWorldChangeDelayInTicks = yamlConfiguration.getInt("Advanced.UseItem.World.Change.DelayInTicks");
|
|
|
|
|
UseItemWorldProtection = yamlConfiguration.getBoolean("Advanced.UseItem.World.Protection.Enable");
|
|
|
|
|
UseItemWorldRemoveItemWhenItIsDisabled = yamlConfiguration.getBoolean("Advanced.UseItem.World.Protection.RemoveItemWhenItIsDisabled");
|
|
|
|
|
UseItemWorldMode = yamlConfiguration.getString("Advanced.UseItem.World.Protection.Mode");
|
|
|
|
|
UseItemWorldList = yamlConfiguration.getStringList("Advanced.UseItem.World.Protection.List");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (yamlConfiguration.get("Advanced.UseItem.DisableInfoBySneak") != null) {
|
|
|
|
|
disableInfoBySneak = yamlConfiguration.getBoolean("Advanced.UseItem.DisableInfoBySneak");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UseItemItemBlockBlacklist = yamlConfiguration.getStringList("Advanced.UseItem.ItemBlockBlacklist");
|
|
|
|
|
|
|
|
|
|
toggleItemOnOrYesBase64 = yamlConfiguration.getBoolean("Toggle.Items.OnOrYes.Item.Base64.Enable");
|
|
|
|
|
toggleItemOnOrYesBase64Value = yamlConfiguration.getString("Toggle.Items.OnOrYes.Item.Base64.Base64Value");
|
|
|
|
|
toggleItemOnOrYesMaterial = yamlConfiguration.getString("Toggle.Items.OnOrYes.Item.Material");
|
|
|
|
@@ -225,6 +103,31 @@ public class SelectConfig {
|
|
|
|
|
Sound_Give_input = (yamlConfiguration.getString("Sound.Give.Sound").toUpperCase().replace(".", "_"));
|
|
|
|
|
Sound_PlayerNotFound_Enable = yamlConfiguration.getBoolean("Sound.PlayerNotFound.Enable");
|
|
|
|
|
Sound_PlayerNotFound_input = (yamlConfiguration.getString("Sound.PlayerNotFound.Sound").toUpperCase().replace(".", "_"));
|
|
|
|
|
|
|
|
|
|
UseItemGameModeChangeEnable = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Change.Enable");
|
|
|
|
|
UseItemGameModeChangeDelayInTicks = yamlConfiguration.getInt("Advanced.UseItem.GameMode.Change.DelayInTicks");
|
|
|
|
|
UseItemGameModeProtection = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Protection.Enable");
|
|
|
|
|
UseItemGameModeRemoveItemWhenItIsDisabled = yamlConfiguration.getBoolean("Advanced.UseItem.GameMode.Protection.RemoveItemWhenItIsDisabled");
|
|
|
|
|
UseItemGameModeMode = yamlConfiguration.getString("Advanced.UseItem.GameMode.Protection.Mode");
|
|
|
|
|
List<String> gml = new ArrayList<>();
|
|
|
|
|
for (String gm : yamlConfiguration.getStringList("Advanced.UseItem.GameMode.Protection.List")) {
|
|
|
|
|
gml.add(gm.toUpperCase());
|
|
|
|
|
}
|
|
|
|
|
UseItemGameModeList = gml;
|
|
|
|
|
|
|
|
|
|
UseItemWorldChangeEnable = yamlConfiguration.getBoolean("Advanced.UseItem.World.Change.Enable");
|
|
|
|
|
UseItemWorldChangeDelayInTicks = yamlConfiguration.getInt("Advanced.UseItem.World.Change.DelayInTicks");
|
|
|
|
|
UseItemWorldProtection = yamlConfiguration.getBoolean("Advanced.UseItem.World.Protection.Enable");
|
|
|
|
|
UseItemWorldRemoveItemWhenItIsDisabled = yamlConfiguration.getBoolean("Advanced.UseItem.World.Protection.RemoveItemWhenItIsDisabled");
|
|
|
|
|
UseItemWorldMode = yamlConfiguration.getString("Advanced.UseItem.World.Protection.Mode");
|
|
|
|
|
UseItemWorldList = yamlConfiguration.getStringList("Advanced.UseItem.World.Protection.List");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (yamlConfiguration.get("Advanced.UseItem.DisableInfoBySneak") != null) {
|
|
|
|
|
disableInfoBySneak = yamlConfiguration.getBoolean("Advanced.UseItem.DisableInfoBySneak");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UseItemItemBlockBlacklist = yamlConfiguration.getStringList("Advanced.UseItem.ItemBlockBlacklist");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -358,4 +261,431 @@ public class SelectConfig {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static Boolean Debug;
|
|
|
|
|
private static Boolean HelpAlias;
|
|
|
|
|
private static String adminSubCommand;
|
|
|
|
|
private static String language;
|
|
|
|
|
private static String Currency;
|
|
|
|
|
|
|
|
|
|
private static String storage;
|
|
|
|
|
|
|
|
|
|
private static String mysqlIp;
|
|
|
|
|
private static Integer mysqlPort;
|
|
|
|
|
private static String mysqlDatabase;
|
|
|
|
|
private static String mysqlUser;
|
|
|
|
|
private static String mysqlPassword;
|
|
|
|
|
private static Boolean mysqlSSL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static Boolean Bungee;
|
|
|
|
|
private static String thisServer;
|
|
|
|
|
|
|
|
|
|
private static String DefaultGUI;
|
|
|
|
|
|
|
|
|
|
private static Boolean UseItem_Enable;
|
|
|
|
|
private static Boolean UseItem_AllowToggle;
|
|
|
|
|
private static Boolean UseItem_AllowSetSlot;
|
|
|
|
|
private static Boolean UseItem_GiveOnEveryJoin;
|
|
|
|
|
private static Boolean UseItem_GiveOnlyOnFirstJoin;
|
|
|
|
|
private static Boolean UseItem_ServerChange;
|
|
|
|
|
private static Boolean Cursor_ToGUIItem_OnLogin;
|
|
|
|
|
private static Boolean Cursor_ToGUIItem_OnlyOnFirstLogin;
|
|
|
|
|
private static Boolean UseItem_BlockMoveAndDrop;
|
|
|
|
|
private static String UseItem_OpenGUI;
|
|
|
|
|
private static Boolean UseItem_Permission;
|
|
|
|
|
private static Boolean UseItem_KeepAtCommandClear;
|
|
|
|
|
|
|
|
|
|
private static Boolean UseItemGameModeChangeEnable;
|
|
|
|
|
private static int UseItemGameModeChangeDelayInTicks;
|
|
|
|
|
private static Boolean UseItemGameModeProtection;
|
|
|
|
|
private static Boolean UseItemGameModeRemoveItemWhenItIsDisabled;
|
|
|
|
|
private static String UseItemGameModeMode;
|
|
|
|
|
private static List<String> UseItemGameModeList;
|
|
|
|
|
|
|
|
|
|
private static Boolean UseItemWorldChangeEnable;
|
|
|
|
|
private static int UseItemWorldChangeDelayInTicks;
|
|
|
|
|
private static Boolean UseItemWorldProtection;
|
|
|
|
|
private static Boolean UseItemWorldRemoveItemWhenItIsDisabled;
|
|
|
|
|
private static String UseItemWorldMode;
|
|
|
|
|
private static List<String> UseItemWorldList;
|
|
|
|
|
private static List<String> UseItemItemBlockBlacklist;
|
|
|
|
|
|
|
|
|
|
private static Boolean disableInfoBySneak = false;
|
|
|
|
|
|
|
|
|
|
private static Boolean UseItem_InventorySlot_FreeSlot;
|
|
|
|
|
private static Integer UseItem_InventorySlot;
|
|
|
|
|
private static Boolean UseItem_InventorySlotEnforce;
|
|
|
|
|
private static String UseItem_Material;
|
|
|
|
|
private static Boolean UseItem_PlayerHead_Enable;
|
|
|
|
|
private static Boolean UseItem_Base64_Enable;
|
|
|
|
|
private static String UseItem_Base64value;
|
|
|
|
|
private static Boolean UseItem_PlayerWhoHasOpenedTheGUI;
|
|
|
|
|
private static String UseItem_PlayerName;
|
|
|
|
|
private static String UseItem_Name;
|
|
|
|
|
private static List<String> UseItem_Lore;
|
|
|
|
|
|
|
|
|
|
private static Boolean toggleItemOnOrYesBase64;
|
|
|
|
|
private static String toggleItemOnOrYesBase64Value;
|
|
|
|
|
private static String toggleItemOnOrYesMaterial;
|
|
|
|
|
|
|
|
|
|
private static Boolean toggleItemOffOrNoBase64;
|
|
|
|
|
private static String toggleItemOffOrNoBase64Value;
|
|
|
|
|
private static String toggleItemOffOrNoMaterial;
|
|
|
|
|
|
|
|
|
|
private static String togglePermTrue;
|
|
|
|
|
private static String togglePermFalse;
|
|
|
|
|
|
|
|
|
|
private static String placeholderTrue;
|
|
|
|
|
private static String placeholderFalse;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_Enable = true;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_OpenInventory_Enable = true;
|
|
|
|
|
private static Sound Sound_OpenInventory;
|
|
|
|
|
private static String Sound_OpenInventory_input;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_Click_Enable = true;
|
|
|
|
|
private static Sound Sound_Click;
|
|
|
|
|
private static String Sound_Click_input;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_NoMoney_Enable = true;
|
|
|
|
|
private static Sound Sound_NoMoney;
|
|
|
|
|
private static String Sound_NoMoney_input;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_NoInventorySpace_Enable = true;
|
|
|
|
|
private static Sound Sound_NoInventorySpace;
|
|
|
|
|
private static String Sound_NoInventorySpace_input;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_Give_Enable = true;
|
|
|
|
|
private static Sound Sound_Give;
|
|
|
|
|
private static String Sound_Give_input;
|
|
|
|
|
|
|
|
|
|
private static Boolean Sound_PlayerNotFound_Enable = true;
|
|
|
|
|
private static Sound Sound_PlayerNotFound;
|
|
|
|
|
private static String Sound_PlayerNotFound_input;
|
|
|
|
|
|
|
|
|
|
public static Boolean getDebug() {
|
|
|
|
|
return Debug;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getHelpAlias() {
|
|
|
|
|
return HelpAlias;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getAdminSubCommand() {
|
|
|
|
|
return adminSubCommand;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getLanguage() {
|
|
|
|
|
return language;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getCurrency() {
|
|
|
|
|
return Currency;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getStorage() {
|
|
|
|
|
return storage;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getMysqlIp() {
|
|
|
|
|
return mysqlIp;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Integer getMysqlPort() {
|
|
|
|
|
return mysqlPort;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getMysqlDatabase() {
|
|
|
|
|
return mysqlDatabase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getMysqlUser() {
|
|
|
|
|
return mysqlUser;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getMysqlPassword() {
|
|
|
|
|
return mysqlPassword;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getMysqlSSL() {
|
|
|
|
|
return mysqlSSL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getBungee() {
|
|
|
|
|
return Bungee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getThisServer() {
|
|
|
|
|
return thisServer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getDefaultGUI() {
|
|
|
|
|
return DefaultGUI;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_Enable() {
|
|
|
|
|
return UseItem_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_AllowToggle() {
|
|
|
|
|
return UseItem_AllowToggle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_AllowSetSlot() {
|
|
|
|
|
return UseItem_AllowSetSlot;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_GiveOnEveryJoin() {
|
|
|
|
|
return UseItem_GiveOnEveryJoin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_GiveOnlyOnFirstJoin() {
|
|
|
|
|
return UseItem_GiveOnlyOnFirstJoin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_ServerChange() {
|
|
|
|
|
return UseItem_ServerChange;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getCursor_ToGUIItem_OnLogin() {
|
|
|
|
|
return Cursor_ToGUIItem_OnLogin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getCursor_ToGUIItem_OnlyOnFirstLogin() {
|
|
|
|
|
return Cursor_ToGUIItem_OnlyOnFirstLogin;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_BlockMoveAndDrop() {
|
|
|
|
|
return UseItem_BlockMoveAndDrop;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItem_OpenGUI() {
|
|
|
|
|
return UseItem_OpenGUI;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_Permission() {
|
|
|
|
|
return UseItem_Permission;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_KeepAtCommandClear() {
|
|
|
|
|
return UseItem_KeepAtCommandClear;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemGameModeChangeEnable() {
|
|
|
|
|
return UseItemGameModeChangeEnable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static int getUseItemGameModeChangeDelayInTicks() {
|
|
|
|
|
return UseItemGameModeChangeDelayInTicks;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemGameModeProtection() {
|
|
|
|
|
return UseItemGameModeProtection;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemGameModeRemoveItemWhenItIsDisabled() {
|
|
|
|
|
return UseItemGameModeRemoveItemWhenItIsDisabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItemGameModeMode() {
|
|
|
|
|
return UseItemGameModeMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static List<String> getUseItemGameModeList() {
|
|
|
|
|
return UseItemGameModeList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemWorldChangeEnable() {
|
|
|
|
|
return UseItemWorldChangeEnable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static int getUseItemWorldChangeDelayInTicks() {
|
|
|
|
|
return UseItemWorldChangeDelayInTicks;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemWorldProtection() {
|
|
|
|
|
return UseItemWorldProtection;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItemWorldRemoveItemWhenItIsDisabled() {
|
|
|
|
|
return UseItemWorldRemoveItemWhenItIsDisabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItemWorldMode() {
|
|
|
|
|
return UseItemWorldMode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static List<String> getUseItemWorldList() {
|
|
|
|
|
return UseItemWorldList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static List<String> getUseItemItemBlockBlacklist() {
|
|
|
|
|
return UseItemItemBlockBlacklist;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getDisableInfoBySneak() {
|
|
|
|
|
return disableInfoBySneak;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_InventorySlot_FreeSlot() {
|
|
|
|
|
return UseItem_InventorySlot_FreeSlot;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Integer getUseItem_InventorySlot() {
|
|
|
|
|
return UseItem_InventorySlot;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_InventorySlotEnforce() {
|
|
|
|
|
return UseItem_InventorySlotEnforce;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItem_Material() {
|
|
|
|
|
return UseItem_Material;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_PlayerHead_Enable() {
|
|
|
|
|
return UseItem_PlayerHead_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_Base64_Enable() {
|
|
|
|
|
return UseItem_Base64_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItem_Base64value() {
|
|
|
|
|
return UseItem_Base64value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getUseItem_PlayerWhoHasOpenedTheGUI() {
|
|
|
|
|
return UseItem_PlayerWhoHasOpenedTheGUI;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItem_PlayerName() {
|
|
|
|
|
return UseItem_PlayerName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getUseItem_Name() {
|
|
|
|
|
return UseItem_Name;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static List<String> getUseItem_Lore() {
|
|
|
|
|
return UseItem_Lore;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getToggleItemOnOrYesBase64() {
|
|
|
|
|
return toggleItemOnOrYesBase64;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getToggleItemOnOrYesBase64Value() {
|
|
|
|
|
return toggleItemOnOrYesBase64Value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getToggleItemOnOrYesMaterial() {
|
|
|
|
|
return toggleItemOnOrYesMaterial;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getToggleItemOffOrNoBase64() {
|
|
|
|
|
return toggleItemOffOrNoBase64;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getToggleItemOffOrNoBase64Value() {
|
|
|
|
|
return toggleItemOffOrNoBase64Value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getToggleItemOffOrNoMaterial() {
|
|
|
|
|
return toggleItemOffOrNoMaterial;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getTogglePermTrue() {
|
|
|
|
|
return togglePermTrue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getTogglePermFalse() {
|
|
|
|
|
return togglePermFalse;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getPlaceholderTrue() {
|
|
|
|
|
return placeholderTrue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getPlaceholderFalse() {
|
|
|
|
|
return placeholderFalse;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_Enable() {
|
|
|
|
|
return Sound_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_OpenInventory_Enable() {
|
|
|
|
|
return Sound_OpenInventory_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_OpenInventory() {
|
|
|
|
|
return Sound_OpenInventory;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_OpenInventory_input() {
|
|
|
|
|
return Sound_OpenInventory_input;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_Click_Enable() {
|
|
|
|
|
return Sound_Click_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_Click() {
|
|
|
|
|
return Sound_Click;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_Click_input() {
|
|
|
|
|
return Sound_Click_input;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_NoMoney_Enable() {
|
|
|
|
|
return Sound_NoMoney_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_NoMoney() {
|
|
|
|
|
return Sound_NoMoney;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_NoMoney_input() {
|
|
|
|
|
return Sound_NoMoney_input;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_NoInventorySpace_Enable() {
|
|
|
|
|
return Sound_NoInventorySpace_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_NoInventorySpace() {
|
|
|
|
|
return Sound_NoInventorySpace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_NoInventorySpace_input() {
|
|
|
|
|
return Sound_NoInventorySpace_input;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_Give_Enable() {
|
|
|
|
|
return Sound_Give_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_Give() {
|
|
|
|
|
return Sound_Give;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_Give_input() {
|
|
|
|
|
return Sound_Give_input;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Boolean getSound_PlayerNotFound_Enable() {
|
|
|
|
|
return Sound_PlayerNotFound_Enable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Sound getSound_PlayerNotFound() {
|
|
|
|
|
return Sound_PlayerNotFound;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String getSound_PlayerNotFound_input() {
|
|
|
|
|
return Sound_PlayerNotFound_input;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|