Chestlock

Discussion in 'Plugin Development' started by zJanny, Oct 8, 2019.

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

    zJanny

    Hello,
    I was wondering how to make /chestlock and /chestunlock command
    so i can lock the chest for other players
     
  2. Offline

    robertlit

    You could cancel the chest opening event.
     
  3. With the PlayerInteractEvent.

    Just cancel to rightclick on the block type chest
     
Thread Status:
Not open for further replies.

Share This Page