Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATA HOSTED WITH ♥ BY PASTEBIN.COM - DOWNLOAD RAW - SEE ORIGINAL
- options:
- servername: &8[&4&lAstro&6&lUHC&8]&b&l
- perms: skript.startuhc
- command /scatterplayers <world> <int> <text>:
- permission: {@perms}
- usage: /scatterplayers <world> <radius> <teams/solos>
- trigger:
- if arg-3 is "teams" or "team" or "t":
- loop 5 times:
- command "/team color"
- wait 3 ticks
- loop all players:
- set the loop-player's food level to 10
- loop all players:
- {spec::%loop-player%} is not set
- set the loop-player's gamemode to survival
- clear inventory of loop-player
- command "/freeze"
- command sender command "/sca %arg-1% %arg-2% teams"
- wait 3 seconds
- command "/time set day %arg-1%"
- else if arg-3 is "solos" or "solo" or "s":
- loop all players:
- set the loop-player's food level to 10
- loop all players:
- {spec::%loop-player%} is not set
- set the loop-player's gamemode to survival
- clear inventory of loop-player
- command "/freeze"
- command sender command "/sca %arg-1% %arg-2% *"
- wait 2 ticks
- command "/time set day %arg-1%"
- command /latescatter <world> <int> <player>:
- usage: /latescatter <world> <radius> <player>
- permission: {@perms}
- trigger:
- command "/feed %arg-3%"
- loop 5 times:
- wait 1 tick
- clear inventory of arg-3
- wait 2 seconds
- give 2 cooked beef to arg-3
- set the arg-3's gamemode to survival
- command sender command "/sca %arg-1% %arg-2% %arg-3%"
- wait 5 seconds
- send "&fFinal Heal: &c3" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal: &c2" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal: &c1" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- wait 1 second
- send "&fFinal Heal Given!" to arg-3
- command "/playsound note.bass %arg-3% ~ ~ ~ 1 0.5 1"
- heal arg-3
- command /uhcstart <int> <int>:
- aliases: /start
- permission: {@perms}
- usage: /uhcstart <pvp time in minutes> <meetup time in minutes &l**AFTER PvP went off**&r>
- trigger:
- set {_w} to world of command sender
- command "/tm bc &63"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- command "/tm bc &52"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- command "/tm bc &a&l1"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- command "/freeze"
- loop all players:
- {spec::%loop-player%} is not set
- give 10 cooked beef to the loop-player
- command "/tm bc &c&lGLHF!! "
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 2 1"
- wait 1 second
- command "/pvp global off"
- command "/time set day %{_w}%"
- loop all players:
- command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
- loop 3 times:
- wait 1 second
- command sender command "/butcher"
- broadcast "&4Butcher &aFinished!"
- wait 5 seconds
- broadcast "&cFinal &4Heal: &c3"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&cFinal &4Heal: &c2"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&cFinal &4Heal: &c1"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- wait 1 second
- broadcast "&fFinal Heal Given!"
- loop all players:
- command "/playsound note.bass %loop-player% ~ ~ ~ 1 0.5 1"
- heal the loop-player
- execute console command "/timer -time 15m &4&lPvP Enabled"
- wait 1 second
- execute console command "/timers %arg-1% %arg-2%"
- on death of player:
- {timer::running} is true
- command "/scoreboard players reset %tablist name of victim%"
- if attacker is not a player:
- command "/scoreboard players add &c&lPvE uhc 1"
- else if attacker is not set:
- command "/scoreboard players add &c&lPvE uhc 1"
- else:
- attacker is not victim
- command "/scoreboard players add %tablist name of attacker% uhc 1"
- set {_TeamNumber} to {Teams.InTeam::%victim%}
- delete {Teams.InTeam::%victim%}
- remove victim from {Team.%{_TeamNumber}%::*}
- command "/scoreboard teams leave %victim%"
- command "/wl remove %victim%"
- command "/xp -9999999999999l %victim%"
- set {ratetime::%victim%} to true
- send "{@servername} &fYou have 90 seconds to say goodbye! /rate <1-10> [<reason>] to rate the game!" to victim
- wait 90 seconds
- kick victim due to "&4&lGood Game! Thanks for playing!"
- delete {rated::%victim%}
- delete {ratetime::%victim%}
- command /rate [<int>] [<text>]:
- trigger:
- if arg-1 is not set:
- if {timer::running} is not set:
- send "This is a unknown command"
- stop
- else:
- send "&f/rate <1-10> [<reason>]"
- if {timer::running} is not set:
- send "This is a unknown command"
- stop
- if arg-1 is more than 10:
- send "&cYou cannot rate more than &410"
- stop
- else if arg-1 is less than 0:
- send "&cYou cannot rate less than &40"
- stop
- else if arg-1 is not set:
- send "&cYou must specify a rate!"
- stop
- if {rated::%command sender%} is true:
- send "&fYou &calready&f have &crated!"
- stop
- if {ratetime::%command sender%} is not set:
- send "&fYou haven't &cdied!"
- stop
- set {rated::%command sender%} to true
- loop all ops:
- send "&c%command sender%&f rated the game &c%arg-1%/10" to loop-player
- if arg-2 is set:
- send "&fReason:&c %arg-2%" to loop-player
- else:
- send "&fNo &cReason&f given!"
- send "&fThank you for your rating!"
- command /timers <int> <int>:
- usage: /timers <time till pvp> <time till mu after pvp>
- permission: {@perms}
- trigger:
- set {_w} to world of command sender
- command "/scoreboard objectives add uhc dummy &4&lAstro&6&lUHC"
- send "&fStarting timer!"
- set {timer::running} to true
- set {_pvptime} to arg-1
- set {_mutime} to arg-1+arg-2
- loop arg-1 times:
- {timer::running} is true
- command "/setmotd Game in Progress: &c&l%{_pvptime}%&8 minutes until &c&lPvP!"
- command "/scoreboard players set &c&lPvP uhc -%{_pvptime}%"
- command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
- remove 1 from {_pvptime}
- remove 1 from {_mutime}
- wait 1 real minute
- {timer::running} is true
- command "/scoreboard players reset &c&lPvP"
- loop 3 times:
- broadcast "{@servername} PvP is on!"
- loop all players:
- command "/playsound random.explode %loop-player% ~ ~ ~ 1 0.5 1"
- wait 2 ticks
- command "/pvp global on"
- loop ({_mutime}) times:
- {timer::running} is true
- command "/setmotd Game in Progress::&a&l %{_mutime}%&8 minutes until &a&lMeetup!"
- command "/scoreboard players set &a&lMeetup uhc -%{_mutime}%"
- remove 1 from {_mutime}
- wait 1 real minute
- if {_mutime} is 15:
- command "/vote Permaday"
- {timer::running} is true
- command "/scoreboard players reset &a&lMeetup"
- command "/setmotd Game in Progress: &a&lMeetup&r is now!"
- loop 3 times:
- broadcast "{@servername} Meetup is NOW!"
- loop all players:
- command "/playsound random.explode %loop-player% ~ ~ ~ 1 0.5 1"
- wait 2 ticks
- command /timerclear:
- permission: {@perms}
- trigger:
- delete {timer::running}
- send "&fTimer should be stopped within the next minute!"
- command "/playsound random.break %command sender% ~ ~ ~ 1 0.5 1"
- command "/scoreboard objectives remove uhc"
Advertisement
Add Comment
Please, Sign In to add comment