diff --git a/mirricraft-clearinventory.sk b/mirricraft-clearinventory.sk index 8068266..9f8d8cb 100644 --- a/mirricraft-clearinventory.sk +++ b/mirricraft-clearinventory.sk @@ -2,7 +2,7 @@ command /clearinventory: description: Clear Inventory aliases: /clearinv - executable by: players + executable by: console and players trigger: if player has the permission "mirricraft.clearinventory": remove all items from player diff --git a/mirricraft-fly.sk b/mirricraft-fly.sk index 5110ffa..76c8810 100644 --- a/mirricraft-fly.sk +++ b/mirricraft-fly.sk @@ -1,7 +1,7 @@ # --- Fly --- command /fly []: description: Fly - executable by: players + executable by: console and players trigger: if player has the permission "mirricraft.fly": if {fly.%player%} is not set: diff --git a/mirricraft-kitpvp.sk b/mirricraft-kitpvp.sk index 7bbf1ed..3e409e4 100644 --- a/mirricraft-kitpvp.sk +++ b/mirricraft-kitpvp.sk @@ -72,7 +72,8 @@ command /kitpvp [] []: loop integers between 0 and 35: format slot loop-integer of player with gray stained glass pane named "&7" to be unstealable - format slot 11 of player with iron helmet named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"] + format slot 11 of player with iron sword named "&fSotilas" to close then run [execute player command "/kitpvp setkit soldier"] + format slot 13 of player with gold boots named "&fVauhtihirmu" to close then run [execute player command "/kitpvp setkit speedster"] #format slot 13 of player with netherrack named "&fHorna" to close then run [execute player command "/kitpvp setmap nether"] #format slot 15 of player with hay bale named "&fFarmi" to close then run [execute player command "/kitpvp setmap farm"] stop @@ -94,6 +95,13 @@ command /kitpvp [] []: set player's leggings to iron leggings set player's boots to iron boots set slot 1 of player's inventory to 1 of iron sword + if {kitpvp.%player%.kit} is "speedster": + set player's helmet to gold helmet + set player's chestplate to gold chestplate + set player's leggings to gold leggings + set player's boots to gold boots + set the player's walk speed to 0.4 + set slot 1 of player's inventory to 1 of gold sword else: make player execute command "/kitpvp" @@ -109,7 +117,6 @@ command /kitpvp [] []: if {kitpvp.%player%.started} is not set: heal the player - feed the player set {kitpvp.%player%.started} to true stop else if arg-1 is "end": @@ -128,12 +135,13 @@ on join: if player's world is "minigames": teleport player to world "%player's world%" remove all items from player - set slot 0 of player's inventory to 1 of chest named "&fKitPVP" + set the player's walk speed to 0.2 + set slot 7 of player's inventory to 1 of chest named "&fKitPVP" stop on respawn: if player's world is "minigames": - set slot 0 of player's inventory to 1 of chest named "&fKitPVP" + set slot 7 of player's inventory to 1 of chest named "&fKitPVP" stop on quit: @@ -180,6 +188,7 @@ on region exit: wait 1 tick if "%event-region%" contains "minigames_kitpvp_": remove all items from player + set the player's walk speed to 0.2 clear {kitpvp.%player%.started} on hunger meter change: