keylistener

Discussion in 'Plugin Development' started by goodstuff20, Jun 22, 2013.

Thread Status:
Not open for further replies.
  1. Hi guys,

    I wanted to know if it were somehow possible to add a key listener or so that if you press a button something happens
    (I know that some stuff doesnt work if the Steve's don't have a client side mod - so was interested if this is somehow possible without client side mod
    Tux guys

    Cheers
     
  2. Offline

    Shzylo

    It is all client-side for key listeners.
     
  3. So its not possible?
     
  4. Offline

    Ivan

  5. OK thx - is there a event like onBlockBreak just click (maybe check in interact event) that can check left and /or right click?
     
  6. Offline

    Ivan

    Yes there is, the PlayerInteractEvent, which can tell you when a player left or rightclicked, or if it was in the air or on a block
     
  7. Ah thx man
     
Thread Status:
Not open for further replies.

Share This Page