Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- every 5 minutes:
- if {uhctimer} is set:
- execute console command "broadcast &6The UHC Event is Starting!"
- execute console command "start"
- delete {uhctimer}
- execute console command "whitelist on"
- #break
- command /uhc [<string>]
- permission: hosteduhc.host
- permission message: &7No Permission! Must have &6Platinum &7or above!
- trigger:
- if arg-1 is set:
- if arg-1 is "startwait"
- execute console command "broadcast &8&lUHC IS STARTING, JOIN WITH /uhcjoin ! ( Hosted by %command sender% )"
- set {uhctimer} to "true"
- execute console command "whitelist off"
- if arg-1 is "scenarios"
- execute console command "sudo %command sender% scenarios config"
- if arg-1 is "config"
- execute console command "sudo %command sender% config admin"
- if arg-1 is "miscgui"
- open chest with 3 rows named "&d&lMISC. GUI"
- wait 1 tick
- format slot 11 of player with blaze rod named "Latescatter" to close then run "latescatter"
- format slot 15 of player with bedrock named "Border GUI" to close then run "uhc border"
- if arg-1 is "border"
- open chest with 1 row named "&dBORDER CONTROL"
- wait 1 tick
- format slot 2 of player with bedrock named "Border 500" to close then run "border 500"
- format slot 4 of player with bedrock named "Border 250" to close then run "border 250"
- format slot 6 of player with bedrock named "Border 125" to close then run "border 125"
- format slot 8 of player with bedrock named "Border 125" to close then run "border 50"
- if else:
- open chest with 3 rows named "&d&lSTART UHC" to player
- wait 1 tick
- format slot 4 of player with stick named "&dMisc." with lore "Opens Misc. GUI" to close then run "uhc miscgui"
- format slot 8 of player with slimeball named "&dStart UHC" with lore "Start the 5 minute timer" to close then run "uhc startwait"
- format slot 22 of player with book named "Admin Config" with lore "Open the UHC Hoster GUI" to close then run "uhc config"
- 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