Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. every 5 minutes:
  2. if {uhctimer} is set:
  3. execute console command "broadcast &6The UHC Event is Starting!"
  4. execute console command "start"
  5. delete {uhctimer}
  6. execute console command "whitelist on"
  7.  
  8.  
  9. #break
  10.  
  11. command /uhc [<string>]
  12. permission: hosteduhc.host
  13. permission message: &7No Permission! Must have &6Platinum &7or above!
  14. trigger:
  15. if arg-1 is set:
  16. if arg-1 is "startwait"
  17. execute console command "broadcast &8&lUHC IS STARTING, JOIN WITH /uhcjoin ! ( Hosted by %command sender% )"
  18. set {uhctimer} to "true"
  19. execute console command "whitelist off"
  20. if arg-1 is "scenarios"
  21. execute console command "sudo %command sender% scenarios config"
  22. if arg-1 is "config"
  23. execute console command "sudo %command sender% config admin"
  24. if arg-1 is "miscgui"
  25. open chest with 3 rows named "&d&lMISC. GUI"
  26. wait 1 tick
  27. format slot 11 of player with blaze rod named "Latescatter" to close then run "latescatter"
  28. format slot 15 of player with bedrock named "Border GUI" to close then run "uhc border"
  29. if arg-1 is "border"
  30. open chest with 1 row named "&dBORDER CONTROL"
  31. wait 1 tick
  32. format slot 2 of player with bedrock named "Border 500" to close then run "border 500"
  33. format slot 4 of player with bedrock named "Border 250" to close then run "border 250"
  34. format slot 6 of player with bedrock named "Border 125" to close then run "border 125"
  35. format slot 8 of player with bedrock named "Border 125" to close then run "border 50"
  36. if else:
  37. open chest with 3 rows named "&d&lSTART UHC" to player
  38. wait 1 tick
  39. format slot 4 of player with stick named "&dMisc." with lore "Opens Misc. GUI" to close then run "uhc miscgui"
  40. format slot 8 of player with slimeball named "&dStart UHC" with lore "Start the 5 minute timer" to close then run "uhc startwait"
  41. format slot 22 of player with book named "Admin Config" with lore "Open the UHC Hoster GUI" to close then run "uhc config"
  42. format slot 26 of player with book named "Scenarios" with lore "Edit Scenarios" to close then run "uhc scenarios"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement