onChestClosed() ??

Discussion in 'Plugin Development' started by ursa_arcadius, Feb 21, 2011.

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

    ursa_arcadius

    Is there a way to see when someone closes a chest? Basically I am looking for the best way to see when someone is done using a chest. Right now I am going based on playerMove but it does not seem too reliable and sometimes registers right as (or slightly after) they open the chest.

    Anyone know of a better way?
     
  2. Offline

    Edward Hand

    Use the INVENTORY_CLOSE event.
     
  3. Offline

    ursa_arcadius

    I see InventoryOpen here but no InventoryClose. Could you link to it please?
     
  4. Offline

    Edward Hand

    Ah. It seems you can listen for INVENTORY_CLOSE events but you can't receive them yet.
    That probably means it will be added soon (hopefully)
     
  5. Offline

    ursa_arcadius

    Is there anyone I can ask to see if they will be added soon?
    --- merged: Feb 25, 2011 6:13 AM ---
    Does anyone know if this is possible yet? I just found the onBlockInteract for opening chest instead of using onBlockRight click so all I need is this and I think I will be done with the plugin finally.
     
Thread Status:
Not open for further replies.

Share This Page