Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: %{sw+.config::prefix}%
- coins_by_kill: 4
- coins_by_win: 25
- JoinItem: diamond sword
- JoinItemName: &aLet's play a Game! &7(Right-Click)
- AbilitiesItem: book
- AbilitiesItemName: &eSkyWars Abilities! &7(Right-Click)
- StatsItem: paper
- StatsItemName: &cSkyWars Stats! &7(Right-Click)
- KitsItem: book
- KitsItemName: %{sw+.config::kits_item_name}%
- KitsVIPItem: enchanted book
- KitsVIPItemName: %{sw+.config::vipkits_item_name}%
- LeaveItem: redstone
- LeaveItemName: %{sw+.config::leave_item_name}%
- on join:
- clear {skywars::pos::%uuid of player%::1}
- clear {skywars::pos::%uuid of player%::2}
- set {sw::%player%::lobby} to false
- set {sw::%player%::ingame} to false
- set {spectator::%player%} to false
- clear {joinquit::%player%}
- remove player from {sw.players.%{sw.%player%.arena}%::*}
- if {sw::kills::%player%} is not set:
- set {sw::kills::%player%} to 0
- if {sw::deaths::%player%} is not set:
- set {sw::deaths::%player%} to 0
- if {sw::playedgames::%player%} is not set:
- set {sw::playedgames::%player%} to 0
- if {sw::wins::%player%} is not set:
- set {sw::wins::%player%} to 0
- if {sw.coins::%player%} is not set:
- set {sw.coins::%player%} to 0
- on quit:
- remove player from {sw.players.%{sw.%player%.arena}%::*}
- on join:
- if {SkyWars+.player.%uuid of player%.swords.level} is not set:
- set {SkyWars+.player.%uuid of player%.swords.level} to 0
- if {SkyWars+.player.%uuid of player%.vampire.level} is not set:
- set {SkyWars+.player.%uuid of player%.vampire.level} to 0
- if {SkyWars+.player.%uuid of player%.protection.level} is not set:
- set {SkyWars+.player.%uuid of player%.protection.level} to 0
- if {SkyWars+.player.%uuid of player%.triple.level} is not set:
- set {SkyWars+.player.%uuid of player%.triple.level} to 0
- if {SkyWars+.player.%uuid of player%.mining.level} is not set:
- set {SkyWars+.player.%uuid of player%.mining.level} to 0
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is not set:
- set {SkyWars+.player.%uuid of player%.adrenaline.level} to 0
- on join:
- wait 1 tick
- clear player's inventory
- set slot 0 of player's inventory to {@JoinItem} named "{@JoinItemName}"
- set slot 1 of player's inventory to {@AbilitiesItem} named "{@AbilitiesItemName}"
- set slot 8 of player's inventory to {@StatsItem} named "{@StatsItemName}"
- on load:
- send "&6" to console
- send "&9&l---------------------------" to console
- send "&c&lSkyWars&6&l+&7:" to console
- send "&a&lPlugin SkyWars &bcreated by SrFox3999" to console
- send "&9&l---------------------------" to console
- send "&6" to console
- on load:
- if folder "plugins/SkyWars+" doesn't exists:
- create folder "plugins/SkyWars+"
- if file "plugins/SkyWars+/config.yml" doesn't exists:
- create file "plugins/SkyWars+/config.yml"
- wf " " to "plugins/SkyWars+/config.yml"
- wf " ## SkyWars+ - Config (Lobby Included) ##" to "plugins/SkyWars+/config.yml"
- wf " " to "plugins/SkyWars+/config.yml"
- wf "prefix: '&a&lSKYWARS &9&l>'" to "plugins/SkyWars+/config.yml"
- wf "bedrock-teleporter-ingame: true" to "plugins/Chat+/config.yml"
- wf "join_matches_lobby_item_name: '&aLet's play a Game! &7(Right-Click)'" to "plugins/SkyWars+/config.yml"
- wf "abilities_lobby_item_name: '&eSkyWars Abilities! &7(Right-Click)'" to "plugins/SkyWars+/config.yml"
- wf "stats_lobby_item_name: &cSkyWars Stats! &7(Right-Click)" to "plugins/SkyWars+/config.yml"
- wf " " to "plugins/SkyWars+/config.yml"
- wf " ## SkyWars+ - InGame Config ##" to "plugins/SkyWars+/config.yml"
- wf " " to "plugins/SkyWars+/config.yml"
- wf "kits_item_name: '&6&lKits'" to "plugins/SkyWars+/config.yml"
- wf "vipkits_item_name: '&5&lVIP &6&lKits'" to "plugins/SkyWars+/config.yml"
- wf "leave_item_name: '&4&lLeave'" to "plugins/SkyWars+/config.yml"
- set {sw+.config::prefix} to coloured value "prefix" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::coins_by_kill} to coloured value "coins_by_kill" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::coins_by_win} to coloured value "coins_by_win" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::coins_by_win} to coloured value "coins_by_win" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::kits_item_name} to coloured value "kits_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::vipkits_item_name} to coloured value "vipkits_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::leave_item_name} to coloured value "leave_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::jmlin} to coloured value "join_matches_lobby_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::alin} to coloured value "abilities_lobby_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::slin} to coloured value "stats_lobby_item_name" get of "plugins/SkyWars+/config.yml"
- set {sw+.config::btp} to coloured value "bedrock-teleporter-ingame" get of "plugins/Chat+/config.yml"
- on load:
- if file "plugins/SkyWars+/chestitems.yml" doesn't exists:
- create file "plugins/SkyWars+/chestitems.yml"
- wf "##Middle chests is trapped chest item!" to "plugins/SkyWars+/chestitems.yml"
- set "tier1.5 5" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier1.2 cobweb" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier1.1 arrow" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier1.1 apple" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier2.3 snowball" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier2.1 bow" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier2.1 steak" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier2.1 stone axe" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier3.1 iron ingot" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier3.3 arrow" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier3.1 bow" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier3.1 lava bucket" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier4.1 golden apple" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier4.1 iron axe" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier4.2 diamond" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- set "tier4.1 diamond sword" to "*" in yaml file "plugins/SkyWars+/chestitems.yml"
- command /skywars [<text>] [<text>] [<text>] [<number>]:
- aliases: /sw, /osw, /SkyWars+
- trigger:
- if arg 1 is "create":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {sw.arena::%arg 2%} is not set:
- if {skywars::pos::%uuid of player%::1} is set:
- if {skywars::pos::%uuid of player%::2} is set:
- set {skywars::arena::%arg 2%::pos1} to {skywars::pos::%uuid of player%::1}
- set {skywars::arena::%arg 2%::pos2} to {skywars::pos::%uuid of player%::2}
- set {sw.arena::%arg 2%} to true
- set {start.arena::%arg 2%} to true
- set {skywars::arena::%arg 2%} to 0
- add arg 2 to {skywars::liste::*}
- set {maxarena::%arg 2%} to 2
- set {min.arena::%arg 2%} to 2
- send "{@prefix}&7 Arena created:&6 %arg 2%" #
- clear {pos.%uuid of player%.1}
- clear {pos.%uuid of player%.2}
- wait 1 seconds
- set {sw.status::%arg 2%} to "&aWaiting..."
- invoke "schematic-guarad" from arg-2
- clear {pos.%uuid of player%.1}
- clear {pos.%uuid of player%.2}
- else:
- send "{@prefix}&c Please select the arena./sw wand" #
- else:
- send "{@prefix}&c Please select the arena. /sw wand" #
- else:
- send "{@prefix}&c There is already such an arena." #
- else:
- send "{@prefix}&c Please put the name of the arena." #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "debug":
- if arg 2 is set:
- set {sw.status::%arg 2%} to "&aWaiting..."
- clear {sw.players.%arg 2%::*}
- set {start.arena::%arg 2%} to true
- send "{@prefix} &aArena %arg 2% restarted!"
- else if arg 1 is "reload":
- if player has permission "SkyWars+.admin":
- send "{@prefix} &eReloading SkyWars.sk..."
- make console execute command "/sk reload SkyWars"
- send "{@prefix} &aServer Reloaded"
- else if arg 1 is "top":
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- loop {sw::wins::*}:
- if loop-value is more than {_1st.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- open chest with 1 rows named "&3&lSkyWars Top Wins" to player
- wait 0.2 seconds
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- format slot 0 of player with emerald named "&2&lTOP 1" with lore "&a&l%{_1st}%:&7&l %{_1st.point}%" to close
- format slot 2 of player with diamond named "&3&lTOP 2" with lore "&a&l%{_2nd}%:&7&l %{_2nd.point}% " to close
- format slot 4 of player with gold ingot named "&e&lTOP 3" with lore "&a&l%{_3rd}%:&7&l %{_3rd.point}%" to close
- format slot 6 of player with iron ingot named "&7&lTOP 4" with lore "&a&l%{_4tlmg}%:&7&l %{_4th.point}%" to close
- format slot 8 of player with coal:0 named "&7&lTOP 5" with lore "&a&l%{_5th}%:&7&l %{_5th.point}%" to close
- else if arg 1 is "kitremove":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {kit::c::%arg 2%} is true:
- remove arg 2 from {kits::liste::*}
- clear {kit::c::%arg 2%}
- send "{@prefix} &2You have deleted the kit &6&l%arg 2%&2 successfully." #
- else:
- send "{@prefix}&c this kit does not exist" #
- else:
- send "{@prefix}&c Put name of the kit you want to delete" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "kitvipremove":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {kit::c::%arg 2%} is true:
- remove arg 2 from {kitsvip::liste::*}
- clear {kit::c::%arg 2%}
- send "{@prefix} &2You have deleted the kit &6&l%arg 2%&2 successfully." #
- else:
- send "{@prefix}&c this kit does not exist" #
- else:
- send "{@prefix}&c Put name of the kit you want to delete" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setspawnguardian":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {sw.arena::%arg 2%} is true:
- set {sw.zombie::%arg 2%} to location of player
- send "{@prefix}&7 You have placed the guardian spawn of the arena %arg 2%"
- else:
- send "{@prefix}&c There is already such an arena." #
- else:
- send "{@prefix}&c Please put the name of the arena." #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "kitcreate":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {kit::c::%arg 2%} is not set:
- set {kit.helm::%arg 2%} to helmet of player
- set {kit.chest::%arg 2%} to chestplate of player
- set {kit.legs::%arg 2%} to leggings of player
- set {kit.boots::%arg 2%} to boots of player
- set {kit.items::%arg 2%} to serialized inventory of player
- set {kit::c::%arg 2%} to true
- add arg 2 to {kits::liste::*}
- wait 0.5 seconds
- clear player's inventory
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- send "{@prefix} &2&lYou have created the kit &6&l%arg 2%&2&l successfully." #
- else:
- send "{@prefix}&c %arg 2%, it already existss!" #
- else:
- send "{@prefix}&c Put name of the kit you want to create!" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "kitvipcreate":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {kit::c::%arg 2%} is not set:
- set {kit.helm::%arg 2%} to helmet of player
- set {kit.chest::%arg 2%} to chestplate of player
- set {kit.legs::%arg 2%} to leggings of player
- set {kit.boots::%arg 2%} to boots of player
- set {kit.items::%arg 2%} to serialized inventory of player
- set {kit::c::%arg 2%} to true
- add arg 2 to {kitsvip::liste::*}
- wait 0.5 seconds
- clear player's inventory
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- send "{@prefix} &2&lYou have created the kit&5&l vip &6&l%arg 2%&2&l successfully." #
- else:
- send "{@prefix}&c %arg 2%, it already existss!" #
- else:
- send "{@prefix}&c Put name of the kit you want to create!" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "kits":
- if {sw::%player%::lobby} is true:
- wait 2 ticks
- open chest with 2 rows named "&3&LSkyWars &2&lKits" to player
- set {_x} to 0
- loop {kits::liste::*}:
- format slot {_x} of player with paper named "&6&l%loop-value%" with lore "&a&lclick to select" to close then run "swconsoliokit vip %player% %uncolored loop-value%"
- add 1 to {_x}
- else:
- send "{@prefix}&c You have to be in the lobby of a game to do that." #
- else if arg 1 is "shop":
- if {sw::%player%::ingame} is true:
- if player has permission "SkyWars+.shop":
- wait 2 ticks
- open chest with 1 rows named "&3&LSkyWars &2&lShop" to player
- format slot 0 of player with golden apple:0 named "&6Golden apple" with lore "&7&lPrice:&2&l 25 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 1"]
- format slot 1 of player with diamond named "&3Diamond" with lore "&7&lPrice:&2&l 45 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 2"]
- format slot 2 of player with leather helmet named "&7Leather Helmet" with lore "&7&lPrice:&2&l 20 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 3"]
- format slot 3 of player with leather chestplate named "&7Leather Chestplate" with lore "&7&lPrice:&2&l 25 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 4"]
- format slot 4 of player with leather leggings named "&7Leather Leggings" with lore "&7&lPrice:&2&l 25 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 5"]
- format slot 5 of player with leather boots named "&7Leather Boots" with lore "&7&lPrice:&2&l 20 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 6"]
- format slot 6 of player with tnt named "&cTNT" with lore "&7&lPrice:&2&l 30 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 7"]
- format slot 7 of player with ender pearl named "&5Ender Pearl" with lore "&7&lPrice:&2&l 35 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 8"]
- format slot 8 of player with diamond helmet named "&3Diamond Helmet" with lore "&7&lPrice:&2&l 55 coins||&eClick to buy" to close then run [make player execute command "/wfshop1 9"]
- else:
- send "{@prefix}&c You don't have permission to do this"
- else:
- send "{@prefix}&c You have to be within a game."
- else if arg 1 is "kitsvip":
- if {sw::%player%::lobby} is true:
- if player has permission "SkyWars+.kitsvip":
- wait 2 ticks
- open chest with 2 rows named "&3&LSkyWars &2&lKits&5&l VIP" to player
- set {_x} to 0
- loop {kitsvip::liste::*}:
- format slot {_x} of player with paper named "&6&l%loop-value%" with lore "&a&lclick to select" to close then run "swconsoliokit vip %player% %uncolored loop-value%"
- add 1 to {_x}
- else:
- send "{@prefix}&c No tienes permiso para los kits vip"
- else:
- send "{@prefix}&c You have to be in the lobby of a game to do that." #
- else if arg 1 is "stats":
- open chest with 1 rows named "&2&lSkyWars Stats" to player
- wait 0.2 seconds
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- format slot 2 of player with diamond sword named "&2&lKills:&7&l %{sw::kills::%player%}%" to be unstealable
- format slot 6 of player with redstone named "&c&lDeaths:&7&l %{sw::deaths::%player%}%" to be unstealable
- format slot 4 of player with paper named "&e&lPlayed Games:&7&l %{sw::playedgames::%player%}%" to be unstealable
- format slot 0 of player with Diamond named "&6&lWins:&7&l %{sw::wins::%player%}%" to be unstealable
- format slot 8 of player with gold ingot named "&6&lCoins:&7&l %{sw.coins::%player%}%" to be unstealable
- else if arg 1 is "wand":
- if player has permission "SkyWars+.admin":
- give 1 golden hoe named "&a&lSkyWars Wand" to player
- play raw sound "note.pling" at player with pitch 1 volume 0.1
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- stop
- else if arg 1 is "list" or "arenas":
- wait 2 ticks
- play raw sound "note.pling" at player with pitch 1 volume 0.1
- open chest with 4 rows named "&2&LSkyWars Arenas" to player
- set {_x} to 0
- loop {skywars::liste::*}:
- format slot {_x} of player with bow named "&6&l%loop-value%" with lore "&a&lPlayers: &6&l%{skywars::arena::%loop-value%}%/%{maxarena::%loop-value%}%||||&a&lStatus: %{sw.status::%loop-value%}%||||&e&l>>Click to join " to close then run "swconsolio %player% %uncolored loop-value%"
- add 1 to {_x}
- else if arg 1 is "remove":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {sw.arena::%arg 2%} is true:
- clear {sw.arena::%arg 2%}
- remove arg 2 from {skywars::liste::*}
- clear {sw.spawn.arena::%arg 2%}
- clear {skywars::arena::%arg 2%}
- clear {sw.lobby.arena::%arg 2%}
- send "{@prefix}&7 Arena removed:&a %arg 2%" #
- else:
- send "{@prefix}&c Please enter a correct argument: &6%arg 2%" #
- else:
- send "{@prefix}&c Please enter a correct argument" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setmainlobby":
- if player has permission "SkyWars+.admin":
- if arg 2 is not set:
- set {sw.mainlobby} to location of player
- send "{@prefix}&7 Main lobby has been set." #
- else:
- send "{@prefix}&c Unknown command!" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setlobby":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {sw.arena::%arg 2%} is true:
- set {sw.lobby.arena::%arg 2%} to location of player
- send "{@prefix}&7 Lobby of arena &6%arg 2%&7 has been set!" #
- else:
- send "{@prefix}&c Please enter a correct argument: &6%arg 2%" #
- else:
- send "{@prefix}&c Please enter a correct argument" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setminplayers":
- if player has permission "SkyWars+.admin":
- if arg 3 is set:
- if {sw.arena::%arg 2%} is true:
- set {min.arena::%arg 2%} to arg 3
- send "{@prefix}&7 Min players of &6%arg 2% &7has been set:&6 %arg 3%" #
- else:
- send "{@prefix}&c Please enter a correct argument: &6%arg 2%" #
- else:
- send "{@prefix}&c put the max players for arena:&6 %arg 2%" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setmaxplayers":
- if player has permission "SkyWars+.admin":
- if arg 3 is set:
- if {sw.arena::%arg 2%} is true:
- set {maxarena::%arg 2%} to arg 3
- send "{@prefix}&7 Max players of &6%arg 2%&7 has been set:&6 %arg 3%" #
- else:
- send "{@prefix}&c Please enter a correct argument: &6%arg 2%" #
- else:
- send "{@prefix}&c put the max players for arena:&6 %arg 2%" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "setspawn":
- if player has permission "SkyWars+.admin":
- if arg 2 is set:
- if {sw.arena::%arg 2%} is true:
- if arg 3 is set:
- set {sw.spawn.arena::%arg 2%::%arg 3%} to location of player
- send "{@prefix}&7 &6Spawnpoint %arg 3%&7 of arena &6%arg 2%&7 has been set!" #
- else:
- send "{@prefix}&c put: /sw setspawn (arena) (1/2/3/4...)" #
- else:
- send "{@prefix}&c Please enter a correct argument: &6%arg 2%" #
- else:
- send "{@prefix}&c Please enter a correct argument" #
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "holo":
- if player has permission "skywars+.admin":
- if arg 2 is "create":
- if arg 3 is "stats":
- if {sw::%player%::lobby} and {sw::%player%::ingame} and {sw.spectator::%player%} is false:
- set {_loc:%player%} to the location 3 meters above the player
- create hologram "&eYour &b&lSKYWARS &aStats;&aWins: &6%{sw::wins::%player%}%;&aKills: &6%{sw::kills::%player%}%;&aDeaths: &6%{sw::deaths::%player%}%;&aGames Played: &6%{sw::games::%player%}%;&aArrows Shot: &6%{sw::arrows::%player%}%;&aBlocks Broken: &6%{sw::break::%player%}%;&aBlocks Placed: &6%{sw::place::%player%}%;&aDistance Walked: &6%{sw::walk::%player%}%" at {_loc:%player%} for 5 seconds
- send "{@prefix} &aHologram succesfully added!"
- else:
- send "{@prefix} &cYou need to be in the main lobby to execute that command!"
- else:
- send "{@prefix} &cYou only can create an hologram with that name: stats!"
- else if arg 2 is "remove" or "delete":
- if arg 3 is set:
- if {sw::%player%::lobby} and {sw::%player%::ingame} and {sw.spectator::%player%} is false:
- delete {hg.statsname}
- send "{@prefix} &aHologram succesfully removed!"
- else:
- send "{@prefix} &cYou need to put a name of an hologram to remove it!"
- else:
- send "{@prefix}&c You don't have permission to do this!" #
- else if arg 1 is "join":
- if arg 2 is set:
- if {sw::%player%::lobby} and {sw::%player%::ingame} is false:
- if {sw.arena::%arg 2%} is true:
- if {sw.status::%arg 2%} is "&aWaiting..." or "&3Starting":
- if (size of {sw.players.%arg 2%::*}) < {maxarena::%arg 2%}:
- if {joinquit::%player%} is not set:
- add player to {sw.players.%arg 2%::*}
- set {sw::%player%::lobby} to true
- set player's hunger to 20
- invoke "joinquitsw" from player
- set player's health to 20
- set player's gamemode to survival
- add 1 to {skywars::arena::%arg 2%}
- invoke "save-inv" from player
- set {sw::%player%::ingame} to false
- set {sw.%player%.arena} to arg 2
- clear player's inventory
- send "{@prefix} &2%player%&7 has joined the game. &6(%{skywars::arena::%{sw.%player%.arena}%}%/%{maxarena::%{sw.%player%.arena}%}%)" to {sw.players.%{sw.%player%.arena}%::*} #
- send "{@prefix}&c To start the game you need &6&l%{min.arena::%{sw.%player%.arena}%}%&c players" to {sw.players.%{sw.%player%.arena}%::*} #
- teleport player to {sw.lobby.arena::%arg 2%}
- invoke "sign-status" from arg-2
- send "{@prefix}&7 You have joined the game successfully!" #
- loop {sw.players.%{sw.%player%.arena}%::*}:
- wait 0.7 seconds
- set slot 0 of loop-value's inventory to {@KitsItem} named "{@KitsItemName}"
- set slot 1 of loop-value's inventory to {@KitsVIPItem} named "{@KitsVIPItemName}"
- set slot 8 of loop-value's inventory to {@LeaveItem} named "{@LeaveItemName}"
- if (size of {sw.players.%arg 2%::*}) is greater or equal to {min.arena::%arg 2%}:
- if player is online:
- set {sw.status::%{sw.%player%.arena}%} to "&3Starting"
- invoke "sign-status" from arg-2
- set {start.arena::%arg 2%} to false
- invoke "tiempo-arena" from player
- loop 10 times:
- if (size of {sw.players.%arg 2%::*}) >= {min.arena::%arg 2%}:
- wait 1 seconds
- else:
- stop
- if (size of {sw.players.%{sw.%player%.arena}%::*}) >= {min.arena::%{sw.%player%.arena}%}:
- set {sw.status::%arg 2%} to "&cInGame"
- delete all dropped items
- invoke "sign-status" from {sw.%player%.arena}
- invoke "kit-give" from {sw.players.%{sw.%player%.arena}%::*}
- set {_n} to 1
- loop {sw.players.%{sw.%player%.arena}%::*}:
- apply potion of resistance of tier 10 to loop-value for 4 seconds
- set {_p} to "%loop-value%" parsed as player
- teleport {_p} to {sw.spawn.arena::%arg 2%::%{_n}%}
- display board named "" to loop-value
- add 1 to {_n}
- loop {sw.players.%{sw.%player%.arena}%::*}:
- add 1 to {sw::playedgames::%loop-value%}
- clear loop-value's inventory
- set {sw::%loop-value%::lobby} to false
- set {sw::%loop-value%::ingame} to true
- send "{@prefix}&2 The game has already started!!!" to {sw.players.%{sw.%player%.arena}%::*} #
- wait 3 seconds
- loop 2 times:
- invoke "zombie-spawn" from arg-2
- wait 0.5 seconds
- stop
- else:
- send "{@prefix}&7 When you left a game, you need to wait for 2 seconds to join another game!"
- else:
- send "{@prefix}&c the arena is full" #
- else:
- send "{@prefix}&c The arena is at stake" #
- else:
- send "{@prefix} &6%arg 2%&c does not exist" #
- else:
- send "{@prefix}&c&l You are already in game." #
- else:
- send "{@prefix}&c&l Unknown command." #
- else if arg 1 is "leave":
- if {spectator::%player%} is false:
- if {sw::%player%::lobby} or {sw::%player%::ingame} is true:
- if arg 2 is not set:
- if {joinquit::%player%} is not set:
- teleport player to {sw.mainlobby}
- display board named "" to player
- clear player's inventory
- set player's hunger to 20
- invoke "joinquitsw" from player
- set player's health to 20
- clear {tkit::%player%}
- remove 1 from {skywars::arena::%{sw.%player%.arena}%}
- set {sw::%player%::lobby} to false
- set {sw::%player%::ingame} to false
- send "{@prefix}&7 You have left the arena!" #
- remove player from {sw.players.%{sw.%player%.arena}%::*}
- invoke "give-inv" from player
- invoke "sign-status" from {sw.%player%.arena}
- send "{@prefix}&c &2%player%&7 has left the game &6(%{skywars::arena::%{sw.%player%.arena}%}%/%{maxarena::%{sw.%player%.arena}%}%)" to {sw.players.%{sw.%player%.arena}%::*} #
- if (size of {sw.players.%{sw.%player%.arena}%::*}) = 1:
- if {sw.status::%{sw.%player%.arena}%} is "&3Starting":
- set {sw.status::%{sw.%player%.arena}%} to "&aWaiting..."
- invoke "sign-status" from {sw.%player%.arena}
- if (size of {sw.players.%{sw.%player%.arena}%::*}) = 1:
- if {sw.status::%{sw.%player%.arena}%} is "&cInGame":
- loop {sw.players.%{sw.%player%.arena}%::*}:
- set {sw::%loop-value%::lobby} to true
- broadcast "{@prefix}&6&l %{sw.players.%{sw.%player%.arena}%::*}%&7 has won on the map %{sw.%player%.arena}%"
- send "{@prefix}&3&l you receive &5&l{@coins_by_win} coins" to {sw.players.%{sw.%player%.arena}%::*}
- loop 10 times:
- launch Ball firework colored green or blue or red at {sw.players.%{sw.%player%.arena}%::*} timed 1.2
- launch Ball firework colored green or blue or red at {sw.players.%{sw.%player%.arena}%::*} timed 1.2
- wait 10 ticks
- clear {sw.players.%{sw.%player%.arena}%::*}'s inventory
- teleport {sw.players.%{sw.%player%.arena}%::*} to {sw.mainlobby}
- wait 0.7 seconds
- loop {sw.players.%{sw.%player%.arena}%::*}:
- clear loop-value's inventory
- add 1 to {sw::wins::%loop-value%}
- set {sw::%loop-value%::lobby} to false
- set {sw::%loop-value%::ingame} to false
- add {@coins_by_win} to {sw.coins::%loop-value%}
- display board named "" to loop-value
- set loop-value's health to 20
- clear {sw.player::%loop-value%::*}
- invoke "give-inv" from {sw.players.%{sw.%player%.arena}%::*}
- remove {sw.players.%{sw.%player%.arena}%::*} from {sw.players.%{sw.%player%.arena}%::*}
- set {start.arena::%{sw.%player%.arena}%} to true
- set {skywars::arena::%{sw.%player%.arena}%} to 0
- invoke "sign-status" from {sw.%player%.arena}
- loop all zombies in radius 50 around location of {sw.zombie::%{sw.%player%.arena}%}:
- kill loop-zombie
- invoke "schematic-liberar" from {sw.%player%.arena}
- stop
- else:
- send "{@prefix}&7 When you leave a game, you need to wait for 2 seconds to join the game!"
- else:
- send "{@prefix}&c Unknown command." #
- else:
- send "{@prefix}&c You are not in game now!" #
- else:
- invoke "spect-quit" from player
- else:
- message "&r"
- message "&9&l[--------------------------------------------]"
- message "&r"
- message " &cCommands of {@prefix}:"
- message "&r"
- message " &eUser commands:"
- message " &a/sw join <arena> &5&l| &7skywars+.join &6(Join an arena)"
- message " &a/sw leave &5&l| &7skywars+.leave &6(Leave an arena)"
- message " &a/sw arenas &5&l| &7skywars+.arenas &6(See all the arenas)"
- message " &a/sw stats &5&l| &7skywars+.stats &6(See your stats)"
- message " &a/sw kits &5&l| &7skywars+.kits &6(Select a kit)"
- message " &a/sw shop &5&l| &7skywars+.shop &6(Open the shop)"
- message " &a/sw top &5&l| &7skywars+.top &6(See the top players)"
- message "&r"
- message "&9&l[--------------------------------------------]"
- message "&r"
- if player has permission "skywars+.admin":
- message "&r"
- message "&9&l[--------------------------------------------]"
- message "&r"
- message " &cAdmin commands:"
- message " &a/sw setmainlobby &5&l| §7skywars+.setmainlobby"
- message " &6(Set mainlobby of the game)"
- message " &a/sw wand &5&l| §7skywars+.wand"
- message " &6(Select an arena with the wand)"
- message " &a/sw create <arena> &2(It can not be a number) &5&l|"
- message " &7skywars+.admin &6 (Create an arena)"
- message " &a/sw setlobby <arena> &5&l| §7skywars+.admin"
- message " &6(Set the waiting lobby of an arena)"
- message " &a/sw setminplayers <arena> <number> &5&l| §7skywars+.admin"
- message " &6(Set Min Players of an arena)"
- message " &a/sw setmaxplayers <arena> <number> &5&l| §7skywars+.admin"
- message " &6(Set Max Players of an arena)"
- message " &a/sw setspawn <arena> <number> &5&l| §7skywars+.admin"
- message " &6(Set Spawns of an arena)"
- message " &a/sw setspawnguardian <arena> <number> &5&l| §7skywars+.admin"
- message " &6(Set the Spawn of the Guardian of the arena)"
- message " &a/sw remove <arena> &5&l| §7skywars+.admin"
- message " &6(Remove an arena)"
- message " &a/sw kitcreate <namekit> &5&l| §7skywars+.admin"
- message " &6(Create a kit)"
- message " &a/sw kitremove <namekit> &5&l| §7skywars+.admin"
- message " &6(Remove a kit)"
- message " &a/sw kitvipcreate <namekit> &5&l| §7skywars+.admin"
- message " &6(Create a VIP kit)"
- message " &a/sw kitvipremove <namekit> &5&l| §7skywars+.admin"
- message " &6(Remove a VIP kit)"
- message " &a/sw reload &5&l| §7skywars+.admin"
- message " &6(Reload the plugin)"
- message "&r"
- message "&9&l[--------------------------------------------]"
- message "&r"
- on jump:
- if {sw::%player%::ingame} is true:
- if {sw+.config::btp} is "true":
- loop blocks upwards:
- if block under player is bedrock:
- if loop-block-1 is bedrock:
- if block above loop-block-1 is air:
- teleport player to block above loop-block-1
- play raw sound "mob.endermen.portal" at player with pitch 1 volume 1
- create an animated ball effect at location of player with id "6" with particle portal
- wait 2 seconds
- delete effect "6"
- on sneak toggle:
- if {sw::%player%::ingame} is true:
- if {sw+.config::btp} is "true":
- if block under player is bedrock:
- loop blocks downwards:
- if loop-block-1 is not block under player:
- if loop-block-1 is bedrock:
- if block above loop-block-1 is air:
- teleport player to block above loop-block-1
- play raw sound "mob.endermen.portal" at player with pitch 1 volume 1
- create an animated ball effect at location of player with id "7" with particle portal
- wait 2 seconds
- delete effect "7"
- command /true:
- trigger:
- set {sw::%player%::ingame} to true
- send "Hola" to player
- on death of player:
- if {sw::%victim%::ingame} is true:
- set victim's health to 20
- invoke "spect" from victim
- add {@coins_by_kill} to {sw.coins::%attacker%}
- send "{@prefix}&3&l you receive &5&l{@coins_by_kill} coins" to attacker
- clear {sw.player::%victim%::*}
- clear {tkit::%victim%}
- apply potion of resistance of tier 10 to victim for 6 seconds
- wait 0.3 seconds
- if {sw::%attacker%::ingame} is true:
- add 1 to {sw::kills::%attacker%}
- add 1 to {sw::deaths::%victim%}
- display "&6&lTo exit: &2&l/sw leave" on bossbar with 100 percent by 6 seconds for victim
- if {sw::%attacker%::ingame} is true:
- send "{@prefix} &2%victim%&7 is dead by &2&l%attacker%" to {sw.players.%{sw.%player%.arena}%::*} #
- else:
- send "{@prefix} &2%victim%&7 is dead" to {sw.players.%{sw.%player%.arena}%::*} #
- invoke "give-inv" from victim
- set {sw::%victim%::lobby} to false
- display board named "" to victim
- set {sw::%victim%::ingame} to false
- remove victim from {sw.players.%{sw.%victim%.arena}%::*}
- remove 1 from {skywars::arena::%{sw.%victim%.arena}%}
- invoke "sign-status" from {sw.%victim%.arena}
- if (size of {sw.players.%{sw.%victim%.arena}%::*}) = 1:
- wait 1 seconds
- loop {sw.players.%{sw.%victim%.arena}%::*}:
- set {sw::%loop-value%::lobby} to true
- broadcast "{@prefix}&6&l %{sw.players.%{sw.%victim%.arena}%::*}%&7 has won on the map %{sw.%victim%.arena}%"
- send "{@prefix}&3&l you receive &5&l{@coins_by_win} coins" to {sw.players.%{sw.%player%.arena}%::*}
- invoke "sign-status" from {sw.%victim%.arena}
- loop 10 times:
- launch Ball firework colored green or blue or red at {sw.players.%{sw.%player%.arena}%::*} timed 1.2
- launch Ball firework colored green or blue or red at {sw.players.%{sw.%player%.arena}%::*} timed 1.2
- wait 10 ticks
- clear {sw.players.%{sw.%victim%.arena}%::*}'s inventory
- teleport {sw.players.%{sw.%victim%.arena}%::*} to {sw.mainlobby}
- loop {spec::arena::%{sw.%victim%.arena}%::*}:
- make loop-value execute command "/skywars leave"
- wait 0.7 seconds
- loop {sw.players.%{sw.%victim%.arena}%::*}:
- clear loop-value's inventory
- clear {tkit::%loop-value%}
- add 1 to {sw::wins::%loop-value%}
- add {@coins_by_win} to {sw.coins::%loop-value%}
- set {sw::%loop-value%::lobby} to false
- set {sw::%loop-value%::ingame} to false
- display board named "" to loop-value
- clear {sw.player::%loop-value%::*}
- set loop-value's health to 20
- invoke "give-inv" from {sw.players.%{sw.%player%.arena}%::*}
- remove {sw.players.%{sw.%player%.arena}%::*} from {sw.players.%{sw.%player%.arena}%::*}
- set {start.arena::%{sw.%victim%.arena}%} to true
- set {skywars::arena::%{sw.%victim%.arena}%} to 0
- invoke "sign-status" from {sw.%victim%.arena}
- loop all zombies in radius 50 around location of {sw.zombie::%{sw.%victim%.arena}%}:
- kill loop-zombie
- invoke "schematic-liberar" from {sw.%victim%.arena}
- stop
- command /swconsolio [<text>] [<text>]:
- executable by: console
- trigger:
- set {_p} to "%arg 1%" parsed as player
- make {_p} execute command "/sw join %arg 2%"
- command /swconsoliokit [<text>] [<text>] [<text>]:
- executable by: console
- trigger:
- if arg 1 is "normal":
- set {_p} to "%arg 2%" parsed as player
- make {_p} execute command "/37528 %arg 3%"
- else if arg 1 is "vip":
- set {_p} to "%arg 2%" parsed as player
- make {_p} execute command "/37528897 %arg 3%"
- on sign change:
- if player has permission "SkyWars+.admin":
- if line 1 is "[skywars]" or "[sw]":
- if line 2 is "join" or "Join":
- if {sw.arena::%uncolored line 3%} is true:
- set line 1 to "&6&lSkyWars"
- set line 2 to "%{sw.status::%uncolored line 3%}%"
- set line 3 to "%uncolored line 3%"
- set line 4 to "&8%{skywars::arena::%uncolored line 3%}%/%{maxarena::%uncolored line 3%}%"
- set {sw.sign-loc::%line 3%} to event-block
- invoke "sign-status" from line 3
- send "{@prefix} &7Sign successfully placed!" to player
- else:
- set line 1 to "&4SkyWars"
- set line 2 to "&cError"
- send "&cThis game does not exist!"
- else if line 2 is "kit":
- if {kit::c::%line 3%} is true:
- set line 1 to "&6&lSkyWars"
- set line 2 to "&lKit:"
- set line 3 to "%uncolored line 3%"
- set line 4 to ""
- on break a sign or wall sign:
- if {sw.sign-loc::%line 3%} is set:
- if player is op:
- delete {sw.sign-loc::%line 3%}
- send "{@prefix} &cSign Removed!" to player
- else:
- cancel event
- on rightclick on sign:
- if line 1 of clicked block is "&6&lSkyWars":
- if line 2 of clicked block is "&lKit:":
- set {tkit::%player%} to "%line 3%"
- send "{@prefix}&7 You have selected the kit:&6&l %line 3%" to player
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- on rightclick on sign:
- if {sw.sign-loc::%line 3%} is set:
- make player execute command "/skywars join %uncolored line 3%"
- on damage of player:
- if {sw::%victim%::lobby} is true:
- cancel event
- on drop:
- if {sw::%player%::lobby} is true:
- cancel event
- on hunger meter change:
- if {sw::%player%::lobby} is true:
- cancel event
- on inventory click:
- if {sw::%player%::lobby} is true:
- cancel event
- on break:
- if {sw::%player%::lobby} is true:
- cancel event
- on command:
- if {sw::%player%::lobby} or {sw::%player%::ingame} or {spectator::%player%} is true:
- command isn't equal to "sw" or "37528" or "skywars" or "login" or "37528897" or "wfshop1"
- cancel event
- send "{@prefix}&c You can't do that within heading"
- on place:
- if {sw::%player%::lobby} is true:
- cancel event
- on chat:
- if {sw::%player%::ingame} is true:
- cancel event
- send "&a%player% &8&l» &f%message%" to {sw.players.%{sw.%player%.arena}%::*} and {spec::arena::%{sw.%player%.arena}%::*}
- stop
- if {spectator::%player%} is true:
- cancel event
- send "&7[&eSPECTATOR&7]&a%player% &8&l» &f%message%" to {sw.players.%{sw.%player%.arena}%::*} and {spec::arena::%{sw.%player%.arena}%::*}
- stop
- sub "joinquitsw":
- set {_p} to parameter 1
- set {joinquit::%{_p}%} to true
- wait 3 seconds
- clear {joinquit::%{_p}%}
- sub "spect":
- set {_value} to parameter 1
- set {_value}'s gamemode to spectator
- set {spectator::%{_value}%} to true
- add {_value} to {spec::arena::%{sw.%{_value}%.arena}%::*}
- wait 3 ticks
- teleport {_value} to {sw.spawn.arena::%{sw.%{_value}%.arena}%::1}
- sub "spect-quit":
- set {_value} to parameter 1
- set {_value}'s gamemode to survival
- set {spectator::%{_value}%} to false
- teleport {spec::arena::%{sw.%{_value}%.arena}%::*} to {sw.mainlobby}
- display board named "" to {_value}
- remove {_value} from {spec::arena::%{sw.%{_value}%.arena}%::*}
- sub "sign-status":
- set {_line3} to "%parameter 1%"
- set line 1 of block at {sw.sign-loc::%{_line3}%} to "&6&lSkyWars"
- set line 2 of block at {sw.sign-loc::%{_line3}%} to "%{sw.status::%{_line3}%}%"
- set line 3 of block at {sw.sign-loc::%{_line3}%} to "%{_line3}%"
- set line 4 of block at {sw.sign-loc::%{_line3}%} to "&8%{skywars::arena::%{_line3}%}%/%{maxarena::%{_line3}%}%"
- if {sw.status::%{_line3}%} is "&aWaiting...":
- set block 1 behind the block at {sw.sign-loc::%{_line3}%} to glass:5
- if {sw.status::%{_line3}%} is "&cInGame":
- set block 1 behind the block at {sw.sign-loc::%{_line3}%} to glass:14
- if {sw.status::%{_line3}%} is "&eRebuilding":
- set block 1 behind the block at {sw.sign-loc::%{_line3}%} to glass:4
- if {sw.status::%{_line3}%} is "&3Starting":
- set block 1 behind the block at {sw.sign-loc::%{_line3}%} to glass:9
- sub "kit-give":
- set {_ps} to parameter 1
- loop {sw.players.%{sw.%{_ps}%.arena}%::*}:
- set {_p} to loop-value
- set {_pUUID} to "%uuid of {_p}%"
- wait 0.7 seconds
- play raw sound "random.pop" at {_p} with pitch 1 volume 0.1
- give {kit.helm::%{tkit::%{_p}%}%} to helmet of {_p}
- give {kit.chest::%{tkit::%{_p}%}%} to chestplate of {_p}
- give {kit.legs::%{tkit::%{_p}%}%} to leggings of {_p}
- give {kit.boots::%{tkit::%{_p}%}%} to boots of {_p}
- restore inventory of {_p} from {kit.items::%{tkit::%{_p}%}%}
- sub "save-inv":
- set {_value} to parameter 1
- set {_uuid} to "%uuid of {_value}%"
- set {_count} to 0
- loop 36 times:
- set {inv.%{_uuid}%.%{_count}%.main} to slot {_count} of {_value}'s inventory
- add 1 to {_count}
- set {inv.%{_uuid}%.helmet.main} to {_value}'s helmet
- set {inv.%{_uuid}%.chest.main} to {_value}'s chestplate
- set {inv.%{_uuid}%.legs.main} to {_value}'s leggings
- set {inv.%{_uuid}%.feet.main} to {_value}'s boots
- sub "give-inv":
- set {_value} to parameter 1
- set {_uuid} to "%uuid of {_value}%"
- set {_count} to 0
- loop 36 times:
- set slot {_count} of {_value}'s inventory to {inv.%{_uuid}%.%{_count}%.main}
- add 1 to {_count}
- set the helmet of {_value} to {inv.%{_uuid}%.helmet.main}
- set the chestplate of {_value} to {inv.%{_uuid}%.chest.main}
- set the leggings of {_value} to {inv.%{_uuid}%.legs.main}
- set the boots of {_value} to {inv.%{_uuid}%.feet.main}
- command /37528 [<text>]:
- trigger:
- if {sw::%player%::lobby} is true:
- set {tkit::%player%} to "%uncolored arg 1%"
- send "{@prefix}&7 You have selected the kit:&6&l %arg 1%" #
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- command /wfshop1 [<text>]:
- trigger:
- if {sw::%player%::ingame} is true:
- if player has permission "SkyWars+.shop":
- if arg 1 is "1":
- if {sw.coins::%player%} >= 25:
- give player 1 golden apple:0
- remove 25 from {sw.coins::%player%}
- send "{@prefix}&a You bought a golden apple.&7 Now you have &6{sw.coins::%player%}&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "2":
- if {sw.coins::%player%} >= 45:
- give player 1 Diamond
- remove 45 from {sw.coins::%player%}
- send "{@prefix}&a You bought a diamond.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "3":
- if {sw.coins::%player%} >= 20:
- give player 1 leather helmet
- remove 20 from {sw.coins::%player%}
- send "{@prefix}&a You bought a leather helmet.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "4":
- if {sw.coins::%player%} >= 25:
- give player 1 leather chestplate
- remove 25 from {sw.coins::%player%}
- send "{@prefix}&a You bought a leather chestplate.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "5":
- if {sw.coins::%player%} >= 25:
- give player 1 leather leggings
- remove 25 from {sw.coins::%player%}
- send "{@prefix}&a You bought a leather leggings.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "6":
- if {sw.coins::%player%} >= 20:
- give player 1 leather boots
- remove 20 from {sw.coins::%player%}
- send "{@prefix}&a You bought a leather boots.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "7":
- if {sw.coins::%player%} >= 30:
- give player 1 tnt
- remove 30 from {sw.coins::%player%}
- send "{@prefix}&a You bought a TNT.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "8":
- if {sw.coins::%player%} >= 35:
- give player 1 ender pearl
- remove 35 from {sw.coins::%player%}
- send "{@prefix}&a You bought a Ender Pearl.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- if arg 1 is "9":
- if {sw.coins::%player%} >= 55:
- give player 1 diamond helmet
- remove 55 from {sw.coins::%player%}
- send "{@prefix}&a You bought a Diamond Helmet.&7 Now you have &6%{sw.coins::%player%}%&7 coins"
- else:
- send "{@prefix}&c You don't have enough coins"
- else:
- send "{@prefix}&c You don't have permission to do this"
- command /37528897 [<text>]:
- trigger:
- if {sw::%player%::lobby} is true:
- if player has permission "SkyWars+.kitsvip":
- set {tkit::%player%} to "%uncolored arg 1%"
- send "{@prefix}&7 You have selected the kit:&6&l %arg 1%" #
- play raw sound "random.pop" at player with pitch 1 volume 0.1
- on right click with {@LeaveItem}:
- if {sw::%player%::lobby} is true:
- player is holding a {@LeaveItem} named "{@LeaveItemName}"
- cancel event
- make player execute command "/sw leave"
- on right click with {@JoinItem}:
- if {sw::%player%::lobby} is false:
- player is holding a {@JoinItem} named "{@JoinItemName}"
- cancel event
- make player execute command "/sw list"
- on drop:
- if {sw::%player%::lobby} is false:
- player is holding a {@JoinItem} named "{@JoinItemName}"
- cancel event
- on inventory click:
- if {sw::%player%::lobby} is false:
- player is holding a {@JoinItem} named "{@JoinItemName}"
- cancel event
- on right click with {@AbilitiesItem}:
- if {sw::%player%::lobby} is false:
- player is holding a {@AbilitiesItem} named "{@AbilitiesItemName}"
- cancel event
- make player execute command "/abilities"
- on drop:
- if {sw::%player%::lobby} is false:
- player is holding a {@AbilitiesItem} named "{@AbilitiesItemName}"
- cancel event
- on inventory click:
- if {sw::%player%::lobby} is false:
- player is holding a {@AbilitiesItem} named "{@AbilitiesItemName}"
- cancel event
- on right click with {@StatsItem}:
- if {sw::%player%::lobby} is false:
- player is holding {@StatsItem} named "{@StatsItemName}"
- cancel event
- make player execute command "/sw stats"
- on drop:
- if {sw::%player%::lobby} is false:
- player is holding a {@StatsItem} named "{@StatsItemName}"
- cancel event
- on inventory click:
- if {sw::%player%::lobby} is false:
- player is holding a {@StatsItem} named "{@StatsItemName}"
- cancel event
- on right click with {@KitsItem} or enchanted book:
- if {sw::%player%::lobby} is true:
- if player is holding a {@KitsItem} named "{@KitsItemName}":
- cancel event
- make player execute command "/sw kits"
- else if player is holding a {@KitsVIPItem} named "{@KitsVIPItemName}":
- cancel event
- make player execute command "/sw kitsvip"
- on death of zombie:
- clear drops
- if {sw::%attacker%::ingame} is true:
- wait 10 seconds
- invoke "zombie-spawn" from {sw.%attacker%.arena}
- every 3 seconds:
- invoke "sw-top-wins"
- invoke "sw-top-kills"
- loop all players:
- invoke "score_sw" from loop-player
- sub "zombie-spawn":
- set {_arena} to "%parameter 1%"
- if {sw.zombie::%{_arena}%} is set:
- spawn 1 zombie at {sw.zombie::%{_arena}%}
- set name of last spawned zombie to "&6&lGuard"
- equip last spawned zombie with diamond helmet
- equip last spawned zombie with diamond chestplate
- equip last spawned zombie with diamond leggings
- equip last spawned zombie with diamond boots
- set last spawned zombie's tool to diamond sword
- sub "tiempo-arena":
- set {_a} to "%parameter 1%"
- set {_seg} to 10
- loop 10 times:
- if (size of {sw.players.%{sw.%{_a}%.arena}%::*}) >= {min.arena::%{sw.%{_a}%.arena}%}:
- send "{@prefix}&7 It starts at %{_seg}%" to {sw.players.%{sw.%{_a}%.arena}%::*} #
- play raw sound "note.pling" at {sw.players.%{sw.%{_a}%.arena}%::*} with pitch 1 volume 0.1
- set level of {sw.players.%{sw.%{_a}%.arena}%::*} to {_seg}
- remove 1 from {_seg}
- wait 1 seconds
- else:
- send "{@prefix}&c Not enough players!" to {sw.players.%{sw.%{_a}%.arena}%::*} #
- set {start.arena::%{sw.%{_a}%.arena}%} to true
- stop
- sub "score_sw":
- set {_p} to "%parameter 1%" parsed as player
- if {sw::%{_p}%::lobby} is true:
- if {sw::%{_p}%::ingame} is false:
- display board named " &6&lSkyWars " to {_p}
- make score "&c " in board of {_p} to 6
- make score "&7Players:" in board of {_p} to 5
- make score "&6 %{skywars::arena::%{sw.%{_p}%.arena}%}%" in board of {_p} to 4
- make score "&7Arena:" in board of {_p} to 3
- make score "&6 %{sw.%{_p}%.arena}%" in board of {_p} to 2
- make score "&7Status:" in board of {_p} to 1
- make score "%{sw.status::%{sw.%{_p}%.arena}%}%" in board of {_p} to 0
- move display of {_p} to SIDEBAR
- stop
- if {sw::%{_p}%::ingame} or {spectator::%{_p}%} is true:
- display board named " &6&lSkyWars " to {_p}
- make score "&c " in board of {_p} to 6
- make score "&7Alive:" in board of {_p} to 5
- make score "&6 %{skywars::arena::%{sw.%{_p}%.arena}%}%" in board of {_p} to 4
- make score "&7Arena:" in board of {_p} to 3
- make score "&6 %{sw.%{_p}%.arena}%" in board of {_p} to 2
- make score "&7Status:" in board of {_p} to 1
- make score "%{sw.status::%{sw.%{_p}%.arena}%}%" in board of {_p} to 0
- move display of {_p} to SIDEBAR
- stop
- sub "schematic-guarad":
- set {_arena} to parameter 1
- set {_x} to 0
- loop blocks within {skywars::arena::%{_arena}%::pos1} to {skywars::arena::%{_arena}%::pos2}:
- if loop-block is not air:
- add 1 to {_x}
- set {skywars::arena::%{_arena}%::blocklar::%location of loop-block%} to type of block at loop-block
- if {_x} is 100:
- wait 1 ticks
- set {_x} to 0
- sub "schematic-liberar":
- set {_arena} to parameter 1
- invoke "sign-status" from {_arena}
- set {_x} to 0
- set {_y} to 0
- set {sw.status::%{_arena}%} to "&eRebuilding"
- invoke "sign-status" from {_arena}
- wait 0.2 seconds
- loop blocks within {skywars::arena::%{_arena}%::pos1} to {skywars::arena::%{_arena}%::pos2}:
- if {skywars::arena::%{_arena}%::blocklar::%location of loop-block%} is set:
- if type of loop-block is not {skywars::arena::%{_arena}%::blocklar::%location of loop-block%}:
- add 1 to {_x}
- set block at loop-block to {skywars::arena::%{_arena}%::blocklar::%location of loop-block%}
- if {_x} is 100:
- wait 1 ticks
- set {_x} to 0
- else:
- if loop-block is not air:
- set block at loop-block to air
- if {_y} is 100:
- wait 1 ticks
- set {_y} to 0
- set {sw.status::%{_arena}%} to "&aWaiting..."
- invoke "sign-status" from {_arena}
- sub "sw-top-kills":
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- loop {sw::kills::*}:
- if loop-value is more than {_1st.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- if line 1 of {kills.top::1} is "&3&LSkyWars":
- set line 2 of {kills.top::1} to "&6&l%{_1st}%"
- set line 3 of {kills.top::1} to "&a%{_1st.point}% kills"
- if line 1 of {kills.top::2} is "&3&LSkyWars":
- set line 2 of {kills.top::2} to "&6&l%{_2nd}%"
- set line 3 of {kills.top::2} to "&a%{_2nd.point}% kills"
- if line 1 of {kills.top::3} is "&3&LSkyWars":
- set line 2 of {kills.top::3} to "&6&l%{_3rd}%"
- set line 3 of {kills.top::3} to "&a%{_3rd.point}% kills"
- if line 1 of {kills.top::4} is "&3&LSkyWars":
- set line 2 of {kills.top::4} to "&6&l%{_4tlmg}%"
- set line 3 of {kills.top::4} to "&a%{_4th.point}% kills"
- if line 1 of {kills.top::5} is "&3&LSkyWars":
- set line 2 of {kills.top::5} to "&6&l%{_5th}%"
- set line 3 of {kills.top::5} to "&a%{_5th.point}% kills"
- sub "sw-top-wins":
- set {_1st.point} to 0
- set {_2nd.point} to 0
- set {_3rd.point} to 0
- set {_4th.point} to 0
- set {_5th.point} to 0
- loop {sw::wins::*}:
- if loop-value is more than {_1st.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to {_1st}
- set {_2nd.point} to {_1st.point}
- set {_1st} to loop-index
- set {_1st.point} to loop-value
- else if loop-value is more than {_2nd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to {_2nd}
- set {_3rd.point} to {_2nd.point}
- set {_2nd} to loop-index
- set {_2nd.point} to loop-value
- else if loop-value is more than {_3rd.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to {_3rd}
- set {_4th.point} to {_3rd.point}
- set {_3rd} to loop-index
- set {_3rd.point} to loop-value
- else if loop-value is more than {_4th.point}:
- set {_5th} to {_4tlmg}
- set {_5th.point} to {_4th.point}
- set {_4tlmg} to loop-index
- set {_4th.point} to loop-value
- else if loop-value is more than {_5th.point}:
- set {_5th} to loop-index
- set {_5th.point} to loop-value
- if line 1 of {wins.top::1} is "&3&LSkyWars":
- set line 2 of {wins.top::1} to "&6&l%{_1st}%"
- set line 3 of {wins.top::1} to "&a%{_1st.point}% wins"
- if line 1 of {wins.top::2} is "&3&LSkyWars":
- set line 2 of {wins.top::2} to "&6&l%{_2nd}%"
- set line 3 of {wins.top::2} to "&a%{_2nd.point}% wins"
- if line 1 of {wins.top::3} is "&3&LSkyWars":
- set line 2 of {wins.top::3} to "&6&l%{_3rd}%"
- set line 3 of {wins.top::3} to "&a%{_3rd.point}% wins"
- if line 1 of {wins.top::4} is "&3&LSkyWars":
- set line 2 of {wins.top::4} to "&6&l%{_4tlmg}%"
- set line 3 of {wins.top::4} to "&a%{_4th.point}% wins"
- if line 1 of {wins.top::5} is "&3&LSkyWars":
- set line 2 of {wins.top::5} to "&6&l%{_5th}%"
- set line 3 of {wins.top::5} to "&a%{_5th.point}% wins"
- on sign change:
- line 1 is "[swtopwins]":
- player has permission "SkyWars+.admin"
- if line 2 is "1" or "2" or "3" or "4" or "5":
- set line 1 to "&3&LSkyWars"
- set line 2 to "%line 2%"
- set line 3 to ""
- set line 4 to "<OP %line 2%"
- set {wins.top::%line 2%} to block
- wait 0.5 seconds
- invoke "sw-top-wins"
- else:
- set line 2 to "&4ERROR"
- send "{@prefix}&4&l You can only put top 1/2/3/4/5" to player
- on sign change:
- line 1 is "[swtopkills]":
- player has permission "SkyWars+.admin"
- if line 2 is "1" or "2" or "3" or "4" or "5":
- set line 1 to "&3&LSkyWars"
- set line 2 to "%line 2%"
- set line 3 to ""
- set line 4 to "<OP %line 2%"
- set {kills.top::%line 2%} to block
- wait 0.5 seconds
- invoke "sw-top-kills"
- else:
- set line 2 to "&4ERROR"
- send "{@prefix}&4&l You can only put top 1/2/3/4/5" to player
- on left click with golden hoe:
- if player has permission "SkyWars+.admin":
- if name of player's tool is "&a&lSkyWars Wand":
- clicked block is set
- clear {skywars::pos::%uuid of player%::1}
- cancel event
- message "&6&l➤ Pos 1"
- set {skywars::pos::%uuid of player%::1} to location of clicked block
- on right click with golden hoe:
- if player has permission "SkyWars+.admin":
- if name of player's tool is "&a&lSkyWars Wand":
- clear {skywars::pos::%uuid of player%::2}
- clicked block is set
- cancel event
- message "&6&l➤ Pos 2"
- set {skywars::pos::%uuid of player%::2} to location of clicked block
- on rightclick on chest:
- if {sw::%player%::ingame} is true:
- if {sw.player::%player%::%location of event-block%} is not set:
- set {sw.player::%player%::%location of event-block%} to true
- clear the inventory of event-block
- set {_tier1::*} to configuration section "tier1" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier2::*} to configuration section "tier2" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier3::*} to configuration section "tier3" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier4::*} to configuration section "tier4" get of "plugins/SkyWars+/chestitems.yml"
- loop 10 times:
- chance of 50%:
- set {_item} to "%random element out of {_tier1::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 32%:
- set {_item} to "%random element out of {_tier2::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 26%:
- set {_item} to "%random element out of {_tier3::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 15%:
- set {_item} to "%random element out of {_tier4::*}%" parsed as material
- add {_item} to inventory of event-block
- on break of chest:
- if {sw::%player%::ingame} is true:
- if {sw.player::%player%::%location of event-block%} is not set:
- set {sw.player::%player%::%location of event-block%} to true
- clear the inventory of event-block
- set {_tier1::*} to configuration section "tier1" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier2::*} to configuration section "tier2" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier3::*} to configuration section "tier3" get of "plugins/SkyWars+/chestitems.yml"
- set {_tier4::*} to configuration section "tier4" get of "plugins/SkyWars+/chestitems.yml"
- loop 10 times:
- chance of 50%:
- set {_item} to "%random element out of {_tier1::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 32%:
- set {_item} to "%random element out of {_tier2::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 26%:
- set {_item} to "%random element out of {_tier3::*}%" parsed as material
- add {_item} to inventory of event-block
- chance of 15%:
- set {_item} to "%random element out of {_tier4::*}%" parsed as material
- add {_item} to inventory of event-block
- on place of chest:
- if {sw::%player%::ingame} is true:
- set {sw.player::%player%::%location of event-block%} to true
- on quit:
- if {sw::%player%::lobby} or {sw::%player%::ingame} is true:
- clear {joinquit::%player%}
- make player execute command "/sw leave"
- if {spectator::%player%} is true:
- invoke "spect-quit" from player
- command /abilities [<text>]:
- executable by: players
- aliases: abilitie
- trigger:
- if text arg 1 is not set:
- open chest with 6 rows named "SkyWars+ Abilities" to player
- play raw sound "random.pop" at player with pitch 1 volume 25
- format slot 0 of player with stone sword named "&e&lLegendary Swords" with lore "&7Add a chance for critical hits with swords​" to be unstealable
- format slot 9 of player with blaze powder named "&e&lVampire" with lore "&7Regain health on a kill a player" to be unstealable
- format slot 18 of player with iron chestplate named "&e&lProtection" with lore "&7Cancels the damage from arrow hits" to be unstealable
- format slot 27 of player with arrow named "&e&lTriple Arrow" with lore "&7One shoot, three arrows! Gives a chance for triple arrow" to be unstealable
- format slot 36 of player with diamond pickaxe named "&e&lMining Luck" with lore "&7Mining skill is increased so you can get more each ore.​" to be unstealable
- format slot 45 of player with potion:8194 named "&e&lAdrenaline" with lore "&7When you get hurt have that chance to get a speed boost.​" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is set:
- if {SkyWars+.player.%uuid of player%.swords.level} is 0:
- format slot 1 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 2 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 1:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 3 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 2:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 4 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 3:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 5 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 4:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 6 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 5:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 7 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 6:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- format slot 8 of player with locked chest:14 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.swords.level} is 7:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:4 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities swords"]
- if {SkyWars+.player.%uuid of player%.swords.level} is 8:
- format slot 1 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 2 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 3 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 4 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 5 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 6 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 7 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 8 of player with locked chest:5 named "&e&lLegendary Swords &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is set:
- if {SkyWars+.player.%uuid of player%.vampire.level} is 0:
- format slot 10 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 11 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 1:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 12 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 2:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 13 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 3:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 14 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 4:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 15 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 5:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 16 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 6:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- format slot 17 of player with locked chest:14 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.vampire.level} is 7:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:4 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities vampire"]
- if {SkyWars+.player.%uuid of player%.vampire.level} is 8:
- format slot 10 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 11 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 12 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 13 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 14 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 15 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 16 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 17 of player with locked chest:5 named "&e&lVampire &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is set:
- if {SkyWars+.player.%uuid of player%.protection.level} is 0:
- format slot 19 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 20 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 1:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 21 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 2:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 22 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 3:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 23 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 4:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 24 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 5:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 25 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 6:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- format slot 26 of player with locked chest:14 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.protection.level} is 7:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:4 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities protection"]
- if {SkyWars+.player.%uuid of player%.protection.level} is 8:
- format slot 19 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 20 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 21 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 22 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 23 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 24 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 25 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 26 of player with locked chest:5 named "&e&lProtection &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is set:
- if {SkyWars+.player.%uuid of player%.triple.level} is 0:
- format slot 28 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 29 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 1:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 30 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 2:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 31 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 3:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 32 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 4:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 33 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 5:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 34 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 6:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- format slot 35 of player with locked chest:14 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.triple.level} is 7:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:4 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities triple"]
- if {SkyWars+.player.%uuid of player%.triple.level} is 8:
- format slot 28 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 29 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 30 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 31 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 32 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 33 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 34 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 35 of player with locked chest:5 named "&e&lTriple Arrow &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is set:
- if {SkyWars+.player.%uuid of player%.mining.level} is 0:
- format slot 37 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 38 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 1:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 39 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 2:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 40 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 3:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 41 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 4:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 42 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 5:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 43 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 6:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 44 of player with locked chest:14 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.mining.level} is 7:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:4 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- if {SkyWars+.player.%uuid of player%.mining.level} is 8:
- format slot 37 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 39 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 40 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 41 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 42 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 43 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 44 of player with locked chest:5 named "&e&lMining Luck &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is set:
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 0:
- format slot 46 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 47 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 1:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 48 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 2:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 49 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 3:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 50 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 4:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 38 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 51 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 5:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 52 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 6:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- format slot 53 of player with locked chest:14 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 7:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:4 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to close then run [make player execute the command "abilities mining"]
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 8:
- format slot 46 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 1&8)" with lore "&7&l------------------------||&6Price: &a25 coins||&7&l------------------------" to be unstealable
- format slot 47 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 2&8)" with lore "&7&l------------------------||&6Price: &a50 coins||&7&l------------------------" to be unstealable
- format slot 48 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 3&8)" with lore "&7&l------------------------||&6Price: &a75 coins||&7&l------------------------" to be unstealable
- format slot 49 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 4&8)" with lore "&7&l------------------------||&6Price: &a100 coins||&7&l------------------------" to be unstealable
- format slot 50 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 5&8)" with lore "&7&l------------------------||&6Price: &a125 coins||&7&l------------------------" to be unstealable
- format slot 51 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 6&8)" with lore "&7&l------------------------||&6Price: &a150 coins||&7&l------------------------" to be unstealable
- format slot 52 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 7&8)" with lore "&7&l------------------------||&6Price: &a175 coins||&7&l------------------------" to be unstealable
- format slot 53 of player with locked chest:5 named "&e&lAdrenaline &8(&e&lLevel 8&8)" with lore "&7&l------------------------||&6Price: &a200 coins||&7&l------------------------" to be unstealable
- if text arg 1 is "help":
- play raw sound "random.pop" at player with pitch 1 volume 25
- send "&7&l----------------&7[ {@prefix} &7]&l----------------"
- send "&6/abilities &8» &aOpen the menu!"
- send "&6/abilities help &8» &aList of commands"
- send "&6/abilities reset &8» &aReset your levels to 0"
- send "&6/abilities swords &8» &aUpgrade Legendary Swords abilitie"
- send "&6/abilities vampire &8» &aUpgrade Vampire abilitie"
- send "&6/abilities protection &8» &aUpgrade Protection abilitie"
- send "&6/abilities triple &8» &aUpgrade Triple Arrow abilitie"
- send "&6/abilities mining &8» &aUpgrade Mining Luck abilitie"
- send "&6/abilities adrenaline &8» &aUpgrade Adrenaline abilitie"
- send "&7&l---------------------------------------------"
- stop
- if text arg 1 is not "help" or "reset" or "swords" or "vampire" or "protection" or "triple" or "mining":
- make player execute the command "abilities help"
- stop
- if text arg 1 is "reset":
- set {SkyWars+.player.%uuid of player%.swords.level} to 0
- set {SkyWars+.player.%uuid of player%.vampire.level} to 0
- set {SkyWars+.player.%uuid of player%.protection.level} to 0
- set {SkyWars+.player.%uuid of player%.triple.level} to 0
- set {SkyWars+.player.%uuid of player%.mining.level} to 0
- set {SkyWars+.player.%uuid of player%.adrenaline.level} to 0
- send "&cSetted all your levels to 0!"
- stop
- if text arg 1 is "swords":
- if {SkyWars+.player.%uuid of player%.swords.level} is set:
- if {SkyWars+.player.%uuid of player%.swords.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.swords.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.swords.level}
- send player title "&e&lLegendary Swords" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lLegendary Swords" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- if text arg 1 is "vampire":
- if {SkyWars+.player.%uuid of player%.vampire.level} is set:
- if {SkyWars+.player.%uuid of player%.vampire.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.vampire.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.vampire.level}
- send player title "&e&lVampire" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lVampire" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- if text arg 1 is "protection":
- if {SkyWars+.player.%uuid of player%.protection.level} is set:
- if {SkyWars+.player.%uuid of player%.protection.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.protection.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.protection.level}
- send player title "&e&lProtection" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lProtection" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- if text arg 1 is "triple":
- if {SkyWars+.player.%uuid of player%.triple.level} is set:
- if {SkyWars+.player.%uuid of player%.triple.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.triple.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.triple.level}
- send player title "&e&lTriple Arrow" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lTriple Arrow" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- if text arg 1 is "mining":
- if {SkyWars+.player.%uuid of player%.mining.level} is set:
- if {SkyWars+.player.%uuid of player%.mining.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.mining.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.mining.level}
- send player title "&e&lMining Luck" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lMining Luck" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- if text arg 1 is "adrenaline":
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is set:
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 0:
- if {sw.coins::%player%} >= 25:
- remove 25 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 1 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored red at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 1:
- if {sw.coins::%player%} >= 50:
- remove 50 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 2 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored blue at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 2:
- if {sw.coins::%player%} >= 75:
- remove 75 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 3 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored yellow at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 3:
- if {sw.coins::%player%} >= 100:
- remove 100 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 4 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored orange at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 4:
- if {sw.coins::%player%} >= 125:
- remove 125 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 5 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored green at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 5:
- if {sw.coins::%player%} >= 150:
- remove 150 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 6 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored white at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 6:
- if {sw.coins::%player%} >= 175:
- remove 175 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 7 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored purple at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- stop
- else:
- send "&cYou can't afford this!"
- stop
- if {SkyWars+.player.%uuid of player%.adrenaline.level} is 7:
- if {sw.coins::%player%} >= 200:
- remove 200 from {sw.coins::%player%}
- add 1 to {SkyWars+.player.%uuid of player%.adrenaline.level}
- send player title "&e&lAdrenaline" with subtitle "&aLevel 8 unlocked!" for 3 seconds
- send "&aSuccesfully purchased!"
- launch ball large firework colored pink at player timed 0.1
- play raw sound "random.anvil_use" at player with pitch 1 volume 10
- wait 2.5 seconds
- send player title "&e&lAdrenaline" with subtitle "&cMax level reached!" for 3 seconds
- stop
- else:
- send "&cYou can't afford this!"
- stop
- else:
- send "&cYou reached the max level of this abilitie!"
- stop
- on shoot:
- if shooter is a player:
- if {SkyWars+.player.%uuid of shooter%.playing} is true:
- if projectile is an arrow:
- if {SkyWars+.player.%uuid of shooter%.triple.level} is set:
- if {SkyWars+.player.%uuid of shooter%.triple.status} is false:
- if {SkyWars+.player.%uuid of shooter%.triple.level} is not 0:
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 1:
- chance of 4%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 2:
- chance of 6%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 3:
- chance of 8%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 4:
- chance of 10%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 5:
- chance of 12%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 6:
- chance of 14%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 7:
- chance of 16%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- if {SkyWars+.player.%uuid of shooter%.triple.level} is 8:
- chance of 18%:
- set {SkyWars+.player.%uuid of shooter%.triple.status} to true
- make the shooter shoot a arrow at speed 5
- make the shooter shoot a arrow at speed 10
- play raw sound "note.pling" at shooter with pitch 1 volume 10
- wait 1 tick
- set {SkyWars+.player.%uuid of shooter%.triple.status} to false
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- on damage of player:
- if damage was caused by projectile:
- if {SkyWars+.player.%uuid of victim%.playing} is true:
- if {SkyWars+.player.%uuid of victim%.protection.level} is set:
- if {SkyWars+.player.%uuid of victim%.protection.level} is not 0:
- if {SkyWars+.player.%uuid of victim%.protection.level} is 1:
- chance of 4%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 2:
- chance of 6%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 3:
- chance of 8%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 4:
- chance of 10%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 5:
- chance of 12%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 6:
- chance of 14%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 7:
- chance of 16%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- if {SkyWars+.player.%uuid of victim%.protection.level} is 8:
- chance of 18%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- cancel event
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- # Vampire Abilitie #
- on damage of player:
- if attacker is a player:
- if {SkyWars+.player.%uuid of victim%.playing} is true:
- if {SkyWars+.player.%uuid of attacker%.playing} is true:
- if damage is greater than or equal to health of victim:
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is set:
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is not 0:
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 1:
- chance of 4%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 2:
- chance of 6%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 3:
- chance of 8%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 4:
- chance of 10%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 5:
- chance of 12%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 6:
- chance of 14%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 7:
- chance of 16%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- if {SkyWars+.player.%uuid of attacker%.vampire.level} is 8:
- chance of 18%:
- play raw sound "note.pling" at attacker with pitch 1 volume 10
- heal the attacker
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- # Adrenaline Abilitie #
- on damage of player:
- if attacker is a player:
- if {SkyWars+.player.%uuid of victim%.playing} is true:
- if {SkyWars+.player.%uuid of victim%.playing} is true:
- if damage is greater than or equal to health of victim:
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is set:
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is not 0:
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 1:
- chance of 4%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 1 to victim for 2 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 2:
- chance of 6%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 1 to victim for 2.5 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 3:
- chance of 8%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 1 to victim for 3 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 4:
- chance of 10%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 1.7 to victim for 3 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 5:
- chance of 12%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 2 to victim for 2 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 6:
- chance of 14%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 2 to victim for 3 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 7:
- chance of 16%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 2 to victim for 3.5 seconds
- stop
- if {SkyWars+.player.%uuid of victim%.adrenaline.level} is 8:
- chance of 18%:
- play raw sound "note.pling" at victim with pitch 1 volume 10
- apply speed 3 to victim for 2 seconds
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- on mine of any ore:
- if {SkyWars+.player.%uuid of player%.playing} is true:
- if {SkyWars+.player.%uuid of player%.mining.level} is set:
- if {SkyWars+.player.%uuid of player%.mining.level} is not 0:
- if {SkyWars+.player.%uuid of player%.mining.level} is 1:
- if event-block is a gold ore:
- chance of 4%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 6%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 8%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 10%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 12%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 2:
- if event-block is a gold ore:
- chance of 14%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 16%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 18%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 20%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 22%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 3:
- if event-block is a gold ore:
- chance of 30%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 30%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 30%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 30%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 30%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 4:
- if event-block is a gold ore:
- chance of 40%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 40%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 40%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 40%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 40%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 5:
- if event-block is a gold ore:
- chance of 50%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 50%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 50%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 50%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 50%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 6:
- if event-block is a gold ore:
- chance of 60%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 60%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 60%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 60%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 60%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 7:
- if event-block is a gold ore:
- chance of 70%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 70%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 70%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 70%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 70%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- if {SkyWars+.player.%uuid of player%.mining.level} is 8:
- if event-block is a gold ore:
- chance of 80%:
- drop 2 gold ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a iron ore:
- chance of 80%:
- drop 2 iron ingot
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a coal ore:
- chance of 80%:
- drop 2 coal
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a diamond ore:
- chance of 80%:
- drop 2 diamond
- play raw sound "note.pling" at player with pitch 1 volume 10
- if event-block is a redstone ore:
- chance of 80%:
- drop 2 redstone
- play raw sound "note.pling" at player with pitch 1 volume 10
- else:
- stop
- else:
- stop
- else:
- stop
- else:
- stop
- on death:
- if {sw::%player%::ingame} is true:
- victim is a player
- attacker is a player
- add 1 to {sw::kills::%attacker%}
- add 1 to {sw::deaths::%victim%}
- on shoot:
- if {sw::%shooter%::ingame} is true:
- add 1 to {sw::arrows::%shooter%}
- on any movement:
- if {sw::%player%::ingame} is true:
- add 1 to {sw::walk::%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement