When you right click a block it'll execute a command

Discussion in 'Spigot Plugin Help' started by RevisedMC, May 27, 2017.

  1. I can't find this plugin anywhere, basically when you right click a hopper it'll open the command that you set to it.

    pls help
  2. Why don't you just make one your self?
  3. Anyone know one on spigot?
  4. When you say it'll open a command, do you mean like run it? Or open some kind of inventory?
  5. PlayerUseEvent or something like that. Check if action is use. Set event cancelled. Do event.getPlayer().chat("/command");
  6. Can be done with skript too
  7. When you right click it'll execute the command /missions, so like open another GUI
  8. I have no idea how to do this
  9. I do know how to do this, using a plugin "Skript". If you need assistance, just PM me, but try yourself first! I'd be happy to guide you.
  10. Ill try to create a plugin with skript, im not saying ill make it, but ill try
  11. Which blocks do you want the "rightclicking" on?
  12. T
    Thank you for the support! I'll try it myself first than i'll let you guys know if it's currently not working.

    And the block is a hopper