package me.xDark.TPhone.GUI;
import java.io.File;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.configuration.file.YamlConfiguration;
import org.*********ventory.Inventory;
import org.*********ventory.ItemStack;
import org.*********ventory.meta.ItemMeta;
import net.md_5.bungee.api.ChatColor;
public class OptionsGUI {
static File f = new File("plugins".concat(File.separator).concat("TPhone").concat(File.separator).concat("config").concat(".yml"));
static YamlConfiguration fm = YamlConfiguration.loadConfiguration(f);
public static Inventory option = Bukkit.createInventory(null, 27, ChatColor.GOLD + "Настройки телефона");
static {
ItemStack deviceInfo = new ItemStack(Material.IRON_INGOT, 1);
ItemMeta deviceM = deviceInfo.getItemMeta();
deviceM.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&6Информация о телефоне:"));
deviceM.setLore(fm.getStringList("device-lore"));
deviceInfo.setItemMeta(deviceM);
option.setItem(13, deviceInfo);
ItemStack back = new ItemStack(Material.STICK, 1);
ItemMeta backm = back.getItemMeta();
backm.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&6Вернуться назад"));
back.setItemMeta(backm);
option.setItem(0, back);
ItemStack sound = new ItemStack(Material.NOTE_BLOCK, 1);
ItemMeta soundm = sound.getItemMeta();
soundm.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&aВключить/выключить уведомления о SMS"));
sound.setItemMeta(soundm);
option.setItem(12, sound);
}
}