Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Lavet af MarloDK og ItsSimonDK
- #Her kan du skifte hvilken server's navn skal stå i menuerne
- options:
- servernavn: &8[&aPay&bPvP&8]
- kanop: &4OBS: &cDette kit kan opgraderes i shoppen!
- klikfor: &aKlik her for at tage kit
- variables:
- {autokit.%player%.on} = false
- {autokit.%player%.pvp} = false
- {autokit.%player%.pyro} = false
- {autokit.%player%.tank} = false
- {autokit.%player%.ninja} = false
- {kit.toggle.active} = false
- #Dette er hjælp til shoppen
- #Rediger teksten i mellem anførselstegnene ("") for at redigere hvad der står når du skriver kommandoen
- #
- command /kitshop [<text>]:
- trigger:
- if arg 1 is "help":
- send "&8&l----------+&c Kit Shop Hjælp &8&l+----------" to player
- send "&aHvordan køber jeg et kit?" to player
- send "&bKlik på det kit du gerne vil købe og så klarer serveren resten for dig!" to player
- send "" to player
- send "&aHvordan tjekker du hvor mange penge du har?" to player
- send "&bDu kan tjekke hvor mange penge du har ved at skrive /bal" to player
- send " " to player
- send "&aHvordan optjener jeg penge?" to player
- send "&bDu optjener penge ved at dræbe andre i arenaen!" to player
- send "&8&l&m----------+&c Kit Shop Hjælp &8&l&m+----------" to player
- #Indstillinger til spillere
- command /kitguiindstiller [<offlineplayer>]:
- trigger:
- wait 3 ticks
- open chest with 1 rows named "&7&lIndstillinger" to player
- format slot 4 of player with 166 named "&4Tilbage" to close then run [make player execute command "/kitguiindstiller %player%"]
- format slot 1 of player with Diamond Chestplate named "&bAuto-Kit" to close then run [make player execute command "/autokitmenu %player%"]
- on right click on a entity:
- if name of entity is "&4&lAUTO-KIT":
- wait 3 ticks
- open chest with 1 rows named "&b&lAuto-Kit" to player
- wait 3 ticks
- format slot 4 of player with 166 named "&4Tilbage" to close then run [make player execute command "/kitguiindstiller %player%"]
- if {autokit.%player%.on} is false:
- format slot 1 of player with Diamond chestplate named "&bAuto-Kit" with lore "&aKlik her for at slå Auto-Kit til!" to close then run [make player execute command "/autokitvalg %player%"]
- else:
- if {autokit.%player%.on} is true:
- format slot 1 of player with Diamond chestplate of protection 1 named "&bAuto-Kit" with lore "&4Klik her for at slå Auto-Kit fra!" to close then run [make player execute command "/autokitoff %player%"]
- command /autokitmenu [<offlineplayer>]:
- trigger:
- wait 3 ticks
- open chest with 1 rows named "&b&lAuto-Kit" to player
- wait 3 ticks
- format slot 4 of player with 166 named "&4Tilbage" to close then run [make player execute command "/kitguiindstiller %player%"]
- if {autokit.%player%.on} is true:
- format slot 1 of player with Diamond chestplate named "&bAuto-Kit" with lore "&aKlik her for at slå Auto-Kit til!" to close then run [make player execute command "/autokitvalg %player%"]
- else:
- if {autokit.%player%.on} is false:
- format slot 1 of player with Diamond chestplate of protection 1 named "&bAuto-Kit" with lore "&4Klik her for at slå Auto-Kit fra!" to close then run [make player execute command "/autokitoff %player%"]
- command /autokitvalg [<offlineplayer>]:
- trigger:
- wait 3 ticks
- open chest with 1 rows named "&aVælg dit auto-kit kit her!" to player
- wait 3 ticks
- format slot 0 of player with Diamond sword named "&bPvp" with lore "&aKlik her hvis du vil vælge kit &bPvp ||&asom det kit du vil auto-kittes med!" to close then run [make player execute command "/autokittogglepvp"]
- if player has permission "kits.pyro":
- format slot 1 of player with Iron Sword named "&9Pyro" with lore "&aKlik her hvis du vil vælge kit &9Pyro ||&asom det kit du vil auto-kittes med!" to close then run [make player execute command "/autokittogglepyro"]
- if player has permission "kits.tank":
- format slot 2 of player with Diamond chestplate named "&eTank" with lore "&aKlik her hvis du vil vælge kit &eTank ||&asom det kit du vil auto-kittes med!" to close then run [make player execute command "/autokittoggletank"]
- if player has permission "kits.ninja":
- format slot 3 of player with nether star named "&fNinja" with lore "&aKlik her hvis du vil vælge kit &fNinja ||&asom det kit du vil auto-kittes med!" to close then run [make player execute command "/autokittoggleninja"]
- command /autokitoff [<offlineplayer>]:
- trigger:
- if {autokit.%player%.on} is true:
- set {autokit.%player%.on} to false
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- set slot 2 of player's inventory to light green dye named "&c&lSTATS"
- make console execute command "/effect %player% clear"
- if {autokit.%player%.pvp} is true:
- set {autokit.%player%.pvp} to false
- send "&cAuto-kit slået fra!" to player
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- set slot 2 of player's inventory to light green dye named "&c&lSTATS"
- make console execute command "/effect %player% clear"
- stop
- else:
- if {autokit.%player%.pyro} is true:
- set {autokit.%player%.pyro} to false
- send "&cAuto-kit slået fra!" to player
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- set slot 2 of player's inventory to light green dye named "&c&lSTATS"
- make console execute command "/effect %player% clear"
- stop
- else:
- if {autokit.%player%.tank} is true:
- set {autokit.%player%.tank} to false
- send "&cAuto-kit slået fra!" to player
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- set slot 2 of player's inventory to light green dye named "&c&lSTATS"
- make console execute command "/effect %player% clear"
- stop
- else:
- if {autokit.%player%.ninja} is true:
- set {autokit.%player%.ninja} to false
- send "&cAuto-kit slået fra!" to player
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- set slot 2 of player's inventory to light green dye named "&c&lSTATS"
- make console execute command "/effect %player% clear"
- stop
- command /autokittogglepvp:
- trigger:
- set {autokit.%player%.on} to true
- set {autokit.%player%.pvp} to true
- send "&aAuto-kit slået til med kit &bPvp&a! &c(Slå auto-kit fra med &d/autokitoff&c)" to player
- if player has permission "kits.pvp.op3":
- wait 3 ticks
- make player execute command "/kpvpop3"
- stop
- else:
- if player has permission "kits.pvp.op2":
- wait 3 ticks
- make player execute command "/kpvpop2"
- stop
- else:
- if player has permission "kits.pvp.op1":
- wait 3 ticks
- make player execute command "/kpvpop1"
- stop
- else:
- if player has permission "kits.pvp":
- wait 3 ticks
- make player execute command "/kpvp"
- stop
- command /autokittogglepyro:
- trigger:
- set {autokit.%player%.on} to true
- set {autokit.%player%.pyro} to true
- send "&aAuto-kit slået til med kit &9Pyro&a! &c(Slå auto-kit fra med &d/autokitoff&c)" to player
- if player has permission "kits.pyro.op2":
- make player execute command "/kpyroop2"
- wait 3 ticks
- stop
- else:
- if player has permission "kits.pyro.op1":
- wait 3 ticks
- make player execute command "/kpyroop1"
- stop
- else:
- if player has permission "kits.pyro":
- wait 3 ticks
- make player execute command "/kpyro"
- stop
- command /autokittoggletank:
- trigger:
- set {autokit.%player%.on} to true
- set {autokit.%player%.tank} to true
- send "&aAuto-kit slået til med kit &eTank&a!" to player
- if player has permission "kits.tank.op2":
- make player execute command "/ktankop2"
- wait 3 ticks
- stop
- else:
- if player has permission "kits.tank.op1":
- make player execute command "/ktankop1"
- wait 3 ticks
- stop
- else:
- if player has permission "kits.tank":
- wait 3 ticks
- make player execute command "/ktank"
- stop
- command /autokittoggleninja:
- trigger:
- set {autokit.%player%.on} to true
- set {autokit.%player%.ninja} to true
- send "&aAuto-kit slået til med kit &fNinja&a!" to player
- if player has permission "kits.ninja.op2":
- wait 3 ticks
- make player execute command "/kninjaop2"
- stop
- else:
- if player has permission "kits.pyro.op1":
- wait 3 ticks
- make player execute command "/kninjaop1"
- stop
- else:
- if player has permission "kits.ninja":
- wait 3 ticks
- make player execute command "/kninja"
- stop
- #Giver spillere menuerne tilbage efter de er respawnet
- on respawn:
- wait 3 ticks
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- if {autokit.%player%.pvp} is true:
- clear player's inventory
- if player has permission "kits.pvp.op3":
- set slot 0 of player's inventory to Diamond Sword of sharpness 2
- set slot 1 of player's inventory to Bow of infinity 1 and power 2
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Diamond Boots
- stop
- else:
- if player has permission "kits.pvp.op2":
- set slot 0 of player's inventory to Diamond Sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1 and power 1
- set slot 9 of player's inventory to Arrow
- give player 8 golden apple
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- stop
- else:
- if player has permission "kits.pvp.op1":
- set slot 0 of player's inventory to Diamond Sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- stop
- else:
- if player has permission "kits.pvp":
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- stop
- wait 3 ticks
- if {autokit.%player%.pyro} is true:
- clear player's inventory
- if player has permission "kits.pyro.op2":
- set slot 0 of player's inventory to Iron Sword of Fire Aspect 2
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Leather Boots of Fire Protection 5
- stop
- else:
- if player has permission "kits.pyro.op1":
- set slot 0 of player's inventory to Iron Sword of Fire aspect 2
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Iron Boots of Fire Protection 5
- stop
- else:
- if player has permission "kits.pyro":
- set slot 0 of player's inventory to Iron Sword of Fire aspect 2 and Sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Iron Boots of Fire Protection 5
- stop
- wait 3 ticks
- if {autokit.%player%.tank} is true:
- clear player's inventory
- if player has permission "kits.tank.op2":
- set slot 0 of player's inventory to Diamond sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 1 to player for 999999 seconds
- stop
- else:
- if player has permission "kits.tank.op1":
- set slot 0 of player's inventory to Diamond sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 2 to player for 999999 seconds
- stop
- else:
- if player has permission "kits.tank":
- set slot 0 of player's inventory to Diamond sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 2 to player for 999999 seconds
- stop
- wait 3 ticks
- if {autokit.%player%.ninja} is true:
- clear player's inventory
- if player has permission "kits.ninja.op2":
- set slot 0 of player's inventory to Diamond sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with leather helmet
- equip player with chain chestplate
- equip player with Iron leggings
- equip player with leather boots
- apply potion of speed 2 to player for 999999 seconds
- stop
- else:
- if player has permission "kits.ninja.op1":
- set slot 0 of player's inventory to Diamond sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with leather helmet
- equip player with chain chestplate
- equip player with Iron leggings
- equip player with leather boots
- apply potion of speed 2 to player for 999999 seconds
- stop
- else:
- if player has permission "kits.ninja":
- set slot 0 of player's inventory to Diamond sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to arrow
- equip player with leather helmet
- equip player with chain chestplate
- equip player with leather leggings
- equip player with leather boots
- apply potion of speed 2 to player for 999999 seconds
- stop
- wait 3 ticks
- if {autokit.%player%.pvp} is false:
- if {autokit.%player%.pyro} is false:
- if {autokit.%player%.tank} is false:
- if {autokit.%player%.ninja} is false:
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- #Giver spillere menuerne tilbage efter de er joinet
- on join:
- wait 3 ticks
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- if {autokit.%player%.on} is not set:
- set {autokit.%player%.on} to false
- if {autokit.%player%.pvp} is not set:
- set {autokit.%player%.pvp} to false
- if {autokit.%player%.pyro} is not set:
- set {autokit.%player%.pyro} to false
- if {autokit.%player%.tank} is not set:
- set {autokit.%player%.tank} to false
- if {autokit.%player%.ninja} is not set:
- set {autokit.%player%.ninja} to false
- if {autokit.%player%.on} is true:
- set {autokit.%player%.on} to false
- if {autokit.%player%.pvp} is true:
- set {autokit.%player%.pvp} to false
- if {autokit.%player%.pyro} is true:
- set {autokit.%player%.pyro} to false
- if {autokit.%player%.tank} is true:
- set {autokit.%player%.tank} to false
- if {autokit.%player%.ninja} is true:
- set {autokit.%player%.ninja} to false
- #Giver spillere menuerne tilbage når de joiner for første gang
- on first join:
- wait 3 ticks
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- if {autokit.%player%.on} is not set:
- set {autokit.%player%.on} to false
- if {autokit.%player%.pvp} is not set:
- set {autokit.%player%.pvp} to false
- if {autokit.%player%.pyro} is not set:
- set {autokit.%player%.pyro} to false
- if {autokit.%player%.tank} is not set:
- set {autokit.%player%.tank} to false
- if {autokit.%player%.ninja} is not set:
- set {autokit.%player%.ninja} to false
- if {autokit.%player%.on} is true:
- set {autokit.%player%.on} to false
- if {autokit.%player%.pvp} is true:
- set {autokit.%player%.pvp} to false
- if {autokit.%player%.pyro} is true:
- set {autokit.%player%.pyro} to false
- if {autokit.%player%.tank} is true:
- set {autokit.%player%.tank} to false
- if {autokit.%player%.ninja} is true:
- set {autokit.%player%.ninja} to false
- #Fjerner alt i en spillers inventory og giver spilleren kit menuen og kit shoppen
- command /nsa [<offlineplayer>]:
- permission: skript.kitpvp.nsa
- trigger:
- wait 3 ticks
- clear player's inventory
- set slot 0 of player's inventory to chest named "&a&lKITS"
- set slot 1 of player's inventory to anvil named "&6&lKIT SHOPPEN"
- stop
- #Dette er main menuen - her kan du skifte hvad der er i shoppen hvis du ved hvad du laver
- #For at skifte navnet på et kit skal du bar redigere teksten efter "named" imellem anførselstegnene
- on rightclick:
- if player's tool is chest named "&a&lKITS":
- wait 3 ticks
- open chest with 5 rows named "&d{@servernavn}-&aKits" to player
- wait 3 ticks
- if player has permission "kits.pvp.op3":
- format slot 0 of player with Diamond Sword of sharpness 1 named "&bPvp (3/3)" with lore "{@klikfor} &bPvp&a!" to close then run [make player execute command "/kpvpop3 %player%"]
- else:
- if player has permission "kits.pvp.op2":
- format slot 0 of player with Diamond Sword named "&bPvp (2/3)" with lore "{@klikfor} &bPvp&a! || {@kanop}" to close then run [make player execute command "/kpvpop2 %player%"]
- else:
- if player has permission "kits.pvp.op1":
- format slot 0 of player with Diamond Sword named "&bPvp (1/3)" with lore "{@klikfor} &bPvp&a! ||{@kanop}" to close then run [make player execute command "/kpvpop1 %player%"]
- else:
- if player has permission "kits.pvp":
- format slot 0 of player with Diamond Sword named "&bPvp (0/3)" with lore "{@klikfor} &bPvp&a! ||{@kanop}" to close then run [make player execute command "/kpvp %player%"]
- if player has permission "kits.pyro.op2":
- format slot 1 of player with Iron Sword of Fire aspect 2 and Sharpness 1 named "&9Pyro (2/2)" with lore "{@klikfor} &9Pyro&a!" to close then run [make player execute command "/kpyroop2 %player%"]
- else:
- if player has permission "kits.pyro.op1":
- format slot 1 of player with Iron Sword of Fire aspect 2 named "&9Pyro (1/2)" with lore "{@klikfor} &9Pyro&a! ||{@kanop}" to close then run [make player execute command "/kpyroop1 %player%"]
- else:
- if player has permission "kits.pyro":
- format slot 1 of player with Iron Sword of fire aspect 2 named "&9Pyro" with lore "{@klikfor} &9Pyro&a! ||{@kanop}" to close then run [make player execute command "/kpyro %player%"]
- else:
- format slot 1 of player with red glass named "&4Kit &9Pyro &4kan købes i shoppen!" to be unstealable
- if player has permission "kits.tank.op2":
- format slot 2 of player with Diamond Chestplate named "&eTank (2/2)" with lore "{@klikfor} &eTank&a!" to close then run [make player execute command "/ktankop2 %player%"]
- else:
- if player has permission "kits.tank.op1":
- format slot 2 of player with Diamond Chestplate named "&eTank (1/2)" with lore "{@klikfor} &eTank&a! ||{@kanop}" to close then run [make player execute command "/ktankop1 %player%"]
- else:
- if player has permission "kits.tank":
- format slot 2 of player with Diamond Chestplate named "&eTank (0/2)" with lore "{@klikfor} &eTank&a! ||{@kanop}" to close then run [make player execute command "/ktank %player%"]
- else:
- if player doesn't have permission "kits.tank":
- format slot 2 of player with red glass named "&4Kit &eTank &4kan købes i shoppen!" to be unstealable
- if player has permission "kits.ninja.op2":
- format slot 3 of player with nether star named "&fNinja (2/2)" with lore "{@klikfor} &fNinja&a!" to close then run [make player execute command "/kninjaop2 %player%"]
- else:
- if player has permission "kits.ninja.op1":
- format slot 3 of player with nether star named "&fNinja (1/2)" with lore "{@klikfor} &fNinja&a! ||{@kanop}" to close then run [make player execute command "/kninjaop1 %player%"]
- else:
- if player has permission "kits.ninja":
- format slot 3 of player with nether star named "&fNinja (0/2)" with lore "{@klikfor} &fNinja&a! ||{@kanop}" to close then run [make player execute command "/kninja %player%"]
- else:
- if player doesn't have permission "kits.ninja":
- format slot 3 of player with red glass named "&4Kit &fNinja &4kan købes i shoppen!" to be unstealable
- if player has permission "kits.cactus":
- format slot 4 of player with Cactus named "&2Cactus" with lore "{@klikfor} &2Cactus&a!" to close then run [make player execute command "/kcactus %player%"]
- else:
- if player doesn't have permission "kits.cactus":
- format slot 4 of player with red glass named "&4Kit &2Cactus &4kan købes i shoppen!" to be unstealable
- if player has permission "kits.swapper":
- format slot 5 of player with Blaze rod named "&6Swapper" with lore "{@klikfor} &6Swapper&a!" to close then run [make player execute command "/kswapper %player%"]
- else:
- if player doesn't have permission "kits.swapper":
- format slot 5 of player with red glass named "&4Kit &6Swapper &4kan købes i shoppen!" to be unstealable
- if player has permission "kits.witch":
- format slot 6 of player with Water bottle named "{@klikfor} &5Witch&a!" to close then run [make player execute command "/kwitch %player%"]
- else:
- if player doesn't have permission "kits.witch":
- format slot 6 of player with red glass named "&4Kit &5Witch &4kan købes i shoppen!" to be unstealable
- format slot 26 of player with Emerald named "&aHjælp" with lore "&aKlik på mig hvis du ikke ||&aved hvordan det hele fungere!" to close then run [make player execute command "/kitshop help"]
- format slot 17 of player with red dye named "&7Indstillinger" with lore "&aSkift dine indstiller her!" to close then run [make player execute command "/kitguiindstiller %player%"]
- format slot 35 of player with Light green dye named "&4Stats" with lore "&cKill streak&f:&a %{kill counter.%player%.kill_streak}% ||&cI alt&f:&a %{kill counter.%player%.kills_total}% ||&cHøjeste killstreak&f:&a %{kill counter.%player%.kills_session_max}% ||&cDeaths&f:&4 %{death counter.%player%.deaths}%" to be unstealable
- #Her kan du redigere hvad spillerene får i kit Pvp
- command /kpvp [<offlineplayer>]:
- permission: kits.pvp
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kpvpop1 [<offlineplayer>]:
- permission: kits.pvp.op1
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kpvpop2 [<offlineplayer>]:
- permission: kits.pvp.op2
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1 and power 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kpvpop3 [<offlineplayer>]:
- permission: kits.pvp.op3
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword of sharpness 2
- set slot 1 of player's inventory to Bow of infinity 1 and power 2
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- #Her kan du redigere hvad spillerene får i kit Pyro
- command /kpyro [<offlineplayer>]:
- permission: kits.pyro
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword of Fire Aspect 2
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Leather Boots of Fire Protection 5
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kpyroop1 [<offlineplayer>]:
- permission: kits.pyro.op1
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword of Fire aspect 2
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Iron Boots of Fire Protection 5
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kpyroop2 [<offlineplayer>]:
- permission: kits.pyro.op2
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword of Fire aspect 2 and Sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1 and flame 1
- set slot 9 of player's inventory to Arrow
- equip player with Iron Helmet of Fire Protection 5
- equip player with Iron Chestplate of Fire Protection 5
- equip player with Iron Leggings of Fire Protection 5
- equip player with Iron Boots of Fire Protection 5
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /ktank [<offlineplayer>]:
- permission: kits.tank
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 2 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /ktankop1 [<offlineplayer>]:
- permission: kits.tank.op1
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 2 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /ktankop2 [<offlineplayer>]:
- permission: kits.tank.op2
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Diamond Helmet
- equip player with Diamond Chestplate
- equip player with Diamond Leggings
- equip player with Diamond Boots
- apply potion of slowness 1 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kninja [<offlineplayer>]:
- permission: kits.ninja
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet
- equip player with Chain Chestplate
- equip player with Leather Leggings
- equip player with Leather Boots
- apply potion of speed 2 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kninjaop1 [<offlineplayer>]:
- permission: kits.ninja.op1
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet
- equip player with Chain Chestplate
- equip player with Iron Leggings
- equip player with Leather Boots
- apply potion of speed 2 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kninjaop2 [<offlineplayer>]:
- permission: kits.ninja.op2
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword of sharpness 1
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet
- equip player with Chain Chestplate
- equip player with Iron Leggings
- equip player with Leather Boots
- apply potion of speed 2 to player for 999999 seconds
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kcactus [<offlineplayer>]:
- permission: kits.cactus
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Diamond Sword
- set slot 1 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet of thorns 2 colored green
- equip player with Iron Chestplate of thorns 2
- equip player with Iron Leggings of thorns 2
- equip player with Iron Boots of thorns 2
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kswapper [<offlineplayer>]:
- permission: kits.swapper
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword
- set slot 1 of player's inventory to Blaze rod named "&6Klik for at swappe modstanders items!"
- set slot 2 of player's inventory to Bow of infinity 1
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet colored yellow
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Iron Boots
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- command /kwitch [<offlineplayer>]:
- permission: kits.witch
- trigger:
- if player's gamemode isn't creative:
- clear player's inventory
- set slot 0 of player's inventory to Iron Sword
- set slot 1 of player's inventory to Stick named "&5Klik for at få regeneration 2 i 10 sekunder!"
- set slot 2 of player's inventory to Bow of infinity
- set slot 3 of player's inventory to 373:16388
- set slot 4 of player's inventory to 373:16388
- set slot 5 of player's inventory to 373:16424
- set slot 6 of player's inventory to 373:16424
- set slot 9 of player's inventory to Arrow
- equip player with Leather Helmet colored magenta
- equip player with Iron Chestplate
- equip player with Iron Leggings
- equip player with Leather Boots colored magenta
- set {kit.toggle.active} to true
- stop
- else:
- send "&4Du er i Creative!" to player
- on death:
- if {autokit.on} is false:
- set {kit.toggle.active} to false
- clear player's inventory
- stop
- Kitshoppen:
- options:
- kitpvpmenu: &8[&bPvp opgraderinger&8]
- kitpyromenu: &8[&9Pyro opgraderinger&8]
- kittankmenu: &8[&eTank opgraderinger&8]
- kitninjamenu: &8[&fNinja&8]
- fattig: &4Det har du ikke penge nok til at købe!
- on right click:
- if player's tool is anvil named "&6&lKIT SHOPPEN":
- wait 3 ticks
- open chest with 5 rows named "&6&lKIT SHOPPEN" to player
- format slot 26 of player with Emerald named "Hjælp" with lore "Klik på mig hvis du ikke ||ved hvordan det hele fungere!" to close then run [make player execute command "/kitshop help"]
- if player has permission "kits.pvp.op3":
- format slot 0 of player with Green Glass named "&bPvp (3/3)" with lore "&4Alle opgraderinger købt! ||&cIndeholder: ||&a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots || &a-> &bDiamond Sword (Sharpness 2)|| &a-> &bBow (Infinity + Power 1)" to close then run [make player execute command "/kpvpmenu %player%"]
- else:
- if player has permission "kits.pvp.op2":
- format slot 0 of player with Diamond Sword named "&bPvp (2/3)" with lore "&aOpgraderinger til kit &bPvp ||&cIndeholder: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots || &a-> &bDiamond Sword (Sharpness 1)|| &a-> &bBow (Infinity + Power 1)" to close then run [make player execute command "/kpvpmenu %player%"]
- else:
- if player has permission "kits.pvp.op1":
- format slot 0 of player with Diamond Sword named "&bPvp (1/3)" with lore "&aOpgraderinger til kit &bPvp ||&cIndeholder: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots || &a-> &bDiamond Sword (Sharpness 1)|| &a-> &bBow (Infinity)" to close then run [make player execute command "/kpvpmenu %player%"]
- else:
- if player has permission "kits.pvp":
- format slot 0 of player with Diamond Sword named "&bPvp (0/3)" with lore "&aOpgraderinger til kit &bPvp ||&cIndeholder: || &a-> &bIron Helmet || &a-> &bIron Chestplate || &a-> &bIron Leggings || &a-> &bIron Boots || &a-> &bDiamond Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/kpvpmenu %player%"]
- if player has permission "kits.pyro.op2":
- format slot 1 of player with Green Glass named "&9Pyro (2/2)" with lore "&4Alle opgradering købt! ||&cIndeholder: || &a-> &bIron Helmet (Fire Protection 5)|| &a-> &bIron Chestplate (Fire Protection 5)|| &a-> &bIron Leggings (Fire Protection 5)|| &a-> &bIron Boots (Fire Protection 5)|| &a-> &bIron Sword (Fire Aspect 2 + Sharpness 1) || &a-> &bBow" to close then run [make player execute command "/kpyromenu"]
- else:
- if player has permission "kits.pyro.op1":
- format slot 1 of player with Iron sword of Fire aspect 2 named "&9Pyro (1/2)" with lore "&aOpgraderinger til kit &9Pyro ||&cIndeholder: || &a-> &bIron Helmet (Fire Protection 5)|| &a-> &bIron Chestplate (Fire Protection 5)|| &a-> &bIron Leggings (Fire Protection 5)|| &a-> &Iron Boots (Fire Protection 5)|| &a-> &bIron Sword (Fire Aspect 2) || &a-> &bBow" to close then run [make player execute command "/kpyromenu"]
- else:
- if player has permission "kits.pyro":
- format slot 1 of player with Iron sword of Fire aspect 2 named "&9Pyro (0/2)" with lore "&aOpgraderinger til kit &9Pyro ||&cIndeholder: || &a-> &Leather Helmet (Fire Protection 5)|| &a-> &bIron Chestplate (Fire Protection 5)|| &a-> &bIron Leggings (Fire Protection 5)|| &a-> &bLeather Boots (Fire Protection 5)|| &a-> &bIron Sword (Fire Aspect 2) || &a-> &bBow" to close then run [make player execute command "/kpyromenu"]
- else:
- if player doesn't have permission "kits.pyro":
- format slot 1 of player with Iron sword of Fire aspect 2 named "&9Pyro" with lore "&7Koster &a750$ ||&cIndeholder: || &a-> &bLeather helmet (Fire Prot V)|| &a-> &bIron Chestplate (Fire Prot V)|| &a-> &bIron Leggings (Fire Prot V)|| &a-> &bLeather Boots (Fire Prot V)|| &a-> &bIron Sword (Fire Aspect 2)|| &a-> &bBow (Flame + Infinity)" to close then run [make player execute command "/pyroperm"]
- if player has permission "kits.tank.op2":
- format slot 2 of player with Green Glass named "&eTank (2/2)" with lore "&7Koster &a1250$ ||&cIndeholer: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots || &a-> &bIron Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ktankmenu %player%"]
- else:
- if player has permission "kits.tank.op1":
- format slot 2 of player with Diamond Chestplate named "&e Tank (1/2)" with lore "&cIndeholer: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots &a-> &fIron Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ktankmenu %player%"]
- else:
- if player has permission "kits.tank":
- format slot 2 of player with Diamond Chestplate named "&eTank (0/2)" with lore "&cIndeholer: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots &a-> &fIron Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ktankmenu %player%"]
- else:
- if player doesn't have permission "kits.tank":
- format slot 2 of player with Diamond Chestplate named "&eTank" with lore "&7Koster &a1250$ ||&cIndeholer: || &a-> &bDiamond Helmet || &a-> &bDiamond Chestplate || &a-> &bDiamond Leggings || &a-> &bDiamond Boots &a-> &fIron Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/tankperm"]
- if player has permission "kits.ninja.op2":
- format slot 3 of player with Green Glass named "&fNinja (2/2)" with lore "&cIndeholder: || &a-> &bLeather Helmet || &a-> &bChain Chestplate || &a-> &bIron Leggings || &a-> &bLeather Boots || &a-> &bDiamond Sword (Sharpness 1)|| &a-> &bBow (Infinity)" to close then run [make player execute command "/ninjamenu"]
- else:
- if player has permission "kits.ninja.op1":
- format slot 3 of player with nether star named "&fNinja (1/2)" with lore "&cIndeholder: || &a-> &bLeather Helmet || &a-> &bChain Chestplate || &a-> &bIron Leggings Leggings || &a-> &bLeather Boots || &a-> &bDiamond Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ninjamenu"]
- else:
- if player has permission "kits.ninja":
- format slot 3 of player with nether star named "&fNinja (0/2)" with lore "&cIndeholder: || &a-> &bLeather Helmet || &a-> &bChain Chestplate || &a-> &bLeather Leggings || &a-> &bLeather Boots || &a-> &bDiamond Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ninjamenu"]
- else:
- if player doesn't have permission "kits.ninja":
- format slot 3 of player with nether star named "&fNinja" with lore "&7Koster &a500$ ||&cIndeholder: || &a-> &bLeather Helmet || &a-> &bChain Chestplate || &a-> &bLeather Leggings || &a-> &bLeather Boots || &a-> &bDiamond Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/ninjaperm"]
- if player has permission "kits.cactus":
- format slot 4 of player with Green Glass named "&2Cactus" with lore "&cIndeholder: || &a-> &bLeather Helmet (Grøn) || &a-> &bIron Chestplate || &a-> &bIron Leggings || &a-> &bIron Boots ||&a-> &bDiamond Sword || &a-> &bBow (Infinity)" to be unstealable
- else:
- if player doesn't have permission "kits.cactus":
- format slot 4 of player with Cactus named "&2Cactus" with lore "&7Koster &a750$ ||&cIndeholder: || &a-> &bLeather Helmet (Grøn) || &a-> &bIron Chestplate || &a-> &bIron Leggings || &a-> &bIron Boots ||&a-> &bDiamond Sword || &a-> &bBow (Infinity)" to close then run [make player execute command "/cactusperm"]
- if player has permission "kits.swapper":
- format slot 5 of player with Green Glass named "&6Swapper" with lore "&cIndeholder: || &a-> &bLeather Helmet (Gul) || &a-> &bIron Chestplate || &a-> &bIron Leggings || &a-> &bIron Boots || &a-> &bIron Sword || &a-> &bBlaze rod (Swapper) || &a-> &bBue (Infinity)" to be unstealable
- else:
- if player doesn't have permission "kits.swapper":
- format slot 5 of player with Blaze rod named "&6Swapper" with lore "&7Koster &a1000$ ||&cIndeholder: || &a-> &bLeather Helmet (Gul) || &a-> &bIron Chestplate || &a-> &bIron Leggings || &a-> &bIron Boots || &a-> &bIron Sword || &a-> &bBlaze rod (Swapper) || &a-> &bBue (Infinity)" to close then run [make player execute command "/swapperperm"]
- if player has permission "kits.witch":
- format slot 6 of player with Green Glass named "&5Witch" with lore "&cIndeholder: || &a-> &bLeather Helmet (Lilla) || &a-> &bLeather Chestplate || &a-> &bLeather Leggings || &a-> &bLeather Boots || &a-> &bIron Sword || &a-> &bStick (Tryllestav)" to be unstealable
- else:
- if player doesn't have permission "kits.witch":
- format slot 6 of player with Water bottle named "&5Witch" with lore "&7Koster &a1000 ||&cIndeholder: || &a-> &bLeather Helmet (Lilla) || &a-> &bLeather Chestplate || &a-> &bLeather Leggings || &a-> &bLeather Boots || &a-> &bIron Sword || &a-> &bStick (Tryllestav)" to close then run [make player execute command "/witchperm"]
- if player has permission "kits.donator":
- format slot 41 of player with Green Glass named "&aDonator" with lore "&4Allerede købt!" to be unstealable
- else:
- if player doesn't have permission "kits.donator":
- format slot 41 of player with ender chest named "&4Donator kit!" with lore "&4Dette kit kan købes igennem /shop (klik for at gå dertil)" to close then run [make player execute command "/BuyDonator"]
- command /kpvpmenu [<offlineplayer>]:
- trigger:
- wait 3 ticks
- open chest with 1 rows named "{@kitpvpmenu}" to player
- if player has permission "kits.pvp.op3":
- format slot 2 of player with Green Glass named "&aOplåst (3/3)" with lore "&a-> &bSword (Sharpness 2) ||&a-> &bBoots (Diamond)" to be unstealable
- format slot 1 of player with Green Glass named "&aOplåst (2/3)" with lore "&a-> &bBow (Power 1)" to be unstealable
- format slot 0 of player with Green Glass named "&aOplåst (1/3)" with lore "|&a -> &bSword (Sharpness 1)" to be unstealable
- else:
- if player has permission "kits.pvp.op2":
- wait 3 ticks
- format slot 2 of player with Diamond Sword of sharpness 2 named "&bPvp (3/3)" with lore "&7Koster &a1500$ ||&cIndeholder: || &a-> &bSword opgradering (Sharpness 2) || &a-> &bBoots (Diamond)" to run [make player execute command "/pvpop3perm %player%"]->[make player execute command "/kpvpmenu %player%"]
- format slot 1 of player with Green Glass named "&aOplåst (2/3)" with lore "&a-> &bBow (Power 1)" to be unstealable
- format slot 0 of player with Green Glass named "&aOplåst (1/3)" with lore "&a-> &bSword (Sharpness 1)" to be unstealable
- else:
- if player has permission "kits.pvp.op1":
- wait 3 ticks
- format slot 2 of player with 166 named "&4Låst" to be unstealable
- format slot 1 of player with Bow of power 1 named "&bPvp (2/3)" with lore "&7Koster &a1000$ ||&cIndeholder: || &a-> &bBow opgradering (Power 1)" to run [make player execute command "/pvpop2perm %player%"]->[make player execute command "/kpvpmenu %player%"]
- format slot 0 of player with Green Glass named "&aOplåst (1/3)" with lore "&a-> &bSword (Sharpness 1)" to be unstealable
- else:
- if player has permission "kits.pvp":
- wait 3 ticks
- format slot 2 of player with 166 named "&4Låst (3/3)" to be unstealable
- format slot 1 of player with 166 named "&4Låst (2/3)" to be unstealable
- format slot 0 of player with Diamond Chestplate named "&bPvp (0/3)" with lore "&7Koster &a500$ ||&cIndeholder: || &a-> &bSword opgradering (Sharpness 1)" to run [make player execute command "/pvpop1perm %player%"]->[make player execute command "/kpvpmenu %player%"]
- command /pvpop1perm [<offlineplayer>]:
- permission: kits.pvp
- trigger:
- if player's balance is between 500 and 9999999:
- subtract 500 from player's balance
- make console execute command "/manuaddp %player% kits.pvp.op1"
- send "&aDu købte kit &bPvp opgradering (1/3) &atil &c500$&a!" to player
- else:
- send "{@fattig}" to player
- command /pvpop2perm [<offlineplayer>]:
- permission: kits.pvp.op1
- trigger:
- if player's balance is between 1000 and 9999999:
- subtract 1000 from player's balance
- make console execute command "/manuaddp %player% kits.pvp.op2"
- send "&aDu købte kit &bPvp opgradering (2/3) &atil &c1000$&a!" to player
- else:
- send "{@fattig}" to player
- command /pvpop3perm [<offlineplayer>]:
- permission: kits.pvp.op2
- trigger:
- if player's balance is between 1500 and 9999999:
- subtract 1500 from player's balance
- make console execute command "/manuaddp %player% kits.pvp.op3"
- send "&aDu købte kit &bPvp opgradering (3/3) &atil &c1500$&a!" to player
- send "&aDu har nu opgraderet kit &bPvp &amax!" to player
- else:
- send "{@fattig}" to player
- command /pyroperm [<offlineplayer>]:
- trigger:
- if player's balance is between 750 and 9999999:
- subtract 750 from player's balance
- make console execute command "/manuaddp %player% kits.pyro"
- send "&aDu købte kit &9Pyro&a til &c750$&a!" to player
- else:
- send "{@fattig}" to player
- command /kpyromenu [<offlineplayer>]:
- trigger:
- wait 3 ticks
- open chest with 1 rows named "{@kitpyromenu}" to player
- if player has permission "kits.pyro.op2":
- wait 3 ticks
- format slot 1 of player with Green Glass named "&aOplåst (2/2)" with lore " &a-> Sword (Sharpness 1)" to be unstealable
- format slot 0 of player with Green Glass named "&aOplåst (1/2)" with lore " &a-> Armor (Iron)" to be unstealable
- else:
- if player has permission "kits.pyro.op1":
- wait 3 ticks
- format slot 1 of player with Iron sword of Fire aspect 2 and Sharpness 1 named "&9Pyro (2/2)" with lore "&7Koster &a1250$ ||&cIndeholder: || &a-> &bSværd opgradering (Sharpness 1)" to run [make player execute command "/pyroop2perm %player%"]->[make player execute command "/kpyromenu %player%"]
- format slot 0 of player with Green Glass named "&aOplåst (1/2)" with lore "&a-> &bArmor (Iron)" to be unstealable
- else:
- if player has permission "kits.pyro":
- wait 3 ticks
- format slot 1 of player with 166 named "&4Låst" to be unstealable
- format slot 0 of player with Iron chestplate named "&9Pyro (1/2)" with lore "&7Koster &a750$ ||&cIndeholder: || &a-> &bArmor opgradering (Iron)" to run [make player execute command "/pyroop1perm %player%"]->[make player execute command "/kpyromenu %player%"]
- command /pyroop1perm [<offlineplayer>]:
- permission: kits.pyro
- trigger:
- if player's balance is between 750 and 9999999:
- subtract 750 from player's balance
- make console execute command "/manuaddp %player% kits.pyro.op1"
- send "&aDu købte &9Pyro opgradering (1/2) &atil &c750$&a!" to player
- else:
- send "{@fattig}" to player
- command /pyroop2perm [<offlineplayer>]:
- permission: kits.pyro.op1
- trigger:
- if player's balance is between 1250 and 9999999:
- subtract 1250 from player's balance
- make console execute command "/manuaddp %player% kits.pyro.op2"
- send "&aDu købte &9Pyro opgradering (2/2) &atil &c1250$&a!" to player
- send "&aDu har nu opgraderet kit &9Pyro &atil max level!" to player
- else:
- send "{@fattig}" to player
- command /ktankmenu [<offlineplayer>]:
- permission: kits.tank
- trigger:
- wait 3 ticks
- open chest with 1 rows named "{@kittankmenu}" to player
- if player has permission "kits.tank.op2":
- wait 3 ticks
- format slot 1 of player with Green Glass named "&aOplåst (2/2)" with lore " &a-> &bSlowness opgradering (2 -> 1)" to be unstealable
- format slot 0 of player with Green Glass named "&aOplåst (1/2)" with lore " &a-> &bSword opgradering (Iron -> Diamond)" to be unstealable
- else:
- if player has permission "kits.tank.op1":
- wait 3 ticks
- format slot 1 of player with 373:8234 named "&eTank (2/2)" with lore "&7Koster &a2500$ ||&cIndeholder: || &a-> &bSlowness opgradering (2 -> 1)" to run [make player execute command "/tankop2perm %player%"]->[make player execute command "/ktankmenu %player%"]
- format slot 0 of player with Green Glass named "&aOplåst (1/2)" with lore " &a-> &bSword opgradering (Diamond)" to be unstealable
- else:
- if player has permission "kits.tank":
- wait 3 ticks
- format slot 1 of player with 166 named "&4Låst" to be unstealable
- format slot 0 of player with Diamond sword named "&eTank (1/2)" with lore "&7Koster &a1750$ ||&cIndeholder: || &a-> &bSword opgradering (Diamond)" to close then run [make player execute command "/tankop1perm %player%"]->[make player execute command "/ktankmenu %player%"]
- command /tankperm [<offlineplayer>]:
- permission: kits.pvp
- trigger:
- if player's balance is between 1250 and 9999999:
- subtract 1250 from player's balance
- make console execute command "/manuaddp %player% kits.tank"
- send "&aDu købte kit &eTank &atil &c1250$&a!" to player
- else:
- send "{@fattig}" to player
- command /tankop1perm [<offlineplayer>]:
- permission: kits.tank
- trigger:
- if player's balance is between 1750 and 9999999:
- subtract 1750 from player's balance
- make console execute command "/manuaddp %player% kits.tank.op1"
- send "&aDu købte &eTank opgradering (1/2) &atil &c1750$&a!" to player
- else:
- send "{@fattig}" to player
- command /tankop2perm [<offlineplayer>]:
- permission: kits.tank.op1
- trigger:
- if player's balance is between 2500 and 9999999:
- subtract 2500 from player's balance
- make console execute command "/manuaddp %player% kits.tank.op2"
- send "&aDu købte &eTank Opgradering (2/2) &atil &c2500&$a!" to player
- send "&aDu har nu opgraderet kit &eTank &atil max level!" to player
- else:
- send "{@fattig}" to player
- command /ninjamenu [<offlineplayer>]:
- permission: kits.ninja
- trigger:
- wait 3 ticks
- open chest with 1 rows named "{@kitninjamenu}" to player
- if player has permission "kits.ninja.op2":
- wait 3 ticks
- format slot 1 of player with Green Glass named "&aOplåst (2/2)" with lore " &a-> &bSword (Sharpness 1)" to be unstealable
- format slot 0 of player with Green Glass named "&aOplåst (1/2)" with lore " &a-> &bLeggings (Iron)" to be unstealable
- else:
- if player has permission "kits.ninja.op1":
- wait 3 ticks
- format slot 1 of player with Diamond Sword of sharpness 1 named "" with lore "" to run [make player execute command "/ninjaop2perm %player%"]->[make player execute command "/ninjamenu %player%"]
- format slot 0 of player with Green Glass named "" with lore "" to be unstealable
- else:
- if player has permission "kits.ninja":
- wait 3 ticks
- format slot 1 of player with 166 named "&4Låst" to be unstealable
- format slot 0 of player with Iron Leggings named "" with lore "" to run [make player execute command "/ninjaop1perm %player%"]->[make player execute command "/ninjamenu %player%"]
- command /ninjaperm [<offlineplayer>]:
- permission: kits.pvp
- trigger:
- if player's balance is between 500 and 9999999:
- subtract 500 from player's balance
- make console execute command "/manuaddp %player% kits.ninja"
- send "&aDu købte kit &fNinja &atil &c500$&a!"
- else:
- send "{@fattig}" to player
- command /ninjaop1perm [<offlineplayer>]:
- permission: kits.ninja
- trigger:
- if player's balance is between 750 and 9999999:
- subtract 750 from player's balance
- make console execute command "/manuaddp %player% kits.ninja.op1"
- send "&aDu købte &fNinja opgradering (1/2) &atil &c750$&a!" to player
- else:
- send "{@fattig}" to player
- command /ninjaop2perm [<offlineplayer>]:
- permission: kits.ninja.op1
- trigger:
- if player's balance is between 1250 and 9999999:
- subtract 1250 from player's balance
- make console execute command "/manuaddp %player% kits.ninja.op2"
- send "&aDu købte &fNinja opgradering (2/2) &atil &c1250$&a!" to player
- send "&aDu har nu opgraderet kit &fNinja &atil max level!" to player
- else:
- send "{@fattig}" to player
- command /cactusperm:
- trigger:
- if player's balance is between 750 and 9999999:
- subtract 750 from player's balance
- make console execute command "/manuaddp %player% kits.cactus"
- send "&aDu købte kit &2Cactus &atil &c750$&a!"
- else:
- send "{@fattig}" to player
- command /swapperperm:
- trigger:
- if player's balance is between 1000 and 9999999:
- subtract 1000 from player's balance
- make console execute command "/manuaddp %player% kits.swapper"
- send "&aDu købte kit &6Swapper &atil &c1000$&a!"
- else:
- send "{@fattig}" to player
- command /witchperm:
- trigger:
- if player's balance is between 1000 and 9999999:
- subtract 1000 from player's balance
- make console execute command "/manuaddp %player% kits.witch"
- send "&aDu købte kit &5Witch &atil &c1000$&a!"
- else:
- send "{@fattig}" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement