Need Help!!!

Discussion in 'Spigot Plugin Help' started by Zentreax, Apr 19, 2017.

  1. Hey,

    How can i edit this in a config:

    ItemStack itemStack3 = new ItemStack(Material.SKULL_ITEM, 1, (byte)3);
    SkullMeta itemMeta3 = (SkullMeta)itemStack3.getItemMeta();
    itemMeta3.setOwner("Zentreax");
    itemMeta3.setDisplayName("§b§lDev | Zentreax");
    itemStack3.setItemMeta(itemMeta3);

    How can i change the Owner and the Display Name?

    -Zentreax
     
  2. BananaPuncher714

    Supporter

    You have to get the config first, then you can get the owner and display name and set the skull to have those variables.