title: Bukkit - How can I create a .replace in an item lore (String list)
body: <p>So I am trying to create a custom feature for my minecraft server, and one of the things that I am needing to do is to replace %CommonPackages% with an integer that is limited to a player in the config (I know how do to all of the config side of things, just not how to do the replacement in the string list.) Below is the code for setting the item in the inventory:</p>
  
  <pre><code>ItemStack common = new ItemStack(Material.INK_SACK);
  common.setDurability((byte) 8);
  ItemMeta commonMeta = common.getItemMeta();
  commonMeta.setLore(Main.pl.getFileControl().getConfig().getStringList("Backpacks.White.Common.Lore")); //Getting the custom config file for the lore
  common.setItemMeta(commonMeta);
  
  inv.setItem(10, common);
  </code></pre>