Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Ilom's MU Sims Skript - Works best with Ghowden's UHC plugin and a spectator skript.
- options:
- prefix: &7[&8MU Sims&7]&c
- command /meetupsims [<text>]:
- permission: skript.op
- aliases: /musims, /musim,
- trigger:
- if arg-1 is not set:
- message "{@prefix} &cYou need to put in a kit for MU Sims! Valid kits are: Iron, IronUHC, UHC, Normal..."
- command "/playsound mob.cat.meow %player% ~ ~ ~ 1 1 1"
- if arg-1 is "iron":
- loop all players:
- command "/spawn %loop-player%"
- command "/minecraft:gamemode 0 @a"
- command "/ci *"
- command "/team reset"
- command "/kings delete"
- command "/shstop"
- command "/setmaxhealth 20 *"
- command "/heal -a"
- command "/clearxp -a"
- wait for 1 tick
- loop all players:
- command "/stuff %loop-player% iron"
- command "/mv tp pvparena %loop-player%"
- wait for 1 tick
- command "/warp %loop-player% musimsbox"
- set {musims-%loop-player%} to true
- command "/freeze %loop-player%"
- wait for 5 seconds
- set {musims-ready} to true
- message "{@prefix} &cPlayers now ready for MU Sims!"
- if arg-1 is "normal":
- loop all players:
- command "/spawn %loop-player%"
- command "/minecraft:gamemode 0 @a"
- command "/ci *"
- command "/team reset"
- command "/kings delete"
- command "/shstop"
- command "/setmaxhealth 20 *"
- command "/heal -a"
- command "/clearxp -a"
- wait for 1 tick
- set {musims-ready} to true
- loop all players:
- command "/stuff %loop-player% normal"
- command "/mv tp pvparena %loop-player%"
- set {musims-%loop-player%} to true
- wait for 1 tick
- command "/warp %loop-player% musimsbox"
- command "/freeze on"
- wait for 5 seconds
- message "{@prefix} &cPlayers now ready for MU Sims!"
- if arg-1 is "uhc":
- loop all players:
- command "/spawn %loop-player%"
- command "/minecraft:gamemode 0 @a"
- command "/ci *"
- command "/team reset"
- command "/kings delete"
- command "/shstop"
- command "/setmaxhealth 20 *"
- command "/heal -a"
- command "/clearxp -a"
- wait for 1 tick
- set {musims-ready} to true
- loop all players:
- command "/stuff %loop-player% uhc"
- command "/mv tp pvparena %loop-player%"
- set {musims-%loop-player%} to true
- wait for 1 tick
- command "/warp %loop-player% musimsbox"
- command "/freeze on"
- wait for 5 seconds
- message "{@prefix} &cPlayers now ready for MU Sims!"
- if arg-1 is "ironuhc":
- loop all players:
- command "/spawn %loop-player%"
- command "/minecraft:gamemode 0 @a"
- command "/ci *"
- command "/team reset"
- command "/kings delete"
- command "/shstop"
- command "/setmaxhealth 20 *"
- command "/heal -a"
- command "/clearxp -a"
- wait for 1 tick
- set {musims-ready} to true
- loop all players:
- command "/stuff %loop-player% ironuhc"
- command "/mv tp pvparena %loop-player%"
- set {musims-%loop-player%} to true
- wait for 1 tick
- command "/warp %loop-player% musimsbox"
- command "/uhc enable fancyfreeze"
- wait for 5 seconds
- message "{@prefix} &cPlayers now ready for MU Sims!"
- if arg-1 is "help":
- message "{@prefix} &cYou need to put in a kit for MU Sims! Valid kits are: Iron, IronUHC, UHC, Normal..."
- wait for 1 tick
- message "{@prefix} &cMU Sims commands are /musims [kit], /simscatter [team/solo], /startsims and /endsims."
- command "/playsound mob.cat.meow %player% ~ ~ ~ 1 1 1"
- command /musimscatter [<text>]:
- permission: skript.op
- aliases: /simscatter
- trigger:
- if arg-1 is not set:
- command "/sct -r 199 -c 0:0 -w pvparena -m 75 -t"
- broadcast "{@prefix} &cPlayers scattered for Team MU Sims!"
- wait for 1 tick
- command "/uhc enable fancyfreeze"
- command "/heal -a -s"
- if arg-1 is "teams" or "team" or "-t":
- command "/sct -r 199 -c 0:0 -w pvparena -m 75 -t"
- broadcast "{@prefix} &cPlayers scattered for Team MU Sims!"
- wait for 1 tick
- command "/uhc enable fancyfreeze"
- command "/heal -a -s"
- if arg-1 is "ffa" or "solo":
- command "/sct -r 199 -c 0:0 -w pvparena -m 75"
- broadcast "{@prefix} &cPlayers scattered for FFA MU Sims!"
- wait for 1 tick
- command "/uhc enable fancyfreeze"
- command "/heal -a -s"
- command /startsims:
- permission: skript.op
- trigger:
- if {musims-running} is false:
- broadcast "{@prefix} &cStarting MU Sims, unfreezing all players..."
- command "/bc GO!"
- command "/day"
- command "/butcher"
- command "/heal -a -s"
- command "/uhc disable fancyfreeze"
- command "/specinfo reset"
- command "/selectarmor clearall"
- wait for 5 seconds
- set {musims-running} to true
- command "/heal -a"
- command "/setmoles"
- loop all players:
- set {musims-%loop-player%} to true
- command "/gm 0 %loop-player%"
- command "/playsound random.anvil_land %loop-player% ~ ~ ~ 1 1 1"
- broadcast "{@prefix} &cYou may now begin."
- command "/minecraft:worldborder set 402"
- wait for 10 seconds
- command "/heal -a"
- broadcast "{@prefix} &cFinal heal given."
- loop all players:
- command "/playsound note.pling %loop-player% ~ ~ ~ 1 1 1"
- else:
- message "{@prefix} &cYou must end the previous MU Sims using /endsims before starting again."
- command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- command /endsims:
- permission: skript.op
- trigger:
- broadcast "{@prefix} &cEnding MU Sims - Teleporting all players to spawn."
- wait for 1 tick
- command "/specinfo reset"
- set {musims-running} to false
- set {musims-ready} to false
- loop all players:
- clear inventory of the loop-player
- set {musims-%loop-player%} to false
- command "/spawn %loop-player%"
- command "/unspec %loop-player%"
- command "/playsound mob.enderdragon.growl %loop-player% ~ ~ ~ 1 1 1"
- on command "/arena" or "/a" or "/p":
- if {musims-running} or {musims-ready} is true:
- cancel the event
- if {musims-%player%} is false:
- message "{@prefix} &cYou cannot join arena whilst MU Sims is running."
- command "/playsound random.break %player% ~ ~ ~ 1 1 1"
- if {musims-%player%} is true:
- command "/spec %player%"
- on death of player:
- if {musims-running} is true:
- loop all players:
- command "/playsound mob.blaze.death %loop-player% ~ ~ ~ 0.4 1 1"
- set {musims-%player%} to false
- wait for 5 seconds
- if {musims-running} is true:
- command "/spec %victim%"
- on join:
- if {musims-running} is true:
- if {musims-%player%} is true:
- stop
- else:
- set {musims-%player%} to false
- wait for 5 seconds
- command "/spec %player%"
- # Kits
- command /stuff <player> [<text>]:
- executable by: players, console
- trigger:
- if arg-2 is not set:
- command "/xp %random integer between 100 and 120% %arg-1%"
- clear inventory of arg-1
- wait for 1 tick
- equip arg-1 with iron chestplate of protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of projectile protection 2
- equip arg-1 with iron helmet of projectile protection 2
- give arg-1 a iron sword of sharpness 1
- give arg-1 a bow of power 1
- give arg-1 a diamond pickaxe of efficiency 1
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 2 golden apples
- give arg-1 1 ender pearl
- give arg-1 64 cobblestone
- give arg-1 64 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 10 dirt
- give arg-1 64 arrows
- give arg-1 1 flint and steel
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 3 books
- give arg-1 3 enchantment tables
- give arg-1 3 anvils
- give arg-1 1 gold ingot
- give arg-1 1 diamond
- give arg-1 64 dye:4
- chance of 50%:
- give arg-1 1 diamond
- chance of 8%:
- give arg-1 1 iron sword of fire aspect 1
- chance of 5%:
- give arg-1 1 bow of flame 1
- chance of 5%:
- give arg-1 1 bow of infinity 1
- chance of 10%:
- give arg-1 1 music disc
- give arg-1 1 jukebox
- chance of 20%:
- give arg-1 2 diamonds
- chance of 10%:
- give arg-1 5 diamonds
- chance of 5%:
- give arg-1 12 diamonds
- chance of 3%:
- give arg-1 1 bow of power 4
- chance of 5%:
- give arg-1 1 bow of power 3
- chance of 3%:
- give arg-1 1 iron sword of sharpness 4
- chance of 30%:
- give arg-1 1 diamond chestplate of protection 1
- chance of 10%:
- give arg-1 1 bow of power 2
- chance of 15%:
- give arg-1 1 bow of power 1
- chance of 5%:
- give arg-1 1 bow of punch 1
- chance of 2.5%:
- give arg-1 1 bow of punch 2
- chance of 10%:
- give arg-1 1 iron sword of sharpness 2
- chance of 5%:
- give arg-1 1 iron sword of sharpness 3
- chance of 7.5%:
- give arg-1 1 iron sword of knockback 1
- chance of 5%:
- give arg-1 1 iron sword of knockback 2
- chance of 5%:
- give arg-1 3 golden apples
- chance of 2.5%:
- give arg-1 5 golden apples
- chance of 20%:
- give arg-1 1 golden apple
- chance of 30%:
- give arg-1 4 gold ingots
- chance of 10%:
- give arg-1 1 ender pearl
- chance of 35%:
- give arg-1 1 diamond helmet of protection 1
- chance of 35%:
- give arg-1 1 diamond boots of protection 1
- chance of 35%:
- give arg-1 1 diamond leggings of protection 1
- chance of 5%:
- give arg-1 1 saddle
- give arg-1 1 horse spawn egg
- chance of 20%:
- give arg-1 1 diamond horse armor
- else:
- chance of 20%:
- give arg-1 1 gold horse armor
- else:
- chance of 20%:
- give arg-1 1 iron horse armor
- else:
- give arg-1 2 wheat
- chance of 7.5%:
- clear inventory of arg-1
- equip arg-1 with all iron armor
- give arg-1 a iron sword
- give arg-1 a bow
- give arg-1 a iron pickaxe
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 1 golden apple
- give arg-1 32 cobblestone
- give arg-1 30 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 64 arrows
- give arg-1 1 flint and steel
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 64 dye:4
- give arg-1 3 potions of speed 1
- give arg-1 3 potions of strength 1
- give arg-1 1 brewing stand
- give arg-1 20 nether wart
- give arg-1 20 redstone
- give arg-1 20 glowstone dust
- give arg-1 18 glass bottles
- give arg-1 6 melon slices
- give arg-1 2 blaze powder
- give arg-1 2 sugar
- if arg-2 is "iron":
- clear inventory of arg-1
- command "/xp %random integer between 100 and 120% %arg-1%"
- wait for 1 tick
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- equip arg-1 with iron helmet
- give arg-1 a iron sword
- give arg-1 a bow
- give arg-1 a iron pickaxe
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 2 golden apples
- give arg-1 1 ender pearl
- give arg-1 64 arrows
- give arg-1 64 cobblestone
- give arg-1 64 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 1 flint and steel
- give arg-1 3 anvils
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 1 gold ingot
- give arg-1 64 dye:4
- chance of 5%:
- give arg-1 1 iron sword of fire aspect 1
- chance of 2.5%:
- give arg-1 1 iron sword of fire aspect 2
- chance of 2.5%:
- give arg-1 1 bow of flame 1
- chance of 5%:
- give arg-1 1 bow of infinity 1
- chance of 2.5%:
- give arg-1 1 bow of power 3
- chance of 5%:
- give arg-1 1 bow of power 2
- chance of 7.5%:
- give arg-1 1 bow of power 1
- chance of 5%:
- give arg-1 1 bow of punch 1
- chance of 2.5%:
- give arg-1 1 bow of punch 2
- chance of 7.5%:
- give arg-1 1 iron sword of sharpness 2
- chance of 5%:
- give arg-1 1 iron sword of sharpness 3
- chance of 5%:
- give arg-1 1 iron sword of knockback 2
- chance of 10%:
- give arg-1 2 golden apples
- chance of 5%:
- give arg-1 3 golden apples
- chance of 2.5%:
- give arg-1 5 golden apples
- chance of 1%:
- give arg-1 7 golden apples
- chance of 15%:
- give arg-1 1 golden apple
- chance of 20%:
- give arg-1 4 gold ingots
- chance of 5%:
- give arg-1 1 ender pearl
- chance of 2.5%:
- give arg-1 1 saddle
- give arg-1 1 horse spawn egg
- chance of 20%:
- give arg-1 1 diamond horse armor
- else:
- chance of 20%:
- give arg-1 1 gold horse armor
- else:
- chance of 20%:
- give arg-1 1 iron horse armor
- else:
- give arg-1 2 wheat
- if arg-2 is "normal":
- command "/xp %random integer between 100 and 120% %arg-1%"
- clear inventory of arg-1
- wait for 1 tick
- equip arg-1 with iron chestplate of protection 1
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of projectile protection 2
- equip arg-1 with iron helmet of projectile protection 2
- give arg-1 a iron sword of sharpness 1
- give arg-1 a bow of power 1
- give arg-1 a diamond pickaxe of efficiency 1
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 2 golden apples
- give arg-1 1 ender pearl
- give arg-1 64 cobblestone
- give arg-1 64 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 10 dirt
- give arg-1 64 arrows
- give arg-1 1 flint and steel
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 3 books
- give arg-1 3 enchantment tables
- give arg-1 3 anvils
- give arg-1 1 gold ingot
- give arg-1 1 diamond
- give arg-1 64 dye:4
- chance of 50%:
- give arg-1 1 diamond
- chance of 8%:
- give arg-1 1 iron sword of fire aspect 1
- chance of 5%:
- give arg-1 1 bow of flame 1
- chance of 5%:
- give arg-1 1 bow of infinity 1
- chance of 10%:
- give arg-1 1 music disc
- give arg-1 1 jukebox
- chance of 20%:
- give arg-1 2 diamonds
- chance of 10%:
- give arg-1 5 diamonds
- chance of 5%:
- give arg-1 12 diamonds
- chance of 3%:
- give arg-1 1 bow of power 4
- chance of 5%:
- give arg-1 1 bow of power 3
- chance of 3%:
- give arg-1 1 iron sword of sharpness 4
- chance of 30%:
- give arg-1 1 diamond chestplate of protection 1
- chance of 10%:
- give arg-1 1 bow of power 2
- chance of 15%:
- give arg-1 1 bow of power 1
- chance of 5%:
- give arg-1 1 bow of punch 1
- chance of 2.5%:
- give arg-1 1 bow of punch 2
- chance of 10%:
- give arg-1 1 iron sword of sharpness 2
- chance of 5%:
- give arg-1 1 iron sword of sharpness 3
- chance of 7.5%:
- give arg-1 1 iron sword of knockback 1
- chance of 5%:
- give arg-1 1 iron sword of knockback 2
- chance of 5%:
- give arg-1 3 golden apples
- chance of 2.5%:
- give arg-1 5 golden apples
- chance of 20%:
- give arg-1 1 golden apple
- chance of 30%:
- give arg-1 4 gold ingots
- chance of 10%:
- give arg-1 1 ender pearl
- chance of 35%:
- give arg-1 1 diamond helmet of projectile protection 1
- chance of 35%:
- give arg-1 1 diamond boots of projectile protection 1
- chance of 35%:
- give arg-1 1 diamond leggings of protection 1
- chance of 5%:
- give arg-1 1 saddle
- give arg-1 1 horse spawn egg
- chance of 20%:
- give arg-1 1 diamond horse armor
- else:
- chance of 20%:
- give arg-1 1 gold horse armor
- else:
- chance of 20%:
- give arg-1 1 iron horse armor
- else:
- give arg-1 2 wheat
- chance of 7.5%:
- clear inventory of arg-1
- equip arg-1 with all iron armor
- give arg-1 a iron sword
- give arg-1 a bow
- give arg-1 a iron pickaxe
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 1 golden apple
- give arg-1 32 cobblestone
- give arg-1 30 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 64 arrows
- give arg-1 1 flint and steel
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 64 dye:4
- give arg-1 3 potions of speed 1
- give arg-1 3 potions of strength 1
- give arg-1 1 brewing stand
- give arg-1 20 nether wart
- give arg-1 20 redstone
- give arg-1 20 glowstone dust
- give arg-1 18 glass bottles
- give arg-1 6 melon slices
- give arg-1 2 blaze powder
- give arg-1 2 sugar
- if arg-2 is "uhc":
- command "/xp %random integer between 100 and 120% %arg-1%"
- clear inventory of arg-1
- wait for 1 tick
- equip arg-1 with iron chestplate of protection 2
- equip arg-1 with iron leggings of protection 1
- equip arg-1 with iron boots of projectile protection 2
- equip arg-1 with iron helmet of projectile protection 2
- give arg-1 a iron sword of sharpness 2
- give arg-1 a bow of power 1
- give arg-1 a diamond pickaxe of efficiency 1
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 3 golden apples
- give arg-1 1 ender pearl
- give arg-1 64 cobblestone
- give arg-1 64 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 96 arrows
- give arg-1 1 flint and steel
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 3 books
- give arg-1 3 enchantment tables
- give arg-1 3 anvils
- give arg-1 1 gold ingot
- give arg-1 1 diamond
- give arg-1 64 dye:4
- if arg-2 is "ironuhc":
- clear inventory of arg-1
- command "/xp %random integer between 100 and 120% %arg-1%"
- wait for 1 tick
- equip arg-1 with iron chestplate
- equip arg-1 with iron leggings
- equip arg-1 with iron boots
- equip arg-1 with iron helmet
- give arg-1 a iron sword
- give arg-1 a bow
- give arg-1 a iron pickaxe
- give arg-1 a iron shovel
- give arg-1 64 cobblestone
- give arg-1 a water bucket
- give arg-1 a lava bucket
- give arg-1 3 golden apples
- give arg-1 1 ender pearl
- give arg-1 96 arrows
- give arg-1 64 cobblestone
- give arg-1 64 crafting table
- give arg-1 64 17
- give arg-1 4 apples
- give arg-1 1 flint and steel
- give arg-1 3 anvils
- give arg-1 1 iron axe
- give arg-1 32 iron ingots
- give arg-1 1 gold ingot
- give arg-1 64 dye:4
Advertisement
Add Comment
Please, Sign In to add comment