Event for changing items name in anvil?

Discussion in 'Plugin Development' started by kreashenz, May 19, 2013.

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

    kreashenz

    Is there an event for when a player changes the name of an item in an anvil? I would like to know. I've got a simple plugin in mind, and I can complete it if I get this. Thanks in advanced!
     
  2. Offline

    TheUpdater

    use item meta data =)
     
  3. Offline

    kreashenz

    TheUpdater Event, not that stuff.. I know ItemMeta.. I only want the event to change it.
     
  4. Offline

    Steffion

    kreashenz I tried this too, but there is no event for this I think. Its on request.
     
  5. Offline

    TheUpdater

    there is custom event api =) that you can use to make own event ??
     
  6. Offline

    kreashenz

    TheUpdater That's true, but then there's all that other stuff you do have to go through. I could try making it, just for this plugin. Thanks for the idea.. Steffion Damn, they have to bring it! It would help so much people out!
     
  7. Offline

    socram8888

  8. Offline

    Jogy34

    I've had to do something like this where I had to get the item that came out of an anvil's result slot. What I did was use an InventoryClickEvent and then made sure it was an AnvilInventoy and I believe it uses the result slot (don't hold me to that as a lot of the slot types for inventories are messed up an have screwed me up in the past) for that and since you can't put an item in that slot you don't have to worry about a player placing an item in there as it should always be them taking an item out.
     
Thread Status:
Not open for further replies.

Share This Page