Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- # Rank variables.
- set {player::%uuid of player%::rank::prefix} to "&r"
- set {player::%uuid of player%::rank::display} to "None"
- set {player::%uuid of player%::ranked::rank::display} to "Unranked"
- # Game variables.
- set {player::%uuid of player%::game::points} to 0
- set {player::%uuid of player%::game::kills} to 0
- set {player::%uuid of player%::game::deaths} to 0
- set {player::%uuid of player%::game::rating} to 0
- command /stats [<offline player>]:
- trigger:
- if arg-1 isn't set:
- send "&7[&6&lSTATISTICS&7] &eDisplaying your statistics."
- send ""
- send "&6Your Statistics"
- send "&7- %{player::%uuid of player%::game::points}% &7Points"
- send "&7- %{player::%uuid of player%::game::kills}% &7Kills"
- send "&7- %{player::%uuid of player%::game::deaths}% &7Deaths"
- send "&7- %{player::%uuid of player%::game::rating}% &7Rating"
- else:
- send "&7[&6&lSTATISTICS&7] &eDisplaying %arg-1%'s statistics."
- send ""
- send "&6%arg-1%'s Statistics"
- send "&7- %{player::%uuid of arg-1%::game::points}% &7Points"
- send "&7- %{player::%uuid of arg-1%::game::kills}% &7Kills"
- send "&7- %{player::%uuid of arg-1%::game::deaths}% &7Deaths"
- send "&7- %{player::%uuid of arg-1%::game::rating}% &7Rating"
- on join:
- make player execute "spawn"
- set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas joined."
- on disconnect:
- delete {player::%uuid of player%::game::status}
- set leave message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas left."
- on drop:
- if {player::%uuid of player%::stop::spawn} is set:
- if player has permission "server.admin":
- stop
- cancel event
- if {player::%uuid of player%::stop::game} is set:
- cancel event
- on break:
- if {player::%uuid of player%::stop::spawn} is set:
- if player has permission "server.admin":
- stop
- cancel event
- if {player::%uuid of player%::stop::game} is set:
- cancel event
- on place:
- if {player::%uuid of player%::stop::spawn} is set:
- if player has permission "server.admin":
- stop
- cancel event
- if {player::%uuid of player%::stop::game} is set:
- cancel event
- on inventory click:
- if {player::%uuid of player%::stop::spawn} is set:
- if player has permission "server.admin":
- stop
- cancel event
- if {player::%uuid of player%::stop::game} is set:
- cancel event
- on damage:
- if {player::%uuid of attacker%::stop::spawn} is set:
- if attacker has permission "server.admin":
- stop
- cancel event
- on respawn:
- if {player::%uuid of player%::game::status} is "Unranked":
- make player execute "unranked"
- make player execute "spawn"
- teleport player to {location.spawn}
- on rightclick:
- if player is holding a book:
- if name of player's tool is "&6&lGAMES":
- open chest with 1 row named "&8Games" to player
- format slot 3 of player with iron axe named "&6&lUNRANKED" with lore "||&rNon competitive nature, KD is still||&reffected. Points are also still||&rearnable in unranked." to close then run [make player execute "unranked"]
- format slot 4 of player with diamond axe named "&6&lRANKED" with lore "||&rCompetitive nature, KD is still||&reffected. Points are also still||&rearnable, Rating changes are enabled||&rin ranked." to close then run [make player execute "ranked"]
- format slot 5 of player with wooden sword named "&6&lDUELS" with lore "||&rNon competitive nature, No||&rstats are effected, duel your friends||&rand have a blast in duels." to close then run [send "&7[&6&lDUELS&7] &eDuels is only available for donators as of now."]
- cancel event
- if player is holding a head:
- if name of player's tool is "&6&lPROFILE":
- cancel event
- open chest with 4 rows named "&8Profile" to player
- format slot 13 of player with player's skull named "&6&lSTATISTICS" to be unstealable
- format slot 20 of player with item frame named "&r" with lore "||&6&lPvP Statistics|| &r%{player::%uuid of player%::game::kills}% &7Kills|| &r%{player::%uuid of player%::game::deaths}% &7Deaths|| &r%{player::%uuid of player%::game::rating}% &7Rating" to be unstealable
- format slot 24 of player with item frame named "&r" with lore "||&6&lOther Statistics|| &r%{player::%uuid of player%::game::points}% &7Points|| &r%{player::%uuid of player%::rank::display}% &7Rank|| &r%{player::%uuid of player%::ranked::rank::display}% &7Rank" to be unstealable
- if player is holding a anvil:0:
- if name of player's tool is "&6&lSTORE":
- cancel event
- make player execute "store"
- if player is holding a redstone repeater:
- if name of player's tool is "&6&lSETTINGS":
- cancel event
- open chest with 3 rows named "&8Settings" to player
- if {player::%uuid of player%::settings::squadinvites} is "On":
- format slot 10 of player with light green glass named "&6&lSquad Invites" with lore "||&rToggle squad invites off.||||&e&lStatus|| &rOn" to be unstealable
- else:
- format slot 10 of player with red glass named "&6&lSquad Invites" with lore "||&rToggle squad invites on.||||&e&lStatus|| &rOff" to be unstealable
- if {player::%uuid of player%::settings::alerts} is "On":
- format slot 11 of player with light green glass named "&6&lStaff Alerts" with lore "||&rToggle staff alerts off.||||&e&lStatus|| &rOn" to close then run [set {player::%uuid of player%::settings::alerts} to "Off"] -> [send "&7[&6&lSETTINGS&7] &eToggled staff alerts off."]
- else:
- format slot 11 of player with red glass named "&6&lStaff Alerts" with lore "||&rToggle staff alerts off.||||&e&lStatus|| &rOff" to close then run [set {player::%uuid of player%::settings::alerts} to "On"] -> [send "&7[&6&lSETTINGS&7] &eToggled staff alerts on."]
- if player is holding a red dye:
- if name of player's tool is "&r":
- if lore of player's tool is "||&r&lPriest||||&7Right-click the dye to recieve||&7regeneration 3 for 3 seconds.":
- if {player::%uuid of player%::game::priestcooldown} isn't set:
- cancel event
- make console execute "effect %player% clear"
- set {player::%uuid of player%::game::priestcooldown} to true
- apply regeneration 3 to player for 3 seconds
- wait 3 seconds
- apply regeneration 1 to player for 999 days
- apply speed 1 to player for 999 days
- wait 2 seconds
- delete {player::%uuid of player%::game::priestcooldown}
- else:
- send "&7[&c&lERROR&7] &cYou still have a &lPriest &ccooldown."
- on death:
- if victim is a player:
- if attacker is a player:
- clear drops
- add 1 to {player::%uuid of attacker%::game::kills}
- add 1 to {player::%uuid of attacker%::session::kills}
- delete {player::%uuid of victim%::session::kills}
- delete {player::%uuid of attacker%::session::points}
- add 1 to {player::%uuid of victim%::game::deaths}
- send "&7[&6&lPOINTS&7] &eYou have earnt 50 points for defeating %victim%" to attacker
- add 50 to {player::%uuid of attacker%::session::points}
- add 50 to {player::%uuid of attacker%::game::points}
- set death message to "&c%victim%&4[%{player::%uuid of victim%::game::kills}%] &ehas been slain by &c%attacker%&4[%{player::%uuid of attacker%::game::kills}%]"
- on death:
- if attacker is a player:
- if victim is a player:
- add 1 to {player::%uuid of attacker%::killstreaks}
- if {player::%uuid of victim%::killstreaks} > 2:
- if attacker is victim:
- broadcast "&6&l%attacker% &ehas ended %victim%'s killstreak of &l%{player::%uuid of victim%::killstreaks}%"
- else:
- broadcast "&6&l%victim% &ehas ended his own killstreak of &l%{player::%uuid of victim%::killstreaks}%"
- delete {player::%uuid of victim%::killstreaks}
- if {player::%uuid of attacker%::killeffect::strength} is set:
- apply strength 1 to attacker for 10 seconds
- if {player::%uuid of attacker%::killeffect::speed} is set:
- apply speed 2 to attacker for 7.5 seconds
- if {player::%uuid of attacker%::killeffect::regen} is set:
- apply regeneration 3 to attacker for 7.5 seconds
- if {player::%uuid of attacker%::killstreaks} is 3:
- give attacker 5 golden apples:0 named "&r"
- broadcast "&6&l%attacker% &ehas gotten a killstreak of 3 and redeemed &l5 crapples."
- if {player::%uuid of attacker%::killstreaks} is 5:
- if {player::%uuid of attacker%::killstreaks::500}:
- add 500 to {player::%uuid of attacker%::game::points}
- broadcast "&6&l%attacker% &ehas gotten a killstreak of 5 and redeemed &l500 points."
- if {player::%uuid of attacker%::killstreaks::crapples}:
- give player 15 golden apples:0 named "&r"
- broadcast "&6&l%attacker% &ehas gotten a killstreak of 5 and redeemed &l500 points."
- if {player::%uuid of attacker%::killstreaks::repair}:
- repair helmet of player
- repair chestplate of player
- repair leggings of player
- repair boots of player
- broadcast "&6&l%attacker% &ehas gotten a killstreak of 5 and redeemed &l500 points."
- on pick up of tnt:
- cancel event
- on pick up of red dye:
- cancel event
- on pick up of bones:
- cancel event
- on death:
- if {player::%uuid of player%::death::explode} is set:
- clear drops
- create an explosion of force 0 at the victim
- else if {player::%uuid of player%::death::tnt} is set:
- clear drops
- drop 5 tnt at victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- else if {player::%uuid of player%::death::blood} is set:
- clear drops
- drop 5 red dye at victim
- drop 5 bones at victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- command /reset-user [<offline player>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- send "&7[&6&lRESET USER&7] &eSuccessfully reset %arg-1%'s player-data." to player
- set {player::%uuid of arg-1%::game::points} to 0
- set {player::%uuid of arg-1%::game::kills} to 0
- set {player::%uuid of arg-1%::game::deaths} to 0
- set {player::%uuid of arg-1%::game::rating} to 0
- else:
- send "&cUsage: /reset-user <player>"
- command /variable [<offline player>] [<text>] [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if player isn't "LickSuckEatIt":
- if arg-1 is set:
- if arg-2 is set:
- if arg-3 is set:
- if arg-2 is "points":
- set {player::%uuid of arg-1%::game::points} to arg-3 parsed as a number
- send "&7[&6&lVARIABLE&7] &eSet %arg-1%'s points to %arg-3%" to player
- send "&7[&6&lVARIABLE&7] &eYour points were set to %arg-3%" to arg-1
- if arg-2 is "kills":
- set {player::%uuid of arg-1%::game::kills} to arg-3 parsed as a number
- send "&7[&6&lVARIABLE&7] &eSet %arg-1%'s kills to %arg-3%" to player
- send "&7[&6&lVARIABLE&7] &eYour kills were set to %arg-3%" to arg-1
- if arg-2 is "deaths":
- set {player::%uuid of arg-1%::game::deaths} to arg-3 parsed as a number
- send "&7[&6&lVARIABLE&7] &eSet %arg-1%'s deaths to %arg-3%" to player
- send "&7[&6&lVARIABLE&7] &eYour deaths were set to %arg-3%" to arg-1
- if arg-2 is "rating":
- set {player::%uuid of arg-1%::game::rating} to arg-3 parsed as a number
- send "&7[&6&lVARIABLE&7] &eSet %arg-1%'s rating to %arg-3%" to player
- send "&7[&6&lVARIABLE&7] &eYour rating was set to %arg-3%" to arg-1
- if arg-2 is "level":
- set {player::%uuid of arg-1%::game::level} to arg-3 parsed as a number
- send "&7[&6&lVARIABLE&7] &eSet %arg-1%'s level to %arg-3%" to player
- send "&7[&6&lVARIABLE&7] &eYour level was set to %arg-3%" to arg-1
- else if arg-2 isn't "points", "kills", "deaths", "rating" or "level":
- send "&cUnknown variable: %arg-2%"
- else:
- send "&cUsage: /variable <player> <variable> <setting>"
- else:
- send "&cUsage: /variable <player> <variable> <setting>"
- else:
- send "&cUsage: /variable <player> <variable> <setting>"
- else:
- send "&cInsufficent permissions."
- command /area [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-1 is "spawn":
- set {location.spawn} to location of player
- send "&7[&6&lAREA&7] &eLocation of spawn has been set to your location."
- if arg-1 is "unranked":
- set {location.unranked} to location of player
- send "&7[&6&lAREA&7] &eLocation of the unranked arena has been set to your location."
- else if arg-1 isn't "spawn" or "unranked":
- send "&cUnknown argument: %arg-1%"
- else:
- send "&cUsage: /area <location>"
- command /spawn:
- trigger:
- if {player::%uuid of player%::game::status} isn't set:
- execute console command "effect %player% clear"
- teleport player to {location.spawn}
- set {player::%uuid of player%::stop::spawn} to true
- clear player's inventory
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set slot 1 of player to book named "&6&lGAMES" with lore "||&rRight-click to view our available game-modes."
- set slot 6 of player to player's skull named "&6&lPROFILE" with lore "||&rRight-click to view your player statistics."
- set slot 7 of player to anvil:0 named "&6&lSTORE" with lore "||&rRight-click to browse the store."
- set slot 8 of player to redstone repeater named "&6&lSETTINGS" with lore "||&rRight-click to modifiy your settings."
- command /unranked:
- trigger:
- if {player::%uuid of player%::game::status} is "Unranked":
- delete {player::%uuid of player%::game::status}
- delete {player::%uuid of player%::stop::spawn}
- delete {player::%uuid of player%::stop::game}
- make player execute "spawn"
- if {player::%uuid of player%::session::points} isn't set:
- set {player::%uuid of player%::session::points} to 0
- if {player::%uuid of player%::session::kills} isn't set:
- set {player::%uuid of player%::session::kills} to 0
- send "&7[&6&lUNRANKED&7] &eYou've successfully left the Unranked arena."
- send ""
- send "&6In this session you earnt:"
- send "&7- %{player::%uuid of player%::session::points}% &7Points"
- send "&7- %{player::%uuid of player%::session::kills}% &7Kills"
- send "&6%player%'s Statistics"
- send "&7- %{player::%uuid of player%::game::points}% &7Points"
- send "&7- %{player::%uuid of player%::game::kills}% &7Kills"
- send "&7- %{player::%uuid of player%::game::deaths}% &7Deaths"
- send "&7- %{player::%uuid of player%::game::rating}% &7Rating"
- else if {player::%uuid of player%::game::status} isn't set:
- delete {player::%uuid of player%::game::status}
- delete {player::%uuid of player%::stop::game}
- set {player::%uuid of player%::game::status} to "Unranked"
- teleport player to {location.unranked}
- clear player's inventory
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set {player::%uuid of player%::stop::game} to true
- make player execute "fight:myclass"
- send "&7[&6&lUNRANKED&7] &eYou've successfully entered the Unranked arena."
- else if {player::%uuid of player%::game::status} is "Ranked":
- send "&7[&c&lERROR&7] &cBefore entering unranked, please exit the &lRanked &carena."
- command /broadcast [<text>]:
- aliases: /bcast, /announcement, /announce
- permission: server.modplus
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- loop all players:
- if {player::%uuid of loop-player%::settings::alerts} is "On":
- send "&7[&c&lALERT&7] &o(%player%) &c%arg-1%" to loop-player
- else:
- stop
- else:
- send "&cUsage: /broadcast <message>"
- command /store:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Store" to player
- format slot 9 of player with iron fence named "&r" to be unstealable
- format slot 11 of player with compass named "&6&lCLASSES" with lore "||&rLeft-click to purchase a new class." to close then run [make player execute "store:class"]
- format slot 12 of player with emerald named "&6&lKILLSTREAKS" with lore "||&rLeft-click to purchase killstreaks." to close then run [make player execute "store:killstreaks"]
- format slot 13 of player with blaze powder named "&6&lKILL EFFECTS" with lore "||&rLeft-click to purchase kill effects." to close then run [make player execute "store:kill.effect"]
- format slot 14 of player with tnt named "&6&lDEATH ANIMATIONS" with lore "||&rLeft-click to purchase death animations." to close then run [make player execute "store:death.anime"]
- format slot 15 of player with clock named "&6&lCONVERTING" with lore "||&rLeft-click to convert points into rating points." to close then run [make player execute "store:convert"]
- format slot 17 of player with iron fence named "&r" to be unstealable
- command /store:death.anime:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Death Animations Store" to player
- if {player.%uuid of player%::unlocked::blood} is set:
- format slot 12 of player with red dye named "&6&lBLOOD" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "death:blood"]
- else:
- format slot 12 of player with red dye named "&6&lBLOOD" with lore "||&7$15,000||||&rOn death all your||&rred and gross blood will fly||&revery where!" to close then run [make player execute "store:buy.death.anime1"]
- if {player.%uuid of player%::unlocked::tnt} is set:
- format slot 13 of player with tnt named "&6&lTNT" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "death:tnt"]
- else:
- format slot 13 of player with tnt named "&6&lTNT" with lore "||&7$15,000||||&rOn death leave a message||&rto your killer with a||&rbig blast!" to close then run [make player execute "store:buy.death.anime2"]
- if {player.%uuid of player%::unlocked::explode} is set:
- format slot 14 of player with cobweb named "&6&lEXPLOSION" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "death:explode"]
- else:
- format slot 14 of player with cobweb named "&6&lEXPLOSION" with lore "||&7$15,000||||&rOn death your body generates||&renough energy to||&rspontaneously combust!" to close then run [make player execute "store:buy.death.anime3"]
- command /death:explode:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Explode Death Animation" to player
- if {player::%uuid of player%::death::blood} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cExplode" to close then run [delete {player::%uuid of player%::death::explode}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lExplode Death Animation"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aExplode" to close then run [set {player::%uuid of player%::death::explode} to true] -> [delete {player::%uuid of player%::death::blood}] -> [delete {player::%uuid of player%::death::tnt}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lExplode Animation"]
- command /death:tnt:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8TNT Death Animation" to player
- if {player::%uuid of player%::death::blood} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cTNT" to close then run [delete {player::%uuid of player%::death::tnt}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lTNT Death Animation"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aTNT" to close then run [set {player::%uuid of player%::death::tnt} to true] -> [delete {player::%uuid of player%::death::blood}] -> [delete {player::%uuid of player%::death::explode}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lTNT Animation"]
- command /death:blood:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Blood Death Animation" to player
- if {player::%uuid of player%::death::blood} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cBlood" to close then run [delete {player::%uuid of player%::death::blood}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lBlood Death Animation"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aBlood" to close then run [set {player::%uuid of player%::death::blood} to true] -> [delete {player::%uuid of player%::death::tnt}] -> [delete {player::%uuid of player%::death::explode}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lDeath Animation"]
- command /store:buy.death.anime3:
- trigger:
- if {player.%uuid of player%::unlocked::explode} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lExplode Death Animation"
- else:
- if {player::%uuid of player%::death::blood} is set:
- delete {player::%uuid of player%::death::blood}
- if {player::%uuid of player%::death::tnt} is set:
- delete {player::%uuid of player%::death::tnt}
- set {player::%uuid of player%::death::explode} to true
- set {player.%uuid of player%::unlocked::explode} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Explode Death Animation"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lExplode Death Animation"
- command /store:buy.death.anime2:
- trigger:
- if {player.%uuid of player%::unlocked::tnt} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lTNT Death Animation"
- else:
- if {player::%uuid of player%::death::blood} is set:
- delete {player::%uuid of player%::death::blood}
- if {player::%uuid of player%::death::explode} is set:
- delete {player::%uuid of player%::death::explode}
- set {player::%uuid of player%::death::tnt} to true
- set {player.%uuid of player%::unlocked::tnt} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased TNT Death Animation"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lTNT Death Animation"
- command /store:buy.death.anime1:
- trigger:
- if {player.%uuid of player%::unlocked::blood} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lBlood Death Animation"
- else:
- if {player::%uuid of player%::death::tnt} is set:
- delete {player::%uuid of player%::death::tnt}
- if {player::%uuid of player%::death::explode} is set:
- delete {player::%uuid of player%::death::explode}
- set {player::%uuid of player%::death::blood} to true
- set {player.%uuid of player%::unlocked::blood} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Blood Death Animation"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lBlood Death Animation"
- command /store:kill.effect:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Kill Effect Store" to player
- if {player.%uuid of player%::unlocked::killeffect1} is set:
- format slot 12 of player with blaze powder named "&6&lSTRENGTH 1" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killeffect:strength"]
- else:
- format slot 12 of player with blaze powder named "&6&lSTRENGTH 1" with lore "||&7$15,000||||&rOn kill of a player||&rrecieve a special effect to||&rkeep you going!" to close then run [make player execute "store:buy.kill.effect1"]
- if {player.%uuid of player%::unlocked::killeffect2} is set:
- format slot 13 of player with 2 feather named "&6&lSPEED 2" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killeffect:speed"]
- else:
- format slot 13 of player with 2 feather named "&6&lSPEED 2" with lore "||&7$15,000||||&rOn kill of a player||&rrecieve a special effect to||&rkeep you going!" to close then run [make player execute "store:buy.kill.effect2"]
- if {player.%uuid of player%::unlocked::killeffect3} is set:
- format slot 14 of player with 3 cooked chicken named "&6&lREGNERATION 3" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killeffect:regen"]
- else:
- format slot 14 of player with 3 cooked chicken named "&6&lREGENERATION 3" with lore "||&7$15,000||||&rOn kill of a player||&rrecieve a special effect to||&rkeep you going!" to close then run [make player execute "store:buy.kill.effect3"]
- command /killeffect:strength:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Strength Kill Effect" to player
- if {player::%uuid of player%::killeffect::strength} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cStrength" to close then run [delete {player::%uuid of player%::killeffect::strength}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lStrength Kill Effect"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aStrength" to close then run [set {player::%uuid of player%::killeffect::strength} to true] -> [delete {player::%uuid of player%::killeffect::speed}] -> [delete {player::%uuid of player%::killeffect::regen}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lStrength Kill Effect"]
- command /killeffect:regen:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Regeneration Kill Effect" to player
- if {player::%uuid of player%::killeffect::regen} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cRegeneration" to close then run [delete {player::%uuid of player%::killeffect::regen}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lRegeneration Kill Effect"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aRegeneration" to close then run [set {player::%uuid of player%::killeffect::regen} to true] -> [delete {player::%uuid of player%::killeffect::speed}] -> [delete {player::%uuid of player%::killeffect::strength}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lRegeneration Kill Effect"]
- command /killeffect:speed:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Speed Kill Effect" to player
- if {player::%uuid of player%::killeffect::speed} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cSpeed" to close then run [delete {player::%uuid of player%::killeffect::speed}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lSpeed Kill Effect"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aSpeed" to close then run [set {player::%uuid of player%::killeffect::speed} to true] -> [delete {player::%uuid of player%::killeffect::regen}] -> [delete {player::%uuid of player%::killeffect::strength}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lSpeed Kill Effect"]
- command /store:killstreaks:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Killstreak Store" to player
- if {player.%uuid of player%::unlocked::killstreak::500} isn't set:
- format slot 12 of player with gold ingots named "&6&l500 POINTS" with lore "||&7$7,500" to close then run [make player execute "store:buy.killstreak1"]
- else:
- format slot 12 of player with gold ingots named "&6&l500 POINTS" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killstreaks:500"]
- if {player.%uuid of player%::unlocked::killstreak::crapples} isn't set:
- format slot 13 of player with golden apple named "&6&l15 CRAPPLES" with lore "||&7$10,000" to close then run [make player execute "store:buy.killstreak2"]
- else:
- format slot 13 of player with golden apple named "&6&l15 CRAPPLES" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killstreaks:crapples"]
- if {player.%uuid of player%::unlocked::killstreak::repair} isn't set:
- format slot 14 of player with anvil:0 named "&6&lFULL REPAIR" with lore "||&7$7,500" to close then run [make player execute "store:buy.killstreak3"]
- else:
- format slot 14 of player with anvil:0 named "&6&lFULL REPAIR" with lore "||&rLeft-click to view configurable options." to close then run [make player execute "killstreaks:repair"]
- command /killstreaks:500:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8500 Points Killstreak" to player
- if {player::%uuid of player%::killstreak::500} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &c500 Points" to close then run [delete {player::%uuid of player%::killstreak::crapples}] -> [delete {player::%uuid of player%::killstreak::repair}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &l500 Points Killstreak"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &a500 Points" to close then run [set {player::%uuid of player%::killstreak::500} to true] -> [delete {player::%uuid of player%::killstreak::repair}] -> [delete {player::%uuid of player%::killstreak::crapples}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &l500 Points Killstreak"]
- command /killstreaks:crapples:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&815 Crapples Killstreak" to player
- if {player::%uuid of player%::killstreak::500} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &c15 Crapples" to close then run [delete {player::%uuid of player%::killstreak::500}] -> [delete {player::%uuid of player%::killstreak::repair}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &l15 Crapples Killstreak"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &a15 Crapples" to close then run [set {player::%uuid of player%::killstreak::crapples} to true] -> [delete {player::%uuid of player%::killstreak::repair}] -> [delete {player::%uuid of player%::killstreak::500}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &l15 Crapples Killstreak"]
- command /killstreaks:repair:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Full Repair Killstreak" to player
- if {player::%uuid of player%::killstreak::500} is set:
- format slot 13 of player with paper named "&c&lUNEQUIP &cFull Repair" to close then run [delete {player::%uuid of player%::killstreak::500}] -> [delete {player::%uuid of player%::killstreak::crapples}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lFull Repair Killstreak"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aFull Repair" to close then run [set {player::%uuid of player%::killstreak::repair} to true] -> [delete {player::%uuid of player%::killstreak::crapples}] -> [delete {player::%uuid of player%::killstreak::500}] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lFull Repair Killstreak"]
- command /store:buy.kill.effect3:
- trigger:
- if {player.%uuid of player%::unlocked::killeffect3} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lRegeneration 3 Kill Effect"
- else:
- if {player::%uuid of player%::killeffect::strength} is set:
- delete {player::%uuid of player%::killeffect::strength}
- if {player::%uuid of player%::killeffect::speed} is set:
- delete {player::%uuid of player%::killeffect::speed}
- set {player::%uuid of player%::killeffects::regen} to true
- set {player.%uuid of player%::unlocked::killeffect3} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Regeneration 3 Kill Effect"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lRegeneration 3 Kill Effect"
- command /store:buy.kill.effect2:
- trigger:
- if {player.%uuid of player%::unlocked::killeffect2} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lSpeed 2 Kill Effect"
- else:
- if {player::%uuid of player%::killeffect::strength} is set:
- delete {player::%uuid of player%::killeffect::strength}
- if {player::%uuid of player%::killeffect::regen} is set:
- delete {player::%uuid of player%::killeffect::regen}
- set {player::%uuid of player%::killeffects;:speed} to true
- set {player.%uuid of player%::unlocked::killeffect2} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Speed 2 Kill Effect"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lSpeed 2 Kill Effect"
- command /store:buy.kill.effect1:
- trigger:
- if {player.%uuid of player%::unlocked::killeffect1} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lStrength 1 Kill Effect"
- else:
- if {player::%uuid of player%::killeffect::speed} is set:
- delete {player::%uuid of player%::killeffect::speed}
- if {player::%uuid of player%::killeffect::regen} is set:
- delete {player::%uuid of player%::killeffect::regen}
- set {player::%uuid of player%::killeffects::strength} to true
- set {player.%uuid of player%::unlocked::killeffect1} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Strength 1 Kill Effect"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lStrength 1 Kill Effect"
- command /store:buy.killstreak2:
- trigger:
- if {player.%uuid of player%::unlocked::killstreak::crapples} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 9999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &l15 Crapples"
- else:
- if {player::%uuid of player%::killstreak::repair} is set:
- delete {player::%uuid of player%::killstreak::repair}
- if {player::%uuid of player%::killstreak::500} is set:
- delete {player::%uuid of player%::killstreak::500}
- set {player.%uuid of player%::killstreak::crapples} to true
- set {player.%uuid of player%::unlocked::killstreak::crapples} to true
- remove 10000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased 15 Crapples"
- else:
- send "&7[&c&lERROR&7] &cYou already own &l15 Crapples"
- command /store:buy.killstreak1:
- trigger:
- if {player.%uuid of player%::unlocked::killstreak::500} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 7499:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &l500 Points"
- else:
- if {player::%uuid of player%::killstreak::repair} is set:
- delete {player::%uuid of player%::killstreak::repair}
- if {player::%uuid of player%::killstreak::crapples} is set:
- delete {player::%uuid of player%::killstreak::crapples}
- set {player.%uuid of player%::killstreak::500} to true
- set {player.%uuid of player%::unlocked::killstreak::500} to true
- remove 7500 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased 500 Points"
- else:
- send "&7[&c&lERROR&7] &cYou already own &l500 Points"
- command /store:buy.killstreak3:
- trigger:
- if {player.%uuid of player%::unlocked::killstreak::repair} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 7499:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lFull Repair"
- else:
- if {player::%uuid of player%::killstreak::500} is set:
- delete {player::%uuid of player%::killstreak::500}
- if {player::%uuid of player%::killstreak::crapples} is set:
- delete {player::%uuid of player%::killstreak::crapples}
- set {player.%uuid of player%::killstreak::repair} to true
- set {player.%uuid of player%::unlocked::killstreak::repair} to true
- remove 7500 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Full Repair"
- else:
- send "&7[&c&lERROR&7] &cYou already own &lFull Repair"
- command /store:convert:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Convert Store" to player
- format slot 12 of player with paper named "&6&l100 POINTS TO 1 RATING" to close then run [make player execute "store:buy.convert1"]
- format slot 13 of player with paper named "&6&l1,000 POINTS TO 10 RATING" to close then run [make player execute "store:buy.convert2"]
- format slot 14 of player with paper named "&6&l10,000 POINTS TO 100 RATING" to close then run [make player execute "store:buy.convert3"]
- command /store:buy.convert1:
- trigger:
- if {player::%uuid of player%::game::points} isn't greater than 99:
- send "&7[&c&lERROR&7] &cYou don't have sufficent currencies to purchase &lConvertion 1"
- else:
- remove 100 from {player::%uuid of player%::game::points}
- add 1 to {player::%uuid of player%::game::rating}
- send "&7[&6&lPURCHASE&7] &ePurchased Convertion 1"
- command /store:buy.convert2:
- trigger:
- if {player::%uuid of player%::game::points} isn't greater than 999:
- send "&7[&c&lERROR&7] &cYou don't have sufficent currencies to purchase &lConvertion 2"
- else:
- remove 1000 from {player::%uuid of player%::game::points}
- add 10 to {player::%uuid of player%::game::rating}
- send "&7[&6&lPURCHASE&7] &ePurchased Convertion 2"
- command /store:buy.convert3:
- trigger:
- if {player::%uuid of player%::game::points} isn't greater than 9999:
- send "&7[&c&lERROR&7] &cYou don't have sufficent currencies to purchase &lConvertion 3"
- else:
- remove 10000 from {player::%uuid of player%::game::points}
- add 100 to {player::%uuid of player%::game::rating}
- send "&7[&6&lPURCHASE&7] &ePurchased Convertion 3"
- command /store:buy.knightclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 15,000 points." to close then run [make player execute "store:buy.knightclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.knightclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::knight} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lKnight Class"
- else:
- set {player.%uuid of player%::unlocked::class::knight} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Knight Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lKnight Class"
- command /store:buy.beastclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 12,500 points." to close then run [make player execute "store:buy.beastclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.tankclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 11,000 points." to close then run [make player execute "store:buy.tankclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.witchclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 15,000 points." to close then run [make player execute "store:buy.witchclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.priestclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 20,000 points." to close then run [make player execute "store:buy.priestclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.pyroclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 30,000 points." to close then run [make player execute "store:buy.pyroclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.rangerclass:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Purchase Confirmation" to player
- format slot 12 of player with emerald block named "&r" with lore "||&a&lPURCHASE &rfor 10,000 points." to close then run [make player execute "store:buy.rangerclass.yes"]
- format slot 14 of player with redstone block named "&r" with lore "||&c&lCANCEL &rpurchase and return to store front." to close then run [make player execute "store"]
- command /store:buy.rangerclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::ranger} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 9999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lRanger Class"
- else:
- set {player.%uuid of player%::unlocked::class::ranger} to true
- remove 10000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Ranger Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lRanger Class"
- command /store:buy.pyroclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::pyro} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 29999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lPyro Class"
- else:
- set {player.%uuid of player%::unlocked::class::pyro} to true
- remove 30000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Pyro Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lPyro Class"
- command /store:buy.priestclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::priest} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 19999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lPriest Class"
- else:
- set {player.%uuid of player%::unlocked::class::priest} to true
- remove 20000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Priest Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lPriest Class"
- command /store:buy.witchclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::witch} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 14999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lWitch Class"
- else:
- set {player.%uuid of player%::unlocked::class::witch} to true
- remove 15000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Witch Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lWitch Class"
- command /store:buy.tankclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::tank} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 10999:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lTank Class"
- else:
- set {player.%uuid of player%::unlocked::class::tank} to true
- remove 11000 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Tank Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lTank Class"
- command /store:buy.beastclass.yes:
- trigger:
- if {player.%uuid of player%::unlocked::class::beast} isn't set:
- if {player::%uuid of player%::game::points} isn't greater than 12499:
- send "&7[&c&lERROR&7] &cYou don't have sufficient currencies to purchase &lBeast Class"
- else:
- set {player.%uuid of player%::unlocked::class::beast} to true
- remove 12500 from {player::%uuid of player%::game::points}
- send "&7[&6&lPURCHASE&7] &ePurchased Beast Class"
- send "&eType &l/myclass &eto configure and equip your classes."
- else:
- send "&7[&c&lERROR&7] &cYou already own &lBeast Class"
- command /myclass:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8My Classes" to player
- format slot 10 of player with fishing rod named "&6&lCLASSIC" with lore "||&rLeft-click to view configurable options||&rfor the classic class." to close then run [make player execute "myclass:classic"]
- if {player.%uuid of player%::unlocked::class::knight} isn't set:
- format slot 11 of player with barrier named "&cPurchase Knight" to close then run [make player execute "store:buy.knightclass"]
- else:
- format slot 11 of player with diamond sword named "&6&lKNIGHT" with lore "||&rLeft-click to view configurable options||&rfor the knight class." to close then run [make player execute "myclass:knight"]
- if {player.%uuid of player%::unlocked::class::beast} isn't set:
- format slot 12 of player with barrier named "&cPurchase Beast" to close then run [make player execute "store:buy.beastclass"]
- else:
- format slot 12 of player with feather named "&6&lBEAST" with lore "||&rLeft-click to view configurable options||&rfor the beast class." to close then run [make player execute "myclass:beast"]
- if {player.%uuid of player%::unlocked::class::beast} isn't set:
- format slot 13 of player with barrier named "&cPurchase Tank" to close then run [make player execute "store:buy.tankclass"]
- else:
- format slot 13 of player with diamond chestplate named "&6&lTANK" with lore "||&rLeft-click to view configurable options||&rfor the tank class." to close then run [make player execute "myclass:tank"]
- if {player.%uuid of player%::unlocked::class::witch} isn't set:
- format slot 14 of player with barrier named "&cPurchase Witch" to close then run [make player execute "store:buy.witchclass"]
- else:
- format slot 14 of player with water_bottle named "&6&lWITCH" with lore "||&rLeft-click to view configurable options||&rfor the witch class." to close then run [make player execute "myclass:witch"]
- if {player.%uuid of player%::unlocked::class::priest} isn't set:
- format slot 15 of player with barrier named "&cPurchase Priest" to close then run [make player execute "store:buy.priestclass"]
- else:
- format slot 15 of player with gold helmet named "&6&lPRIEST" with lore "||&rLeft-click to view configurable options||&rfor the priest class." to close then run [make player execute "myclass:priest"]
- if {player.%uuid of player%::unlocked::class::pyro} isn't set:
- format slot 16 of player with barrier named "&cPurchase Pyro" to close then run [make player execute "store:buy.pyroclass"]
- else:
- format slot 16 of player with blaze powder named "&6&lPYRO" with lore "||&rLeft-click to view configurable options||&rfor the pyro class." to close then run [make player execute "myclass:pyro"]
- if {player.%uuid of player%::unlocked::class::ranger} isn't set:
- format slot 19 of player with barrier named "&cPurchase Ranger" to close then run [make player execute "store:buy.rangerclass"]
- else:
- format slot 19 of player with bow named "&6&lRANGER" with lore "||&rLeft-click to view configurable options||&rfor the ranger class." to close then run [make player execute "myclass:ranger"]
- command /myclass:classic:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Classic Class" to player
- if {player::%uuid of player%::myclass} is "Knight":
- format slot 13 of player with paper named "&c&lUNEQUIP &cClassic" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lClassic Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aClassic" to close then run [set {player::%uuid of player%::myclass} to "Classic"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lClassic Class"]
- command /myclass:knight:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Knight Class" to player
- if {player::%uuid of player%::myclass} is "Knight":
- format slot 13 of player with paper named "&c&lUNEQUIP &cKnight" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lKnight Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aKnight" to close then run [set {player::%uuid of player%::myclass} to "Knight"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lKnight Class"]
- command /myclass:beast:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Beast Class" to player
- if {player::%uuid of player%::myclass} is "Beast":
- format slot 13 of player with paper named "&c&lUNEQUIP &cBeast" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lBeast Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aBeast" to close then run [set {player::%uuid of player%::myclass} to "Beast"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lBeast Class"]
- command /myclass:tank:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Tank Class" to player
- if {player::%uuid of player%::myclass} is "Tank":
- format slot 13 of player with paper named "&c&lUNEQUIP &cTank" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lTank Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aTank" to close then run [set {player::%uuid of player%::myclass} to "Tank"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lTank Class"]
- command /myclass:witch:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Witch Class" to player
- if {player::%uuid of player%::myclass} is "Witch":
- format slot 13 of player with paper named "&c&lUNEQUIP &cClassic" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lWitch Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aClassic" to close then run [set {player::%uuid of player%::myclass} to "Witch"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lWitch Class"]
- command /myclass:priest:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Priest Class" to player
- if {player::%uuid of player%::myclass} is "Priest":
- format slot 13 of player with paper named "&c&lUNEQUIP &cClassic" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lPriest Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aClassic" to close then run [set {player::%uuid of player%::myclass} to "Priest"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lPriest Class"]
- command /myclass:pyro:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Pyro Class" to player
- if {player::%uuid of player%::myclass} is "Pyro":
- format slot 13 of player with paper named "&c&lUNEQUIP &cPyro" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lPyro Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aPyro" to close then run [set {player::%uuid of player%::myclass} to "Pyro"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lPyro Class"]
- command /myclass:ranger:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Ranger Class" to player
- if {player::%uuid of player%::myclass} is "Ranger":
- format slot 13 of player with paper named "&c&lUNEQUIP &cRanger" to close then run [delete {player::%uuid of player%::myclass}] -> [send "&7[&6&lCLASS&7] &eSuccessfully unequipped &lRanger Class"]
- else:
- format slot 13 of player with paper named "&a&lEQUIP &aRanger" to close then run [set {player::%uuid of player%::myclass} to "Ranger"] -> [send "&7[&6&lCLASS&7] &eSuccessfully equipped &lRanger Class"]
- command /store:class:
- trigger:
- wait 3 ticks
- open chest with 5 rows named "&8Class Store" to player
- if {player::%uuid of player%::unlocked::class::knight} isn't set:
- format slot 10 of player with diamond sword named "&6&lKNIGHT" with lore "||&eKnight Class||||&rIron Helmet, Leggings and Boots||&rChainmail Chestplate||||&rDiamond Sword||||&7Knight. The class for the aggressive||&7and kill thirsty.." to close then run [make player execute "store:buy.knightclass"]
- else:
- format slot 10 of player with barrier named "&6&lKNIGHT" with lore "||&eKnight Class||||&aPurchased, left-click to view opinions||&afor the Knight class." to close then run [make player execute "myclass:knight"]
- if {player::%uuid of player%::unlocked::class::beast} isn't set:
- format slot 11 of player with feather named "&6&lBEAST" with lore "||&eBeast Class||||&rChainmail Helmet, Chestplate, Leggings and Boots||||&rSharpness 1 Iron Sword||||&7Beast. Sonic but in||&7minecraft.." to close then run [make player execute "store:buy.beastclass"]
- else:
- format slot 11 of player with barrier named "&6&lBEAST" with lore "||&eBeast Class||||&aPurchased, left-click to view opinions||&afor the Beast class." to close then run [make player execute "myclass:beast"]
- if {player::%uuid of player%::unlocked::class::tank} isn't set:
- format slot 12 of player with diamond chestplate named "&6&lTANK" with lore "||&eTank Class||||&rDiamond Helmet, Leggings and Boots. Iron Chestplate||||&rSharpness 1 Iron Sword||||&7Tank. For those who enjoy not dying?" to close then run [make player execute "store:buy.tankclass"]
- else:
- format slot 12 of player with barrier named "&6&lTANK" with lore "||&eTank Class||||&aPurchased, left-click to view opinions||&afor the Tank class." to close then run [make player execute "myclass:tank"]
- if {player::%uuid of player%::unlocked::class::witch} isn't set:
- format slot 13 of player with water_bottle named "&6&lWITCH" with lore "||&eWitch Class||||&rChainmail Helmet. Gold Chestplate. ||&rLeather Leggings and Iron Boots||||&rSharpness 1 Iron Sword||||&7Witch. The balanced class, for those who||&7enjoy aggressvive and defensive." to close then run [make player execute "store:buy.witchclass"]
- else:
- format slot 13 of player with barrier named "&6&lWITCH" with lore "||&eWitch Class||||&aPurchased, left-click to view opinions||&afor the Witch class." to close then run [make player execute "myclass:witch"]
- if {player::%uuid of player%::unlocked::class::priest} isn't set:
- format slot 14 of player with gold helmet named "&6&lPRIEST" with lore "||&ePriest Class||||&rGold Helmet, Chestplate, Leggings and Boots||||&rSharpness 1 Iron Sword||||&7Priest. The remake of the bard class." to close then run [make player execute "store:buy.priestclass"]
- else:
- format slot 14 of player with barrier named "&6&lPRIEST" with lore "||&ePriest Class||||&aPurchased, left-click to view opinions||&afor the Priest class." to close then run [make player execute "myclass:priest"]
- if {player::%uuid of player%::unlocked::class::pyro} isn't set:
- format slot 15 of player with blaze powder named "&6&lPYRO" with lore "||&ePyro Class||||&rChainmail Helmet, Chestplate. Iron Leggings and Boots||||&rSharpness 1, Fire Aspect 1 Diamond Sword||||&7Pyro. Fire, fire, fire!" to close then run [make player execute "store:buy.pyroclass"]
- else:
- format slot 15 of player with barrier named "&6&lPYRO" with lore "||&ePyro Class||||&aPurchased, left-click to view opinions||&afor the Pyro class." to close then run [make player execute "myclass:pyro"]
- if {player::%uuid of player%::unlocked::class::ranger} isn't set:
- format slot 16 of player with bow named "&6&lRANGER" with lore "||&eRanger Class||||&rChainmail Helmet and Boots. Iron Chestplate and Leggings||||&rStone Sword||&rPower 2 and Punch 1 Bow||||&7Ranger. For those extreme snipers." to close then run [make player execute "store:buy.rangerclass"]
- else:
- format slot 16 of player with barrier named "&6&lRANGER" with lore "||&eRanger Class||||&aPurchased, left-click to view opinions||&afor the Ranger class." to close then run [make player execute "myclass:ranger"]
- command /fight:myclass:
- trigger:
- if {player::%uuid of player%::myclass} isn't set:
- set {player::%uuid of player%::myclass} to "Classic"
- if {player::%uuid of player%::myclass} is "Classic":
- set player's helmet to chainmail helmet named "&r"
- set player's chestplate to iron chestplate named "&r"
- set player's leggings to iron leggings named "&r"
- set player's boots to iron boots named "&r"
- set slot 0 of player to stone sword named "&r"
- if {player::%uuid of player%::myclass} is "Knight":
- set player's helmet to iron helmet named "&r"
- set player's chestplate to chainmail chestplate named "&r"
- set player's leggings to iron leggings named "&r"
- set player's boots to iron boots named "&r"
- set slot 0 of player to diamond sword named "&r"
- if {player::%uuid of player%::myclass} is "Beast":
- set player's helmet to chainmail helmet named "&r"
- set player's chestplate to chainmail chestplate named "&r"
- set player's leggings to chainmail leggings named "&r"
- set player's boots to chainmail boots named "&r"
- set slot 0 of player to iron sword of sharpness 1 named "&r"
- apply speed 2 to player for 999 days
- if {player::%uuid of player%::myclass} is "Tank":
- set player's helmet to diamond helmet named "&r"
- set player's chestplate to iron chestplate named "&r"
- set player's leggings to diamond leggings named "&r"
- set player's boots to diamond boots named "&r"
- set slot 0 of player to iron sword of sharpness 1 named "&r"
- apply slowness 1 to player for 999 days
- if {player::%uuid of player%::myclass} is "Witch":
- set player's helmet to chainmail helmet named "&r"
- set player's chestplate to gold chestplate named "&r"
- set player's leggings to leather leggings named "&r"
- set player's boots to iron boots named "&r"
- set slot 0 of player to iron sword of sharpness 1 named "&r"
- apply strength 2 to player for 999 days
- apply regeneration 1 to player for 999 days
- if {player::%uuid of player%::myclass} is "Priest":
- set player's helmet to gold helmet named "&r"
- set player's chestplate to gold chestplate named "&r"
- set player's leggings to gold leggings named "&r"
- set player's boots to gold boots named "&r"
- set slot 0 of player to iron sword of sharpness 1 named "&r"
- set slot 1 of player to red dye named "&r" with lore "||&r&lPriest||||&7Right-click the dye to recieve||&7regeneration 3 for 3 seconds."
- apply speed 1 to player for 999 days
- apply regeneration 1 to player for 999 days
- if {player::%uuid of player%::myclass} is "Pyro":
- set player's helmet to chainmail helmet named "&r"
- set player's chestplate to chainmail chestplate named "&r"
- set player's leggings to iron leggings named "&r"
- set player's boots to iron boots named "&r"
- set slot 0 of player to diamond sword of sharpness 1 and fire aspect 1 named "&r"
- apply speed 1 to player for 999 days
- apply fire resistance 1 to player for 999 days
- if {player::%uuid of player%::myclass} is "Ranger":
- set player's helmet to chainmail helmet named "&r"
- set player's chestplate to iron chestplate named "&r"
- set player's leggings to iron leggings named "&r"
- set player's boots to chainmail boots named "&r"
- set slot 0 of player to stone sword named "&r"
- set slot 1 of player to bow of power 2 and punch 1 named "&r"
- set slot 2 of player to 64 arrows named "&r"
- apply speed 2 to player for 999 days
- set slot 7 of player to 5 golden apples named "&r"
- set slot 8 of player to 16 cooked chicken named "&r"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement