Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /spleef <text> [<text>]:
- permission: spleef.admin
- trigger:
- if arg-1 is "start":
- make console execute command "fill -355 171 488 -371 171 472 snow_block"
- make console execute command "fill -371 166 472 -355 166 488 snow_block"
- make console execute command "fill -371 161 472 -355 161 488 snow_block"
- make console execute command "fill -371 156 472 -355 156 488 snow_block"
- make console execute command "gamerule doTileDrops false"
- wait 3 seconds
- loop all players:
- execute console command "minecraft:gamemode survival %loop-player%"
- execute console command "minecraft:clear %loop-player% diamond_shovel"
- execute console command "minecraft:give %loop-player% diamond_shovel{Unbreakable:true} 1"
- execute console command "tp %loop-player% -363 176 480"
- stop
- if arg-1 is "stop":
- loop all players:
- execute console command "tp %loop-player% -354 169 494"
- execute console command "minecraft:clear %loop-player% diamond_shovel"
- stop
- if arg-1 is "remove":
- if arg-2 is "1":
- make console execute command "fill -371 156 472 -355 156 488 air"
- if arg-2 is "2":
- make console execute command "bcast Floor number 2 is removing"
- wait 1 seconds
- make console execute command "fill -371 161 472 -355 161 488 air"
- if arg-2 is "3":
- make console execute command "bcast Floor number 3 is removing"
- wait 1 seconds
- make console execute command "fill -355 166 488 -371 166 472 air"
- if arg-2 is "4":
- make console execute command "bcast Floor number 4 is removing"
- wait 1 seconds
- make console execute command "fill -355 171 488 -371 171 472 air"
- if arg-2 is "all":
- make console execute command "fill -371 156 472 -355 156 488 air"
- make console execute command "fill -371 161 472 -355 161 488 air"
- make console execute command "fill -355 166 488 -371 166 472 air"
- make console execute command "fill -355 171 488 -371 171 472 air"
- if arg-1 is "add":
- if arg-2 is "1":
- make console execute command "bcast Floor number 1 is rebuilding"
- wait 1 seconds
- make console execute command "fill -371 156 472 -355 156 488 snow_block"
- if arg-2 is "2":
- make console execute command "fill -371 161 472 -355 161 488 snow_block"
- if arg-2 is "3":
- make console execute command "fill -355 166 488 -371 166 472 snow_block"
- if arg-2 is "4":
- make console execute command "fill -355 171 488 -371 171 472 snow_block"
- if arg-2 is "all":
- make console execute command "fill -371 156 472 -355 156 488 snow_block"
- make console execute command "fill -371 161 472 -355 161 488 snow_block"
- make console execute command "fill -355 166 488 -371 166 472 snow_block"
- make console execute command "fill -355 171 488 -371 171 472 snow_block"
- on first join:
- set {spleef::%player%} to true
- on load:
- set {spleef.spawn} to "-361, 174, 480"
- set {spleef.lobby} to "-354, 169, 494"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement