Guest User

koth?

a guest
Mar 14th, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. command /kothtp:
  2. permission: bozokits.koth.tp
  3. trigger:
  4. add player to {koth::*}
  5. teleport player to location(1000.500, 158, 987.500, world "world", -0.0, -3.3)
  6. command /kothtpall:
  7. permission: bozokits.koth.tp.all
  8. permission message: &cHow'd you even find this command lol
  9. trigger:
  10. send "&cYou have scheduled a koth to start soon!" to player
  11. execute console command "/lp group default permission settemp bozokits.koth true 30m"
  12. loop all players where ["%region at input%" contains "kotharena"]:
  13. send "&cYou will be teleported to spawn in 5 minutes!" to loop-player
  14. wait 2 minutes
  15. send "&cYou will be teleported to spawn in 3 minutes!" to loop-player
  16. wait 2 minutes
  17. send "&cYou will be teleported to spawn in 1 minute!" to loop-player
  18. wait 1 minute
  19. execute console command "/minecraft:tp %loop-player% 1000.500 158 987.500 -0.0 -3.3"
  20. send "&cYou have been teleported to spawn!" to loop-player
  21. wait 5 seconds
  22. execute console command "/minecraft:tp %loop-player% 1000.500 158 987.500 -0.0 -3.3"
  23. delete {koth::*}
  24. on quit:
  25. if "%region at player%" contains "kotharena":
  26. execute console command "/minecraft:tp %player% 1000.500 158 987.500 -0.0 -3.3"
Advertisement
Add Comment
Please, Sign In to add comment