Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on death:
- victim is a player:
- attacker is a player:
- if {player::%uuid of player%::game::ranked::status} is true:
- clear drops
- kill victim
- send "&b&l-2 ELO" to victim
- set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
- add 1 to {player::%uuid of attacker%::game::kills}
- if {player::%uuid of player%::multiplier::coins} is true:
- add 200 to {player::%uuid of attacker%::game::coins}
- send "&6&l+200 COINS" to attacker
- else:
- add 100 to {player::%uuid of attacker%::game::coins}
- send "&6&l+100 COINS" to attacker
- if {player::%uuid of player%::multiplier::elo} is true:
- add 10 to {player::%uuid of attacker%::game::elo}
- send "&b&l+10 ELO" to attacker
- else:
- add 5 to {player::%uuid of attacker%::game::elo}
- send "&b&l+5 ELO" to attacker
- remove 2 from {player::%uuid of victim%::game::elo}
- add 1 to {player::%uuid of victim%::game::deaths}
- else:
- clear drops
- set death message to "&c%victim% &edied."
- on respawn:
- if {player::%uuid of player%::game::ranked::status} is true:
- make player execute "ranked"
- on command "ranked":
- if {player::%uuid of player%::game::elo} < 1250:
- if {player::%uuid of player%::game::elorank} isn't "Unranked":
- set {player::%uuid of player%::game::elorank} to "Unranked"
- if {player::%uuid of player%::game::elo} > 1249:
- if {player::%uuid of player%::game::elorank} isn't "Bronze I&7":
- set {player::%uuid of player%::game::elorank} to "Bronze I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1499:
- if {player::%uuid of player%::game::elorank} isn't "Bronze II&7":
- set {player::%uuid of player%::game::elorank} to "Bronze II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1749:
- if {player::%uuid of player%::game::elorank} isn't "Bronze III&7":
- set {player::%uuid of player%::game::elorank} to "Bronze III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1999:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver I&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2249:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver II&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2499:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver III&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2749:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold I&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2999:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold II&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3249:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold III&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3499:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond I&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3749:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond II&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3999:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond III&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4249:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald I&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4499:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald II&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4749:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald III&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4999:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend I&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5249:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend II&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5249:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend III&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5499:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters I&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5749:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters II&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5999:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters III&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 6499:
- if {player::%uuid of player%::game::elorank} isn't "&cChampion&7":
- set {player::%uuid of player%::game::elorank} to "&cChampion&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- command /ranked:
- trigger:
- if {player::%uuid of player%::game::unranked::status} isn't set:
- if {player::%uuid of player%::game::ranked::status} is set:
- if {player::%uuid of player%::game::pvptag} is "IDKKDKDKD":
- send "&cYou have a &a&lPvPTag &ccooldown still."
- else:
- if {player::%uuid of player%::game::current::kills} isn't set:
- set {player::%uuid of player%::game::current::kills} to 0
- if {player::%uuid of player%::game::current::deaths} isn't set:
- set {player::%uuid of player%::game::current::deaths} to 0
- if {player::%uuid of player%::game::kills} isn't set:
- set {player::%uuid of player%::game::kills} to 0
- if {player::%uuid of player%::game::deaths} isn't set:
- set {player::%uuid of player%::game::deaths} to 0
- if {player::%uuid of player%::game::elo} isn't set:
- set {player::%uuid of player%::game::elo} to 1000
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lGlobal Statistics"
- send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
- send "&r"
- send "&7&m--------------------------------------"
- clear player's inventory
- execute console command "/minecraft:effect %player% clear"
- set {player::%uuid of player%::spawn} to true
- teleport player to {server.location.spawn}
- delete {player::%uuid of player%::game::pvptag}
- delete {player::%uuid of player%::game::status}
- delete {player::%uuid of player%::game::current::kills}
- delete {player::%uuid of player%::game::current::deaths}
- delete {player::%uuid of player%::game::ranked::status}
- make player execute "spawn"
- else:
- delete {player::%uuid of player%::spawn}
- if {player.%uuid of player%::game::class} isn't set:
- set {player.%uuid of player%::game::class} to "Aggressive"
- set {player::%uuid of player%::game::ranked::status} to true
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lRANKED &6FFA"
- send "&r"
- send " &r&lCLASS &7Ranked"
- send "&r"
- send "&7&m--------------------------------------"
- clear player's inventory
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to iron helmet
- if {player::%uuid of player%::inventory::ranked::1armor1} is true:
- set player's helmet to chainmail helmet of protection 2
- set player's chestplate to iron chestplate
- if {player::%uuid of player%::inventory::ranked::1armor2} is true:
- set player's chestplate to chainmail chestplate of protection 2
- set player's leggings to iron leggings
- if {player::%uuid of player%::inventory::ranked::1armor3} is true:
- set player's leggings to chainmail boots of protection 2
- set player's boots to iron boots
- if {player::%uuid of player%::inventory::ranked::1armor4} is true:
- set player's boots to chainmail boots of protection 2
- set slot 0 of player to diamond sword named "&r%player%'s Sword"
- set slot 7 of player to 8 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.ranked}
- if {player::%uuid of player%::inventory::ranked::weapon1} is set:
- set slot 0 of player to iron sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon2} is set:
- set slot 0 of player to iron sword of sharpness 2 and fire aspect 2 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon3} is set:
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon4} is set:
- set slot 0 of player to diamond sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
- else:
- send "&cYou have to leave &lUnranked &cbefore entering ranked."
- command /blacksmith:
- trigger:
- wait 3 tick
- if {player::%uuid of player%::ranked::armorname} isn't set:
- set {player::%uuid of player%::ranked::armorname} to "Iron Armor"
- if {player::%uuid of player%::ranked::weaponname} isn't set:
- set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
- if {player::%uuid of player%::ranked::playername} isn't set:
- set {player::%uuid of player%::ranked::playername} to "None"
- if {player::%uuid of player%::ranked::equip} isn't set:
- set {player::%uuid of player%::ranked::equip} to 5
- open chest with 5 rows named "&8Blacksmith" to player
- format slot 4 of player with lava bucket named "&c&lBLACKSMITH" with lore "||&rUpgrade your armor, weapons and player||&rwith equip points you earn in ranked." to be unstealable
- format slot 9 of player with iron fence named "&r" to be unstealable
- format slot 17 of player with iron fence named "&r" to be unstealable
- format slot 18 of player with iron fence named "&r" to be unstealable
- format slot 20 of player with iron chestplate named "&r&lARMOR &rUpgrades" to close then run [make player execute "server:ranked.armor"]
- format slot 22 of player with diamond sword named "&r&lWEAPON &rUpgrades" to close then run [make player execute "server:ranked.weapon"]
- format slot 24 of player with player's skull named "&r&lPLAYER &rUpgrades" to close then run [make player execute "server:ranked.player"]
- format slot 26 of player with iron fence named "&r" to be unstealable
- format slot 27 of player with iron fence named "&r" to be unstealable
- format slot 35 of player with iron fence named "&r" to be unstealable
- format slot 39 of player with item frame named "&6&lGeneral Statistics" with lore "||&rCoins|| &7%{player::%uuid of player%::game::coins}%||&rKills|| &7%{player::%uuid of player%::game::kills}%||&rDeaths|| &7%{player::%uuid of player%::game::deaths}%" to be unstealable
- format slot 40 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- format slot 41 of player with anvil:1 named "&6&lRanked Class" with lore "||&rArmor|| &7%{player::%uuid of player%::ranked::armorname}%||&rWeapon|| &7%{player::%uuid of player%::ranked::weaponname}%||&rPlayer|| &7%{player::%uuid of player%::ranked::playername}%" to be unstealable
- command /server:ranked.weapon:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::weapon1} is true:
- format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buyweapon1"]
- if {player::%uuid of player%::inventory::ranked::weapon1} is true:
- if {player::%uuid of player%::inventory::ranked::weapon2} is true:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyweapon2"]
- else:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&cPurchase previous package first." to be unstealable
- if {player::%uuid of player%::inventory::ranked::weapon2} is true:
- if {player::%uuid of player%::inventory::ranked::weapon3} is true:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&rCost: &l7 EP" to close then run [make player execute "server:buyweapon3"]
- else:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
- if {player::%uuid of player%::inventory::ranked::weapon3} is true:
- if {player::%uuid of player%::inventory::ranked::weapon4} is true:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&rCost: &l10 EP" to close then run [make player execute "server:buyweapon4"]
- else:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
- format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /server:ranked.player:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::player1} is true:
- format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyplayer1"]
- if {player::%uuid of player%::inventory::ranked::player2} is true:
- format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&rCost: &l6 EP" to close then run [make player execute "server:buyplayer2"]
- format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /server:ranked.armor:
- trigger:
- wait 3 ticks
- open chest with 5 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::1armor1} is true:
- format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor1"]
- if {player::%uuid of player%::inventory::ranked::1armor2} is true:
- format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buy1armor2"]
- if {player::%uuid of player%::inventory::ranked::1armor3} is true:
- format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l2 EP" to close then run [make player execute "server:buy1armor3"]
- if {player::%uuid of player%::inventory::ranked::1armor4} is true:
- format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor4"]
- format slot 20 of player with glowing iron helmet named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
- format slot 21 of player with glowing iron chestplate named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l6 EP" to be unstealable
- format slot 23 of player with glowing iron leggings named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l5 EP" to be unstealable
- format slot 24 of player with glowing iron boots named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
- format slot 39 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 41 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /resetstore:
- permission: *
- trigger:
- delete {player::%uuid of player%::inventory::ranked::weapon4}
- delete {player::%uuid of player%::inventory::ranked::weapon3}
- delete {player::%uuid of player%::inventory::ranked::weapon2}
- delete {player::%uuid of player%::inventory::ranked::weapon1}
- delete {player::%uuid of player%::inventory::ranked::player2}
- delete {player::%uuid of player%::inventory::ranked::player1}
- set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
- set {player::%uuid of player%::ranked::playername} to "None"
- command /server:buy1armor4:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor4} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 0:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Boots"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor4} to true
- remove 1 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Boots"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Boots"
- command /server:buy1armor3:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 1:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Chestplate"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor2} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Chesplate"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Chestplate"
- command /server:buy1armor2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 2:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor2} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Chesplate"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail ChesplateChesplate"
- command /server:buy1armor1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 0:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor1} to true
- remove 1 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Helmet"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Helmet"
- command /server:buyweapon4:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon4} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 9:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Diamond Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon4} to true
- remove 10 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect I Diamond Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Diamond Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness I and Fire Aspect I Diamond Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect I Diamond Sword"
- command /server:buyweapon3:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon3} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 6:
- send "&cYou don't have sufficient currencies to purchase &lSharpness I Diamond Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon3} to true
- remove 7 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness I Diamond Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 Diamond Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness I Diamond Sword"
- else:
- send "&cYou already own &lSharpness I Diamond Sword"
- command /server:buyweapon2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 4:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect II Iron Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon2} to true
- remove 5 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect II Iron Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S2 FA2 Iron Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect II Iron Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect II Iron Sword"
- command /server:buyweapon1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 2:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Iron Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon1} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect I Iron Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Iron Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect I Iron Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect I Iron Sword"
- command /server:buyplayer1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::player1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 4:
- send "&cYou don't have sufficient currencies to purchase &lDouble Coins Multiplier"
- else:
- set {player::%uuid of player%::inventory::ranked::player1} to true
- remove 5 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Double Coins Multiplier"
- if {player::%uuid of player%::ranked::playername} is "Double Elo":
- set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
- else:
- set {player::%uuid of player%::ranked::playername} to "Double Coins"
- set {player::%uuid of player%::multiplier::coins} to true
- else:
- send "&cYou already own &lDouble Coins Multiplier"
- command /server:buyplayer2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::player2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 5:
- send "&cYou don't have sufficient currencies to purchase &lDouble ELO Multiplier"
- else:
- set {player::%uuid of player%::inventory::ranked::player2} to true
- remove 6 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Double ELO Multiplier"
- if {player::%uuid of player%::ranked::playername} is "Double Coins":
- set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
- else:
- set {player::%uuid of player%::ranked::playername} to "Double Elo"
- set {player::%uuid of player%::multiplier::elo} to true
- else:
- send "&cYou already own &lDouble ELO Multiplier"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement