Get Item id and ask if item is put in Inventory

Discussion in 'Plugin Development' started by CrepperFreak123, Nov 27, 2014.

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

    CrepperFreak123

    Hey guys,

    I think my title says everything.. How can i check if the player adds an item in the New Inventory and what izem ID this item has!

    greetinfs, crepper

    PS: sorry for my Bad english i am German!
     
  2. Offline

    timtower Administrator Administrator Moderator

    CrepperFreak123 The are itempickupevents, and checking the id is some Material stuff
     
  3. Offline

    CrepperFreak123

    Dos it work with the item pick up event? Isn't it for taking up an item Ehen you run about it?
     
  4. Offline

    mine-care

    What you mean in a New inventory? If you mean that you have a custom inventory open and you want to see what player puts in it, then listen to InventoryClickEvent and check if the current item's type matches the material you want.
     
Thread Status:
Not open for further replies.

Share This Page