Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. command /spleef <text> [<text>]:
  2. permission: spleef.admin
  3. trigger:
  4. if arg-1 is "start":
  5. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  6. make console execute command "fill -371 166 472 -355 166 488 snow_block"
  7. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  8. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  9. make console execute command "gamerule doTileDrops false"
  10. wait 3 seconds
  11. loop all players:
  12. execute console command "minecraft:gamemode survival %loop-player%"
  13. execute console command "minecraft:clear %loop-player% diamond_shovel"
  14. execute console command "minecraft:give %loop-player% diamond_shovel{Unbreakable:true} 1"
  15. execute console command "tp %loop-player% -363 176 480"
  16. stop
  17. make console execute command "bcast Floor number 4 is removing in 20 seconds!"
  18. wait 20 seconds
  19. make console execute command "fill -355 171 488 -371 171 472 air"
  20. make console execute command "bcast Floor number 3 is removing in 20 seconds!"
  21. wait 20 seconds
  22. make console execute command "fill -355 166 488 -371 166 472 air"
  23. make console execute command "bcast Floor number 2 is removing in 20 seconds!"
  24. wait 20 seconds
  25. make console execute command "fill -371 161 472 -355 161 488 air"
  26. make console execute command "bcast Floor number 1 is rebuilding in 20 seconds!"
  27. wait 20 seconds
  28. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  29.  
  30. if arg-1 is "stop":
  31. loop all players:
  32. execute console command "tp %loop-player% -354 169 494"
  33. execute console command "minecraft:clear %loop-player% diamond_shovel"
  34. stop
  35. if arg-1 is "remove":
  36. if arg-2 is "1":
  37. make console execute command "fill -371 156 472 -355 156 488 air"
  38. if arg-2 is "2":
  39. make console execute command "bcast Floor number 2 is removing"
  40. wait 1 seconds
  41. make console execute command "fill -371 161 472 -355 161 488 air"
  42. if arg-2 is "3":
  43. make console execute command "bcast Floor number 3 is removing"
  44. wait 1 seconds
  45. make console execute command "fill -355 166 488 -371 166 472 air"
  46. if arg-2 is "4":
  47.  
  48. make console execute command "bcast Floor number 4 is removing"
  49. wait 1 seconds
  50. make console execute command "fill -355 171 488 -371 171 472 air"
  51. if arg-2 is "all":
  52. make console execute command "fill -371 156 472 -355 156 488 air"
  53. make console execute command "fill -371 161 472 -355 161 488 air"
  54. make console execute command "fill -355 166 488 -371 166 472 air"
  55. make console execute command "fill -355 171 488 -371 171 472 air"
  56. if arg-1 is "add":
  57. if arg-2 is "1":
  58. make console execute command "bcast Floor number 1 is rebuilding"
  59. wait 1 seconds
  60. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  61. if arg-2 is "2":
  62. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  63. if arg-2 is "3":
  64. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  65. if arg-2 is "4":
  66. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  67. if arg-2 is "all":
  68. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  69. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  70. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  71. make console execute command "fill -355 171 488 -371 171 472 snow_block"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement