Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on skript start:
- set {server.location.spawn} to {server.location.spawn}
- set {server.location.arena} to {server.location.arena}
- command /trigger:
- permission: *
- trigger:
- set {player::%uuid of player%::game::elorank} to "Unranked"
- on first join:
- set {player::%uuid of player%::rank::display} to "None"
- set {player::%uuid of player%::rank::prefix} to "&r"
- set {player::%uuid of player%::game::elorank} to "Unranked"
- set {player::%uuid of player%::game::kills} to 0
- set {player::%uuid of player%::game::deaths} to 0
- set {player::%uuid of player%::game::coins} to 10000
- set {player::%uuid of player%::game::elo} to 1000
- set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
- on join:
- send "&7&m--------------------------------------"
- message "&eConnect to our discord."
- message "&6&lDiscord &rhttps://discord.gg/qtaJPy6"
- message "&eFor help, type /information"
- send "&7&m--------------------------------------"
- command /information:
- aliases: /help, /info
- trigger:
- send "&7&m--------------------------------------"
- send "&6&l/class &e- Select classes."
- send "&6&l/shop &e- Browse the shop."
- send "&6&l/stats &e- View your statistics."
- send "&6&l/inventory &e- View your purchased items."
- send "&6&l/game &e- Join/Leave the arena."
- send "&6&l/gift &e- Gift players coins."
- send "&7&m--------------------------------------"
- on join:
- teleport player to {server::location::spawn}
- make player execute "spawn"
- delete {player::%uuid of player%::game::unranked::status}
- set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
- on disconnect:
- set leave message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas disconnected from the server."
- command /gift [<offline player>] [<integer>]:
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {_amount} to arg-2
- if {player::%uuid of player%::game::coins} < {_amount}:
- send "&cYou don't have sufficient currencies to gift %arg-1% &l$%arg-2%"
- else:
- remove arg-2 from {player::%uuid of player%::game::coins}
- add arg-2 to {player::%uuid of arg-1%::game::coins}
- send "&6&l[*] &rGifted %arg-1% $%arg-2% dollars." to player
- send "&6&l[*] &rRecieved $%arg-2% dollars from %arg-1%" to arg-1
- else:
- send "&cUnspecified argument(s): &n/gift <player> <amount>"
- else:
- send "&cUnspecified argument(s): &n/gift <player> <amount>"
- command /stats [<offline player>]:
- trigger:
- if arg-1 is set:
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&l%arg-1%'s Global Statistics"
- send " &r&lKILLS &7%{player::%uuid of arg-1%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of arg-1%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of arg-1%::game::elo}%"
- send " &r&lCOINS &7%{player::%uuid of arg-1%::game::coins}%"
- send "&r"
- send "&7&m--------------------------------------"
- else:
- 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&lCOINS &7%{player::%uuid of player%::game::coins}%"
- send "&r"
- send "&7&m--------------------------------------"
- command /unranked:
- trigger:
- if {player::%uuid of player%::game::ranked::status} isn't set:
- if {player::%uuid of player%::game::unranked::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::unranked::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::unranked::status} to true
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lUNRANKED &6FFA"
- send "&r"
- send " &r&lCLASS &7%{player.%uuid of player%::game::class}%"
- send "&r"
- send "&7&m--------------------------------------"
- if {player::%uuid of player%::game::effects::speed1} is set:
- apply speed 1 to player for 999 days
- if {player::%uuid of player%::game::effects::speed2} is set:
- apply speed 2 to player for 999 days
- if {player::%uuid of player%::game::effects::strength1} is set:
- apply strength 1 to player for 999 days
- if {player.%uuid of player%::game::class} is "Aggressive":
- clear player's inventory
- make player execute "server:class1"
- else if {player.%uuid of player%::game::class} is "Bard":
- clear player's inventory
- make player execute "server:class2"
- else if {player.%uuid of player%::game::class} is "Balanced":
- clear player's inventory
- make player execute "server:class3"
- else if {player.%uuid of player%::game::class} is "Pyro":
- clear player's inventory
- make player execute "server:class4"
- else if {player.%uuid of player%::game::class} is "Thief":
- clear player's inventory
- make player execute "server:class5"
- else:
- send "&cYou have to leave &lRanked &cbefore entering unranked."
- command /shop:
- trigger:
- open chest with 1 row named "&8Shop" to player
- format slot 0 of player with diamond chestplate named "&r&lCLASSES &rShop" with lore "||&rLeft-click to browse purchaseable kits." to close then run [make player execute "server:classshop"]
- format slot 1 of player with crafting table named "&r&lRANKS &rShop" with lore "||&rLeft-click to browse our ranks." to close then run [make player execute "server:rankshop"]
- format slot 2 of player with red dye named "&r&lKILL EFFECTS &rShop" with lore "||&rLeft-click to browse purchaseable kill effects." to close then run [make player execute "server:killeffectshop"]
- format slot 3 of player with player's skull named "&r&lDEATH ANIMATIONS &rShop" with lore "||&rLeft-click to browse purchaseable death animations." to close then run [make player execute "server:deathanimationshop"]
- format slot 4 of player with water_bottle named "&r&lPERMANENT &rShop" with lore "||&rLeft-click to browse purchaseable effects" to close then run [make player execute "server:effectsshop"]
- command /server:rankshop:
- trigger:
- send "&cComing soon"
- command /server:killeffectshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Kill Effects Shop" to player
- if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$5,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect1"]
- else:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
- format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&r$7,500||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect2"]
- else:
- format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player::%uuid of player%::game::killeffects::regen2} isn't set:
- format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&r$10,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect3"]
- else:
- format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&a&lOWNED" to be unstealable
- command /server:buykilleffect1:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 4999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed One Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::speed1} to true
- remove 5000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed One Kill Effect"
- set {player::%uuid of player%::game::killeffects::speed1} to true
- send "&eSelected Speed One Kill Effect"
- else:
- send "&cYou already own &lSpeed One Kill Effect"
- command /server:buykilleffect2:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 7499:
- send "&cYou don't have sufficient currencies to purchase &lStrength One Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::strength1} to true
- remove 7500 from {player::%uuid of player%::game::coins}
- send "&ePurchased Strength One Effect"
- set {player::%uuid of player%::game::killeffects::strength1} to true
- send "&eSelected Strength One Effect"
- else:
- send "&cYou already own &lStrength One Kill Effect"
- command /server:buykilleffect3:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::regen2} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 9999:
- send "&cYou don't have sufficient currencies to purchase &lRegeneration Two Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::regen2} to true
- remove 10000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Regeneration Two Effect"
- set {player::%uuid of player%::game::killeffects::regen2} to true
- send "&eSelected Regeneration Two Effect"
- else:
- send "&cYou already own &lRegeneration Two Kill Effect"
- command /server:effectsshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Effects Shop" to player
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect1"]
- else:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::effects::speed2} isn't set:
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE SPEED 1 FIRST" to be unstealable
- else:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&r$45,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect2"]
- else:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::effects::strength1} isn't set:
- format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&r$55,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect3"]
- else:
- format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
- command /server:classshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Class Shop" to player
- if {player.%uuid of player%::inventory::class::thief} isn't set:
- format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass5"]
- else:
- format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&a&lOWNED" to be unstealable
- format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::bard} isn't set:
- format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass2"]
- else:
- format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::balanced} isn't set:
- format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&r$30,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass3"]
- else:
- format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::pyro} isn't set:
- format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass4"]
- else:
- format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&a&lOWNED" to be unstealable
- command /server:deathanimationshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Death Animations Shop" to player
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&r$2,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation2"]
- else:
- format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&r$3,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation3"]
- else:
- format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&a&lOWNED" to be unstealable
- command /server:buyeffect3:
- trigger:
- if {player.%uuid of player%::inventory::effects::strength1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 54999:
- send "&cYou don't have sufficient currencies to purchase &lStrength One Effect"
- else:
- set {player.%uuid of player%::inventory::effects::strength1} to true
- remove 55000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Strength One Effect"
- set {player::%uuid of player%::game::effects::strength1} to true
- send "&eSelected Strength One Effect"
- else:
- send "&cYou already own &lStrength One Effect"
- command /server:buyeffect2:
- trigger:
- if {player.%uuid of player%::inventory::effects::speed2} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 44999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed Two Effect"
- else:
- set {player.%uuid of player%::inventory::effects::speed2} to true
- remove 45000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed Two Effect"
- set {player::%uuid of player%::game::effects::speed1} to true
- send "&eSelected Speed Two Effect"
- else:
- send "&cYou already own &lSpeed Two Effect"
- command /server:buyeffect1:
- trigger:
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 24999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed One Effect"
- else:
- set {player.%uuid of player%::inventory::effects::speed1} to true
- remove 25000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed One Effect"
- set {player::%uuid of player%::game::effects::speed1} to true
- send "&eSelected Speed One Effect"
- else:
- send "&cYou already own &lSpeed One Effect"
- command /server:buydeathanimation2:
- trigger:
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 1999:
- send "&cYou don't have sufficient currencies to purchase &lExplosion Effect"
- else:
- set {player.%uuid of player%::inventory::deathanimation::explosion} to true
- remove 2000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Explosion Effect"
- set {player::%uuid of player%::game::deathanimation::explosion} to true
- send "&eSelected Explosion Effect"
- else:
- send "&cYou already own &lExplosion Effect"
- command /server:buydeathanimation3:
- trigger:
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 2999:
- send "&cYou don't have sufficient currencies to purchase &lBlood Effect"
- else:
- set {player.%uuid of player%::inventory::deathanimation::blood} to true
- remove 3000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Blood Effect"
- set {player::%uuid of player%::game::deathanimation::blood} to true
- send "&eSelected Blood Effect"
- else:
- send "&cYou already own &lBlood Effect"
- command /server:buyclass2:
- trigger:
- if {player.%uuid of player%::inventory::class::bard} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 19999:
- send "&cYou don't have sufficient currencies to purchase &lBard Class"
- else:
- set {player.%uuid of player%::inventory::class::bard} to true
- remove 20000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Bard Class"
- set {player.%uuid of player%::game::class} to "Bard"
- send "&eSelected Bard Class"
- else:
- send "&cYou already own &lBard Class"
- command /server:buyclass3:
- trigger:
- if {player.%uuid of player%::inventory::class::balanced} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 29999:
- send "&cYou don't have sufficient currencies to purchase &lBalanced Class"
- else:
- set {player.%uuid of player%::inventory::class::balanced} to true
- remove 30000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Balanced Class"
- set {player.%uuid of player%::game::class} to "Balanced"
- send "&eSelected Balanced Class"
- else:
- send "&cYou already own &lBard Class"
- command /server:buyclass4:
- trigger:
- if {player.%uuid of player%::inventory::class::pyro} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 19999:
- send "&cYou don't have sufficient currencies to purchase &lPyro Class"
- else:
- set {player.%uuid of player%::inventory::class::pyro} to true
- remove 20000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Pyro Class"
- set {player.%uuid of player%::game::class} to "Pyro"
- send "&eSelected Pyro Class"
- else:
- send "&cYou already own &lPyro Class"
- command /server:buyclass5:
- trigger:
- if {player.%uuid of player%::inventory::class::thief} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 24999:
- send "&cYou don't have sufficient currencies to purchase &lThief Class"
- else:
- set {player.%uuid of player%::inventory::class::thief} to true
- remove 25000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Thief Class"
- set {player.%uuid of player%::game::class} to "Thief"
- send "&eSelected Thief Class"
- else:
- send "&cYou already own &lThief Class"
- command /inventory:
- aliases: /inv
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Inventory" to player
- format slot 12 of player with book named "&r&lKILL &rEffects" to close then run [make player execute "/server:invkilleffects"]
- format slot 13 of player with book named "&r&lDEATH &rAnimations" to close then run [make player execute "/server:invdeathanimations"]
- format slot 14 of player with book named "&r&lPERMANENT &rEffects" to close then run [make player execute "/server:invpermeffects"]
- command /server:invkilleffects:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Kill Effects" to player
- if {player.%uuid of player%::inventory::killeffects::speed1} is true:
- format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed2}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Speed One Effect"]
- else:
- format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::regen2} is true:
- format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Regeneration Two Effect"]
- else:
- format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::strength1} is true:
- format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::regen2}] -> [set {player::%uuid of player%::game::killeffects::strength1} to true] -> [send "&eSelected Strength One Effect"]
- else:
- format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /server:invpermeffects:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Permanent Effects" to player
- if {player.%uuid of player%::inventory::effects::speed1} is true:
- format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed2}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed1} to true] -> [send "&eSelected Speed One Effect"]
- else:
- format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::effects::speed2} is true:
- format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed2} to true] -> [send "&eSelected Speed Two Effect"]
- else:
- format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::effects::strength1} is true:
- format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::speed2}] -> [set {player::%uuid of player%::game::effects::strength1} to true] -> [send "&eSelected Strength One Effect"]
- else:
- format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /server:invdeathanimations:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Death Animations" to player
- if {player.%uuid of player%::inventory::deathanimation::explosion} is true:
- format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::blood} to false] -> [set {player::%uuid of player%::game::deathanimation::explosion} to true] -> [send "&eSelected Explosion Effect"]
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::deathanimation::blood} is true:
- format slot 11 of player with red dye named "&r&lBLOOD &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::explosion} to false] -> [set {player::%uuid of player%::game::deathanimation::blood} to true] -> [send "&eSelected Blood Effect"]
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- format slot 11 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /class:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Class" to player
- format slot 11 of player with book named "&r&lTHIEF &rClass" to close then run [make player execute "/server:class5setting"]
- format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" to close then run [make player execute "/server:class1setting"]
- format slot 13 of player with book named "&r&lBARD &rClass" to close then run [make player execute "/server:class2setting"]
- format slot 14 of player with book named "&r&lBALANCED &rClass" to close then run [make player execute "/server:class3setting"]
- format slot 15 of player with book named "&r&lPYRO &rClass" to close then run [make player execute "/server:class4setting"]
- command /server:class5setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Thief" to player
- format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"]
- format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"]
- if {player.%uuid of player%::game::class} isn't "Thief":
- if {player.%uuid of player%::inventory::class::thief} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Thief"] -> [send "&eClass Thief Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lTHIEF &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class4setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Pyro" to player
- format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"]
- format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"]
- if {player.%uuid of player%::game::class} isn't "Pyro":
- if {player.%uuid of player%::inventory::class::pyro} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Pyro"] -> [send "&eClass Pyro Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lPYRO &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class3setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Balanced" to player
- format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"]
- format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"]
- if {player.%uuid of player%::game::class} isn't "Balanced":
- if {player.%uuid of player%::inventory::class::balanced} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Balanced"] -> [send "&eClass Balanced Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lBALANCED &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class2setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Bard" to player
- format slot 10 of player with feather named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"]
- if {player.%uuid of player%::game::class} isn't "Bard":
- if {player.%uuid of player%::inventory::class::bard} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Bard"] -> [send "&eClass Bard Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lBARD &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class1setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Aggressive" to player
- format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"]
- if {player.%uuid of player%::game::class} isn't "Aggressive":
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Aggressive"] -> [send "&eClass Aggressive Selected."]
- else:
- format slot 21 of player with enchanted book named "&r&lAGGRESSIVE &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class5:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::thief::weapon} isn't set:
- open chest with 3 rows named "&8Thief Class" to player
- format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"] -> [make player execute "server:class5"]
- format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"] -> [make player execute "server:class5"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing leather helmet of protection 3
- set player's chestplate to glowing chainmail chestplate of protection 2
- set player's leggings to glowing chainmail leggings of protection 2
- set player's boots to glowing leather boots of protection 3
- set slot 0 of player to glowing gold sword of sharpness 2 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.arena}
- if {player::%uuid of player%::game::class::thief::weapon} is "Speed2":
- apply speed 2 to player for 999 days
- else if {player::%uuid of player%::game::class::thief::weapon} is "Invis":
- set slot 1 of player to 3 water_bottle named "&rInvisibility Potions"
- command /server:class4:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::pyro::weapon} isn't set:
- open chest with 3 rows named "&8Pyro Class" to player
- format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"] -> [make player execute "server:class4"]
- format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"] -> [make player execute "server:class4"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing chainmail helmet of protection 1
- set player's chestplate to glowing iron chestplate of protection 1
- set player's leggings to glowing chainmail leggings of protection 1
- set player's boots to glowing chainmail boots of protection 1
- set slot 0 of player to glowing iron axe of fire aspect 1 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.arena}
- if {player::%uuid of player%::game::class::pyro::weapon} is "Speed":
- apply speed 1 to player for 999 days
- else if {player::%uuid of player%::game::class::pyro::weapon} is "Sharpness":
- set slot 0 of player to glowing iron axe of sharpness 1 and fire aspect 1 named "&r%player%'s Sharpned Sword"
- command /server:class3:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::balanced::weapon} isn't set:
- open chest with 3 rows named "&8Balanced Class" to player
- format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"] -> [make player execute "server:class3"]
- format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"] -> [make player execute "server:class3"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing iron helmet of protection 1
- set player's chestplate to glowing iron chestplate
- set player's leggings to glowing iron leggings
- set player's boots to glowing iron boots of protection 1
- set slot 0 of player to glowing stone sword of sharpness 2 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.arena}
- if {player::%uuid of player%::game::class::balanced::weapon} is "Speed Potions":
- set slot 1 of player to 3 water_bottle named "&rSpeed Potions"
- else if {player::%uuid of player%::game::class::balanced::weapon} is "Bow":
- set slot 1 of player to bow of power 1 named "&r%player%'s Bow"
- set slot 2 of player to 64 arrows
- command /server:class2:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::bard::weapon} isn't set:
- open chest with 3 rows named "&8Bard Class" to player
- format slot 10 of player with iron ingot named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eJUMP &rBoost.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"] -> [make player execute "server:class2"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"] -> [make player execute "server:class2"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing golden helmet
- set player's chestplate to glowing golden chestplate
- set player's leggings to glowing golden leggings
- set player's boots to glowing golden boots
- set slot 0 of player to glowing iron sword of sharpness 2 named "&r%player%'s Sword"
- set slot 5 of player to 3 blaze rods
- set slot 6 of player to 3 feathers
- set slot 7 of player to 5 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::bard::weapon} is "Jump Boost":
- set slot 4 of player to 3 iron ingots
- else if {player::%uuid of player%::game::class::bard::weapon} is "Diamond Sword":
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
- command /server:class1:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::aggressive::weapon} isn't set:
- open chest with 3 rows named "&8Aggressive Class" to player
- format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"] -> [make player execute "server:class1"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"] -> [make player execute "server:class1"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing iron helmet
- set player's chestplate to glowing iron chestplate
- set player's leggings to glowing iron leggings
- set player's boots to glowing iron boots
- set slot 0 of player to glowing diamond sword named "&r%player%'s Sword"
- set slot 7 of player to 10 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::aggressive::weapon} is "Thunder Axe" or "Magic Axe":
- set slot 1 of player to golden axe named "&rMagic Axe"
- else if {player::%uuid of player%::game::class::aggressive::weapon} is "Diamond Sword":
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
- on respawn:
- wait 10 ticks
- teleport player to {server::location::spawn}
- on death:
- if {player::%uuid of attacker%::game::killeffects::speed1} is true:
- apply speed 1 to attacker for 5 seconds
- else if {player::%uuid of attacker%::game::killeffects::strength1} is true:
- apply strength 1 to attacker for 5 seconds
- else if {player::%uuid of attacker%::game::killeffects::regen2} is true:
- apply regeneration 2 to attacker for 5 seconds
- on death:
- victim is a player:
- attacker is a player:
- if {player::%uuid of player%::game::unranked::status} is true:
- clear drops
- send "&6&l+50 COINS" to attacker
- 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}
- add 1 to {player::%uuid of attacker%::game::killstreak}
- add 50 to {player::%uuid of attacker%::game::coins}
- add 1 to {player::%uuid of victim%::game::deaths}
- delete {player::%uuid of victim%::game::killstreak}
- if {player::%uuid of victim%::game::deathanimation::blood} is true:
- drop 5 red dye at location of victim
- drop 5 bone at location of victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- if {player::%uuid of victim%::game::deathanimation::explosion} is true:
- create fake explosion at victim
- drop 2 tnt at location of victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- else:
- clear drops
- set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
- on respawn:
- if {player::%uuid of player%::game::unranked::status} is true:
- make player execute "unranked"
- make player execute "spawn"
- on pickup of red dye:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on pickup of bone:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on pickup:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on break:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on place:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on drop:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on rightclick:
- if player's tool is a blaze rod:
- remove 1 blaze rod from player
- apply strength 2 to player for 5 seconds
- if player's tool is a feather:
- remove 1 feather from player
- apply speed 2 to player for 10 seconds
- if player's tool is a iron ingot:
- remove 1 iron ingot from player
- apply jump boost 3 to player for 5 seconds
- if player's tool is a water_bottle:
- if name of player's tool is "&rSpeed Potions":
- remove 1 water_bottle named "&rSpeed Potions" from player
- apply speed 1 to player for 2 minutes
- if player's tool is a water_bottle:
- if name of player's tool is "&rInvisibility Potions":
- remove 1 water_bottle named "&rInvisibility Potions" from player
- hide the player from all players
- loop 5 times:
- reveal the player from all players
- wait 2.5 seconds
- hide the player from all players
- wait 2.5 seconds
- reveal the player from all players
- send "&elINVISIBILITY was wore off."
- on leftclick:
- if player's tool is a golden axe named "&rMagic Axe":
- cancel event
- if {player::%uuid of player%::game::item::magicaxe::cooldown} isn't set:
- chance of 33%:
- apply strength 2 to player for 2 seconds
- chance of 33%:
- apply strength 1 to player for 2 seconds
- chance of 33%:
- apply poison 1 to player for 2 seconds
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 5
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 4
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 3
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 2
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 1
- wait 1 second
- delete {player::%uuid of player%::game::item::magicaxe::cooldown}
- else:
- send "&cYou still have a &e&lMagic Axe &ccooldown for another %{player::%uuid of player%::game::item::magicaxe::cooldown}% seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement