InventoryChange ??

Discussion in 'Plugin Development' started by rominos2, Oct 18, 2011.

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

    rominos2

    Hi guys
    I'm just looking for an event or something checking any change on Inventory

    Bukkit Event seems not to be supported
    And I don't find any thing in spout

    Is there anyone that can help me please ?
     
  2. Offline

    Euphi_

  3. Offline

    Acrobot

  4. Offline

    rominos2

    @Euphi_
    Not supported
    @Acrobot
    I don't want to have a event on click but on change
    Dispenser for example
     
  5. Offline

    nisovin

    Sometimes you don't get exactly what you want. InventoryClickEvent is your only choice, or you can also watch InventoryOpen and InventoryClose and check for differences.
     
  6. Offline

    rominos2

    @nisovin
    But a dispenser don't open the inventory, does it ?
     
  7. Offline

    nisovin

    Try it and find out.
     
  8. Offline

    Afforess

    There is already an event for when a dispenser fires an object. However, if you want to get the inventory of a dispenser while a player is manipulating it, then you need InventoryClick.
     
  9. Offline

    rominos2

    @Afforess
    And what is called when a player fires an arrow ?
     
  10. Offline

    Afforess

    Projectile Event. Bukkit has javadocs, read them, know them, love them.
     
  11. Offline

    rominos2

    OK 'll look at that but I'm not sure that the player who launch the arrow is in the event
     
Thread Status:
Not open for further replies.

Share This Page