Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8[&bPRISON&8]&7
- on sign change:
- line 1 is "VSHOP"
- line 2 is "C"
- set line 1 to "&6&lSHOP"
- set line 2 to "&eTryk for at"
- set line 3 to "&ese hvad du kan"
- set line 4 to "&ekøbe! &7(&c&lC&7)"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding a Hand:
- if player has permission "C-Vagt", "B-Vagt" or "A-Vagt":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a200" to close then run [make player execute command "vsporkchopc"]
- format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a200" to close then run [make player execute command "vsknockbackc"]
- format slot 10 of player with shiny golden helmet named "&aKøb en hjelm!" with lore "&2Pris: &a500" to close then run [make player execute command "vsironhelmetc"]
- format slot 12 of player with shiny iron chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironchestplatec"]
- format slot 14 of player with shiny iron leggings named "&aKøb bukser!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironleggingsc"]
- format slot 16 of player with shiny iron boots named "&aKøb sko!" with lore "&2Pris: &a600" to close then run [make player execute command "vsironbootsc"]
- format slot 20 of player with shiny iron sword named "&aKøb en sværd!" with lore "&2Pris: &a800" to close then run [make player execute command "vsironswordc"]
- format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a250" to close then run [make player execute command "vsarrowsc"]
- format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a700" to close then run [make player execute command "vsbowc"]
- command /vsporkchopc:
- permission: Vagt
- trigger:
- if balance of player >= 200:
- give player 16 cooked porkchop with no nbt named "&a%player%"
- remove 200 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &616 Cooked Porkchop &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsknockbackc:
- permission: Vagt
- trigger:
- if balance of player >= 200:
- give player stick with no nbt named "&a%player%" with lore "&6Knockback: &e0"
- remove 200 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 knockback stick &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironhelmetc:
- permission: Vagt
- trigger:
- if balance of player >= 500:
- give player golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 hjelm &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironchestplatec:
- permission: Vagt
- trigger:
- if balance of player >= 600:
- give player iron chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 brystplade &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironleggingsc:
- permission: Vagt
- trigger:
- if balance of player >= 600:
- give player iron leggings with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6bukser &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironbootsc:
- permission: Vagt
- trigger:
- if balance of player >= 600:
- give player iron boots with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6sko &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironswordc:
- permission: Vagt
- trigger:
- if balance of player >= 800:
- give player iron sword with no nbt named "&a%player%" with lore "&6Sharp: &e0"
- remove 800 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 sværd &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsarrowsc:
- permission: Vagt
- trigger:
- if balance of player >= 250:
- give player 64 arrows with no nbt named "&a%player%"
- remove 250 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &664 pile &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbowc:
- permission: Vagt
- trigger:
- if balance of player >= 700:
- give player bow with no nbt named "&a%player%" with lore "&6Power: &e0"
- remove 700 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 bue &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding stick with no nbt named "&a%player%" with lore "&6Knockback: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny stick named "&7Køb &6&lknockback 1 &7til din stick!" with lore "&2Pris: &a400" to close then run [make player execute command "vsknockback1c"]
- if player is holding stick of knockback 1 with no nbt named "&a%player%" with lore "&6Knockback: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny stick named "&7Køb &6&lknockback 2 &7til din stick!" with lore "&2Pris: &a800" to close then run [make player execute command "vsknockback2c"]
- if player is holding stick of knockback 2 with no nbt named "&a%player%" with lore "&6Knockback: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin Stick er fuld opgraderet" to be unstealable
- command /vsknockback1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 400:
- enchant the player's tool with knockback 1
- set {knockback.%player%} to "&6Knockback: &e1"
- set the lore of the player's tool to "&6Knockback: &e1"
- wait 1 tick
- remove 400 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsknockback2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 800:
- enchant the player's tool with knockback 2
- set {knockback.%player%} to "&6Knockback: &e2"
- set the lore of the player's tool to "&6Knockback: &e2"
- wait 1 tick
- remove 800 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 1 &7til din hjelm!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironhelmet1c"]
- if player is holding golden helmet of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 2 &7til din hjelm!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironhelmet2c"]
- if player is holding golden helmet of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 3 &7til din hjelm!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironhelmet3c"]
- if player is holding golden helmet of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 4 &7til din hjelm!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironhelmet4c"]
- if player is holding golden helmet of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin hjelm er fuld opgraderet" to be unstealable
- command /vsironhelmet1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1000:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 1000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironhelmet2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 2000:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 2000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironhelmet3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 3500:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 3500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironhelmet4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding iron chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 1 &7til din brystplade!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironchestplate1c"]
- if player is holding iron chestplate of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 2 &7til din brystplade!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironchestplate2c"]
- if player is holding iron chestplate of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 3 &7til din brystplade!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironchestplate3c"]
- if player is holding iron chestplate of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron chestplate named "&7Køb &6&lprotection 4 &7til din brystplade!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironchestplate4c"]
- if player is holding iron chestplate of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin brystplade er fuld opgraderet" to be unstealable
- command /vsironchestplate1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1000:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 1000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironchestplate2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 2000:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 2000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironchestplate3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 3500:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 3500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironchestplate4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding iron leggings with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 1 &7til din bukser!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironleggings1c"]
- if player is holding iron leggings of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 2 &7til din bukser!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironleggings2c"]
- if player is holding iron leggings of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 3 &7til din bukser!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironleggings3c"]
- if player is holding iron leggings of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron leggings named "&7Køb &6&lprotection 4 &7til din bukser!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironleggings4c"]
- if player is holding iron leggings of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bukser er fuld opgraderet" to be unstealable
- command /vsironleggings1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1000:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 1000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironleggings2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 2000:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 2000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironleggings3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 3500:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 3500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironleggings4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding iron boots with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 1 &7til din sko!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsironboots1c"]
- if player is holding iron boots of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 2 &7til din sko!" with lore "&2Pris: &a2000" to close then run [make player execute command "vsironboots2c"]
- if player is holding iron boots of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 3 &7til din sko!" with lore "&2Pris: &a3500" to close then run [make player execute command "vsironboots3c"]
- if player is holding iron boots of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron boots named "&7Køb &6&lprotection 4 &7til din sko!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironboots4c"]
- if player is holding iron boots of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sko er fuld opgraderet" to be unstealable
- command /vsironboots1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1000:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 1000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironboots2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 2000:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 2000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironboots3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 3500:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 3500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironboots4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding iron sword with no nbt named "&a%player%" with lore "&6Sharp: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 1 &7til din sværd!" with lore "&2Pris: &a1500" to close then run [make player execute command "vsironsword1c"]
- if player is holding iron sword of sharpness 1 with no nbt named "&a%player%" with lore "&6Sharp: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 2 &7til din sværd!" with lore "&2Pris: &a3000" to close then run [make player execute command "vsironsword2c"]
- if player is holding iron sword of sharpness 2 with no nbt named "&a%player%" with lore "&6Sharp: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 3 &7til din sværd!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsironsword3c"]
- if player is holding iron sword of sharpness 3 with no nbt named "&a%player%" with lore "&6Sharp: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny iron sword named "&7Køb &6&lsharpness 4 &7til din sværd!" with lore "&2Pris: &a9500" to close then run [make player execute command "vsironsword4c"]
- if player is holding iron sword of sharpness 4 with no nbt named "&a%player%" with lore "&6Sharp: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sværd er fuld opgraderet" to be unstealable
- command /vsironsword1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1500:
- enchant the player's tool with sharpness 1
- set the lore of the player's tool to "&6Sharp: &e1"
- wait 1 tick
- remove 1500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironsword2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 3000:
- enchant the player's tool with sharpness 2
- set the lore of the player's tool to "&6Sharp: &e2"
- wait 1 tick
- remove 3000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironsword3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with sharpness 3
- set the lore of the player's tool to "&6Sharp: &e3"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsironsword4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 9500:
- enchant the player's tool with sharpness 4
- set the lore of the player's tool to "&6Sharp: &e4"
- wait 1 tick
- remove 9500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&c&lC&7)"
- if player is holding bow with no nbt named "&a%player%" with lore "&6Power: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 1 &7til din bue!" with lore "&2Pris: &a1000" to close then run [make player execute command "vsbow1c"]
- if player is holding bow of power 1 with no nbt named "&a%player%" with lore "&6Power: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 2 &7til din bue!" with lore "&2Pris: &a2500" to close then run [make player execute command "vsbow2c"]
- if player is holding bow of power 2 with no nbt named "&a%player%" with lore "&6Power: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 3 &7til din bue!" with lore "&2Pris: &a4000" to close then run [make player execute command "vsbow3c"]
- if player is holding bow of power 3 with no nbt named "&a%player%" with lore "&6Power: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 4 &7til din bue!" with lore "&2Pris: &a6500" to close then run [make player execute command "vsbow4c"]
- if player is holding bow of power 4 with no nbt named "&a%player%" with lore "&6Power: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bue er fuld opgraderet" to be unstealable
- command /vsbow1c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 1000:
- enchant the player's tool with power 1
- set the lore of the player's tool to "&6Power: &e1"
- wait 1 tick
- remove 1000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow2c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 2500:
- enchant the player's tool with power 2
- set the lore of the player's tool to "&6Power: &e2"
- wait 1 tick
- remove 2500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow3c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 4000:
- enchant the player's tool with power 3
- set the lore of the player's tool to "&6Power: &e3"
- wait 1 tick
- remove 4000 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow4c:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 6500:
- enchant the player's tool with power 4
- set the lore of the player's tool to "&6Power: &e4"
- wait 1 tick
- remove 6500 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on sign change:
- line 1 is "VSHOP"
- line 2 is "B"
- set line 1 to "&6&lSHOP"
- set line 2 to "&eTryk for at"
- set line 3 to "&ese hvad du kan"
- set line 4 to "&ekøbe! &7(&b&lB&7)"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding a Hand:
- if player has permission "B-Vagt" or "A-Vagt":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a50" to close then run [make player execute command "vsporkchopb"]
- format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a50" to close then run [make player execute command "vsknockbackb"]
- format slot 10 of player with shiny golden helmet named "&aKøb en hjelm!" with lore "&2Pris: &a200" to close then run [make player execute command "vsdiamondhelmetb"]
- format slot 12 of player with shiny diamond chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondchestplateb"]
- format slot 14 of player with shiny diamond leggings named "&aKøb bukser!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondleggingsb"]
- format slot 16 of player with shiny diamond boots named "&aKøb sko!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondbootsb"]
- format slot 20 of player with shiny diamond sword named "&aKøb en sværd!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondswordb"]
- format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a125" to close then run [make player execute command "vsarrowsb"]
- format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbowb"]
- if player has permission "Officer":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 2 of player with 16 cooked porkchop named "&aKøb 16 porkchop!" with lore "&2Pris: &a50" to close then run [make player execute command "vsporkchopb"]
- format slot 6 of player with shiny stick named "&aKøb en knockback stick!" with lore "&2Pris: &a50" to close then run [make player execute command "vsknockbackb"]
- format slot 10 of player with shiny chainmail helmet named "&aKøb en hjelm!" with lore "&2Pris: &a200" to close then run [make player execute command "vschianhelmetb"]
- format slot 12 of player with shiny diamond chestplate named "&aKøb en brystplade!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondchestplateb"]
- format slot 14 of player with shiny diamond leggings named "&aKøb bukser!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondleggingsb"]
- format slot 16 of player with shiny diamond boots named "&aKøb sko!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondbootsb"]
- format slot 20 of player with shiny diamond sword named "&aKøb en sværd!" with lore "&2Pris: &a250" to close then run [make player execute command "vsdiamondswordb"]
- format slot 22 of player with 64 arrows named "&aKøb 64 pile!" with lore "&2Pris: &a125" to close then run [make player execute command "vsarrowsb"]
- format slot 24 of player with shiny bow named "&aKøb en bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbowb"]
- command /vschianhelmetb:
- permission: Vagt
- trigger:
- if balance of player >= 200:
- give player 1 302 with no nbt named "&a%player%"
- remove 200 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte en &2chain helmet &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsporkchopb:
- permission: Vagt
- trigger:
- if balance of player >= 50:
- give player 16 cooked porkchop with no nbt named "&a%player%"
- remove 50 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &616 Cooked Porkchop &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsknockbackb:
- permission: Vagt
- trigger:
- if balance of player >= 50:
- give player stick with no nbt named "&a%player%" with lore "&6Knockback: &e0"
- remove 50 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 knockback stick &ei vagt shoppen!"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondhelmetb:
- permission: Vagt
- trigger:
- if balance of player >= 200:
- give player golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 200 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 hjelm &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondchestplateb:
- permission: Vagt
- trigger:
- if balance of player >= 250:
- give player diamond chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 250 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 brystplade &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondleggingsb:
- permission: Vagt
- trigger:
- if balance of player >= 250:
- give player diamond leggings with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 250 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6bukser &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondbootsb:
- permission: Vagt
- trigger:
- if balance of player >= 250:
- give player diamond boots with no nbt named "&a%player%" with lore "&6Prot: &e0"
- remove 250 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &6sko &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondswordb:
- permission: Vagt
- trigger:
- if balance of player >= 250:
- give player diamond sword with no nbt named "&a%player%" with lore "&6Sharp: &e0"
- remove 250 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 sværd &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsarrowsb:
- permission: Vagt
- trigger:
- if balance of player >= 125:
- give player 64 arrows with no nbt named "&a%player%"
- remove 125 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &664 pile &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbowb:
- permission: Vagt
- trigger:
- if balance of player >= 300:
- give player bow with no nbt named "&a%player%" with lore "&6Power: &e0"
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu købte &61 bue &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding stick with no nbt named "&a%player%" with lore "&6Knockback: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny stick named "&7Køb &6&lknockback 1 &7til din stick!" with lore "&2Pris: &a100" to close then run [make player execute command "vsknockback1b"]
- if player is holding stick of knockback 1 with no nbt named "&a%player%" with lore "&6Knockback: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny stick named "&7Køb &6&lknockback 2 &7til din stick!" with lore "&2Pris: &a200" to close then run [make player execute command "vsknockback2b"]
- if player is holding stick of knockback 2 with no nbt named "&a%player%" with lore "&6Knockback: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin Stick er fuld opgraderet" to be unstealable
- command /vsknockback1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 100:
- enchant the player's tool with knockback 1
- set {knockback.%player%} to "&6Knockback: &e1"
- set the lore of the player's tool to "&6Knockback: &e1"
- wait 1 tick
- remove 100 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsknockback2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 200:
- enchant the player's tool with knockback 2
- set {knockback.%player%} to "&6Knockback: &e2"
- set the lore of the player's tool to "&6Knockback: &e2"
- wait 1 tick
- remove 200 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6knockback stick &emed &6knockback 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding golden helmet with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 1 &7til din hjelm!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondhelmet1b"]
- if player is holding golden helmet of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 2 &7til din hjelm!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondhelmet2b"]
- if player is holding golden helmet of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 3 &7til din hjelm!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondhelmet3b"]
- if player is holding golden helmet of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny golden helmet named "&7Køb &6&lprotection 4 &7til din hjelm!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondhelmet4b"]
- if player is holding golden helmet of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin hjelm er fuld opgraderet" to be unstealable
- command /vsdiamondhelmet1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondhelmet2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondhelmet3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondhelmet4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection hjelm &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding diamond chestplate with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 1 &7til din brystplade!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondchestplate1b"]
- if player is holding diamond chestplate of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 2 &7til din brystplade!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondchestplate2b"]
- if player is holding diamond chestplate of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 3 &7til din brystplade!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondchestplate3b"]
- if player is holding diamond chestplate of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond chestplate named "&7Køb &6&lprotection 4 &7til din brystplade!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondchestplate4b"]
- if player is holding diamond chestplate of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin brystplade er fuld opgraderet" to be unstealable
- command /vsdiamondchestplate1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondchestplate2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondchestplate3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondchestplate4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection brystplade &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding diamond leggings with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 1 &7til din bukser!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondleggings1b"]
- if player is holding diamond leggings of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 2 &7til din bukser!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondleggings2b"]
- if player is holding diamond leggings of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 3 &7til din bukser!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondleggings3b"]
- if player is holding diamond leggings of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond leggings named "&7Køb &6&lprotection 4 &7til din bukser!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondleggings4b"]
- if player is holding diamond leggings of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bukser er fuld opgraderet" to be unstealable
- command /vsdiamondleggings1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondleggings2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondleggings3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondleggings4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection bukser &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding diamond boots with no nbt named "&a%player%" with lore "&6Prot: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 1 &7til din sko!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondboots1b"]
- if player is holding diamond boots of protection 1 with no nbt named "&a%player%" with lore "&6Prot: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 2 &7til din sko!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondboots2b"]
- if player is holding diamond boots of protection 2 with no nbt named "&a%player%" with lore "&6Prot: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 3 &7til din sko!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondboots3b"]
- if player is holding diamond boots of protection 3 with no nbt named "&a%player%" with lore "&6Prot: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond boots named "&7Køb &6&lprotection 4 &7til din sko!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondboots4b"]
- if player is holding diamond boots of protection 4 with no nbt named "&a%player%" with lore "&6Prot: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sko er fuld opgraderet" to be unstealable
- command /vsdiamondboots1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with protection 1
- set the lore of the player's tool to "&6Prot: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondboots2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with protection 2
- set the lore of the player's tool to "&6Prot: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondboots3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with protection 3
- set the lore of the player's tool to "&6Prot: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondboots4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with protection 4
- set the lore of the player's tool to "&6Prot: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6protection sko &emed &6protection 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding diamond sword with no nbt named "&a%player%" with lore "&6Sharp: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 1 &7til din sværd!" with lore "&2Pris: &a150" to close then run [make player execute command "vsdiamondsword1b"]
- if player is holding diamond sword of sharpness 1 with no nbt named "&a%player%" with lore "&6Sharp: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 2 &7til din sværd!" with lore "&2Pris: &a300" to close then run [make player execute command "vsdiamondsword2b"]
- if player is holding diamond sword of sharpness 2 with no nbt named "&a%player%" with lore "&6Sharp: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 3 &7til din sværd!" with lore "&2Pris: &a450" to close then run [make player execute command "vsdiamondsword3b"]
- if player is holding diamond sword of sharpness 3 with no nbt named "&a%player%" with lore "&6Sharp: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny diamond sword named "&7Køb &6&lsharpness 4 &7til din sværd!" with lore "&2Pris: &a600" to close then run [make player execute command "vsdiamondsword4b"]
- if player is holding diamond sword of sharpness 4 with no nbt named "&a%player%" with lore "&6Sharp: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin sværd er fuld opgraderet" to be unstealable
- command /vsdiamondsword1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with sharpness 1
- set the lore of the player's tool to "&6Sharp: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondsword2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with sharpness 2
- set the lore of the player's tool to "&6Sharp: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondsword3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with sharpness 3
- set the lore of the player's tool to "&6Sharp: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsdiamondsword4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with sharpness 4
- set the lore of the player's tool to "&6Sharp: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6sharpness sværd &emed &6sharpness 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- on rightclick on sign:
- line 1 is "&6&lSHOP"
- line 2 is "&eTryk for at"
- line 3 is "&ese hvad du kan"
- line 4 is "&ekøbe! &7(&b&lB&7)"
- if player is holding bow with no nbt named "&a%player%" with lore "&6Power: &e0":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 1 &7til din bue!" with lore "&2Pris: &a150" to close then run [make player execute command "vsbow1b"]
- if player is holding bow of power 1 with no nbt named "&a%player%" with lore "&6Power: &e1":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 2 &7til din bue!" with lore "&2Pris: &a300" to close then run [make player execute command "vsbow2b"]
- if player is holding bow of power 2 with no nbt named "&a%player%" with lore "&6Power: &e2":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 3 &7til din bue!" with lore "&2Pris: &a450" to close then run [make player execute command "vsbow3b"]
- if player is holding bow of power 3 with no nbt named "&a%player%" with lore "&6Power: &e3":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with shiny bow named "&7Køb &6&lpower 4 &7til din bue!" with lore "&2Pris: &a600" to close then run [make player execute command "vsbow4b"]
- if player is holding bow of power 4 with no nbt named "&a%player%" with lore "&6Power: &e4":
- open chest with 3 rows named "&7Køb" to player
- wait 1 tick
- format slot 13 of player with 166 named " &4&l&kl&4&l INGEN &4&l&kl" with lore "&cDin bue er fuld opgraderet" to be unstealable
- command /vsbow1b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 150:
- enchant the player's tool with power 1
- set the lore of the player's tool to "&6Power: &e1"
- wait 1 tick
- remove 150 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 1 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow2b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 300:
- enchant the player's tool with power 2
- set the lore of the player's tool to "&6Power: &e2"
- wait 1 tick
- remove 300 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 2 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow3b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 450:
- enchant the player's tool with power 3
- set the lore of the player's tool to "&6Power: &e3"
- wait 1 tick
- remove 450 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 3 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
- command /vsbow4b:
- permission: Vagt
- permission message: &4Du har ikke adgang til denne kommando.
- trigger:
- if balance of player >= 600:
- enchant the player's tool with power 4
- set the lore of the player's tool to "&6Power: &e4"
- wait 1 tick
- remove 600 from player's balance
- message "&8&l| &e&lVAGT SHOP &8&l| &eDu enchantede din &6power bue &emed &6power 4 &ei vagt shoppen!"
- execute player command "/updatescore"
- else:
- message "{@p} &cDu har ikke nok penge!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement