Throw an Event When Step on Block

Discussion in 'Plugin Development' started by mattloto, Jan 22, 2011.

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

    mattloto

    I'm fairly new to this, so excuse this possibly stupid question. Is there any way to tell if a user stands on a block? The only way I can think of is by using PLAYER_MOVE and then getting the block from the player's location, but then the event would only happen once and the player would need to keep moving.

    Also, the plugin I'm making is that when you stand on a block, you will shoot arrows rapid-fire. I had it where if you stood on a pressure-plate it would do it using the BLOCK_INTERACT, but I want it for any block.
     
  2. Offline

    mattloto

    Bump.

    P.S. Anyone feel that bukkit needs more advanced tutorials?
     
Thread Status:
Not open for further replies.

Share This Page