Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 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. if arg-1 is "stop":
  18. loop all players:
  19. execute console command "tp %loop-player% -354 169 494"
  20. execute console command "minecraft:clear %loop-player% diamond_shovel"
  21. stop
  22. if arg-1 is "remove":
  23. if arg-2 is "1":
  24. make console execute command "fill -371 156 472 -355 156 488 air"
  25. if arg-2 is "2":
  26. make console execute command "bcast Floor number 2 is removing"
  27. wait 1 seconds
  28. make console execute command "fill -371 161 472 -355 161 488 air"
  29. if arg-2 is "3":
  30. make console execute command "bcast Floor number 3 is removing"
  31. wait 1 seconds
  32. make console execute command "fill -355 166 488 -371 166 472 air"
  33. if arg-2 is "4":
  34.  
  35. make console execute command "bcast Floor number 4 is removing"
  36. wait 1 seconds
  37. make console execute command "fill -355 171 488 -371 171 472 air"
  38. if arg-2 is "all":
  39. make console execute command "fill -371 156 472 -355 156 488 air"
  40. make console execute command "fill -371 161 472 -355 161 488 air"
  41. make console execute command "fill -355 166 488 -371 166 472 air"
  42. make console execute command "fill -355 171 488 -371 171 472 air"
  43. if arg-1 is "add":
  44. if arg-2 is "1":
  45. make console execute command "bcast Floor number 1 is rebuilding"
  46. wait 1 seconds
  47. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  48. if arg-2 is "2":
  49. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  50. if arg-2 is "3":
  51. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  52. if arg-2 is "4":
  53. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  54. if arg-2 is "all":
  55. make console execute command "fill -371 156 472 -355 156 488 snow_block"
  56. make console execute command "fill -371 161 472 -355 161 488 snow_block"
  57. make console execute command "fill -355 166 488 -371 166 472 snow_block"
  58. make console execute command "fill -355 171 488 -371 171 472 snow_block"
  59.  
  60. on first join:
  61. set {spleef::%player%} to true
  62.  
  63. on load:
  64. set {spleef.spawn} to "-361, 174, 480"
  65. set {spleef.lobby} to "-354, 169, 494"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement