Changeable Default Names For Items

Discussion in 'Plugin Development' started by snake4212, Mar 3, 2013.

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

    snake4212

    Creating a plugin and the title really says it all I am a little bit lost on where to start if you can add me on skype and help me out I would greatly appreciate it
    Skype is giuseppe42121
     
  2. Offline

    chasechocolate

    Google "Bukkit ItemMeta".
     
  3. Offline

    snake4212

    I have used ItemMeta but basically what I am doing is making it so the Default name for an item is configurable so you have a config and you can add
    276: &4Blade of Diamond (Idk Random Name)

    Anyone?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  4. Offline

    stirante

    Actually I already sent you a message.
     
  5. Theres already a plugin that does this with changed packets that are being sent to the player. I'd reccomend using ProtocolLib for that kinda stuff.
     
  6. Offline

    Rprrr

    If mncat77 suggestion won't do it, you should listen for all events regarding the collection of items. So, you would be listening for all PickUpItemEvents, CraftItemEvents, et cetera.. But I don't think that's the best solution for this.
     
  7. Offline

    iWareWolf

    Rprrr
    InventoryClickEvent is most useful.
     
Thread Status:
Not open for further replies.

Share This Page