Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &8[&9Atlas&8]&7
- command /startuhc <int> <int>:
- description: Start the UHC
- permission: skript.op
- permission message: &9You do not have permission.
- usage: /startuhc <Time until PvP in seconds> <Time until Meetup in seconds>
- executable by: players and console
- trigger:
- if arg 1 is less than 0:
- message "{@prefix} Times cannot be negative!" to the player
- stop trigger
- if arg 2 is less than 0:
- message "{@prefix} Times cannot be negative!" to the player
- stop trigger
- execute console command "/pvpoff"
- execute console command "/heal -a"
- execute console command "/feed -a"
- execute player command "/gamerule doMobSpawning false"
- execute player command "/butcher"
- execute console command "/clearxp -a"
- execute console command "/dk on"
- execute console command "/tm bc &9The UHC will begin in 10 seconds."
- wait 10 seconds
- execute console command "/freeze"
- execute console command "/tm bc &9The UHC has begun."
- make player execute command "/gamerule doDaylightCycle true"
- make player execute command "/time set 0"
- make player execute command "/kb on"
- execute console command "/timer:timer %arg-1% &9PVP is enabled in &8»&7"
- wait 5 seconds
- execute console command "/tm bc &9Final heal in 10 seconds&7."
- wait 10 seconds
- execute console command "/heal -a"
- execute console command "/feed -a"
- execute console command "/tm bc &9Final heal has now been given&7."
- execute player command "gamerule doMobSpawning true"
- execute player command "butcher"
- wait arg-1 seconds
- execute console command "/tm bc &9PVP has been enabled&7."
- execute console command "/pvpon"
- execute console command "/timer:timer %arg-2% &9Meetup is in &8»&7"
- wait arg-2 seconds
- execute console command "/tm bc &9Meetup has begun, head to &70,0."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement