Ways beside Inventory Clicks to throw out items?

Discussion in 'Spigot Plugin Development' started by xTimPugz, Apr 19, 2017.

  1. Hello

    Are there any other ways besides inventory click events, dying and tossing for the player to move items out of their inventory?

    Thank you
     
  2. I think no :/
     
    • Informative Informative x 1
  3. They can place blocks, paintings, damage items until they're broken (flint and steel, swords), right-click item frames to store items inside, right-click mobs with food, right-click grass with bone meal.

    In short, disable PlayerInteractEvent to avoid all of the above.
     
    • Winner Winner x 1
  4. Thank you very much! That was what I needed.
     
    • Like Like x 1
  5. dropping the item ?
     
  6. That's what I meant by tossing :) but thank you anyway :D
     
    • Like Like x 1