ItemNameColor

Discussion in 'Plugin Requests' started by Furrycane, Jan 8, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Furrycane

    Hello!


    As the title says, I'm from Estonia and currently making a 1.8 server that is half RPG and half modern/classic. The thing is, I made two VIP ranks, Silver and Gold. I'm trying to do something like RuneScape. The permament item colours. I know there is a way of doing texture packs but players want to use their own. I can't even make a plugin because I'm not a developer. So Silver can use iron stuff and more blocks while Gold can get all that is in Creative 'E'. So Silver is gray(&7) and Gold is golden(&6). I want to change the item name colours that those two ranks can use. So is there a way without texture packs and similar tools like Itemizer? Enchanted-Items like nether star etc will have (&5) name colour.
     
  2. Offline

    HenrySartori

    The plugin is Made by you?
    If it is, in the creation of ItemStack, put that:
    Code:
    ItemStack itemStackColour = new ItemStack(Material.DIAMOND);
    ItemMeta itemMetaColour = itemStackColour.getItemMeta();
    itemMetaColour.setDisplayName("§5Diamond");
    itemStackColor.setItemMeta(itemMetaColour);
    In JavaScript, & is §
     
  3. Online

    timtower Administrator Administrator Moderator

    @HenrySartori No JavaScript, Java.
    And:
     
  4. Offline

    Danteland

    Haha I was confused for a while when he said javascript. Anyways. An easier way is to do. ChatColor.GOLD + "Diamond".
    What items do you need to be colored? All items on the server or just "special" items?
     
  5. Offline

    pie_flavor

    @Furrycane You said that resource packs are possible, but that players want to use their own. You do know that more than one resource pack can be selected at a time including the server resource pack, right?
     
  6. Offline

    Furrycane

    No I did not create this plugin but wish that it was created.

    How? By the way for example: I search for diamond in creative inventory and hover it and it has a (&6Diamond) name. I need permament change. A good developer can do this easily

    All of them.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 9, 2016
  7. Offline

    pie_flavor

    @Furrycane Multiple resource packs can be selected in the resource pack menu. It's just part of Minecraft.
     
Thread Status:
Not open for further replies.

Share This Page