SilentShiro

Untitled

Mar 28th, 2018
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. options:
  2. item: compass
  3. itemname: "&cTPCompass"
  4.  
  5. command /tpi:
  6. aliases: teleportitem, tpitem
  7. permission: msk.get.tpitem
  8. trigger:
  9. give {@item} named {@itemname} to player
  10.  
  11. on rightclick with {@item}:
  12. player has permission "msk.tpitem"
  13. loop blocks above targeted block:
  14. loop-block is air
  15. block above loop-block is air
  16. teleport player to loop-block
  17. stop trigger
Add Comment
Please, Sign In to add comment