Solved InventoryClickEvent?

Discussion in 'Plugin Development' started by Wantsome, Sep 5, 2019.

  1. Offline

    Wantsome

    What is the event called when adding items into an inventory. like dragging items from a chest to your inventory? I'm not for sure what the event is called. I played with inventoryclickevent, but that does not work for what I want. I want to send a message whenever a player puts an item in his inventory. so like if I had a stack of stone, and I right-click stone into inventory it will send me a message saying 1 stone, 2 stone, 3 stone, and so forth.
     
    Last edited: Sep 5, 2019
  2. Offline

    DerDonut

    What is the issue with the InventoryClickEvent? Post what you already have. Additionally you will probably need the InventoryDragEvent to detect every change in the inventory but let's first focus on the click
     

Share This Page