ShowcasesMC

spawn test

Jul 13th, 2019
793
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. options:
  2. #SPAWN COORDS!
  3. x: 0
  4. y: 73
  5. z: 0
  6.  
  7. command /spawn [<player>]
  8. permission: hcf.command.spawn
  9. trigger:
  10. if arg-1 is not set:
  11. make console execute command "/minecraft:tp %player% {@x} {@y} {@z}"
  12. send "&aYou were teleported to &espawn&e."
  13. else:
  14. make console execute command "/minecraft:tp %arg-1% {@x} {@y} {@z}"
  15. send "&aYou were teleported to &espawn&e." to %arg-1%
  16.  
  17. on first join:
  18. wait 2 tick
  19. make console execute command "/minecraft:tp %player% {@x} {@y} {@z}"
Advertisement
Add Comment
Please, Sign In to add comment