Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Curse Script Developed by Aura(@Aura#9763)
- # Entitled for Absem (Curse)
- # Version Token: -1
- # ################################################################################################################################### #
- on join:
- # FIRST JOIN CHECK
- if {pdata::%uuid of player%::firstJoin} isn't set:
- set {pdata::%uuid of player%::firstJoin} to true
- set {pdata::%uuid of player%::Shards} to 0
- set {pdata::%uuid of player%::Kills} to 0
- set {pdata::%uuid of player%::Deaths} to 0
- set {pdata::%uuid of player%::League} to "Unranked"
- set {pdata::%uuid of player%::Rank} to "Player"
- set {pdata::%uuid of player%::rankPrefix} to "&a"
- set join message to "&d&lCURSE &7&l» &r%player% has connected."
- wait 5 ticks
- make player execute "spawn"
- loop 100 times:
- send "&r" to player
- send " &d&lCURSE &7&l» &rRanked FFA" to player
- send "" to player
- send " &7&l» &rUser&7: &d%player%" to player
- send " &7&l» &rLeague&7: &d%{pdata::%uuid of player%::League}%" to player
- send " &7&l» &rRank&7: &d%{pdata::%uuid of player%::Rank}%" to player
- send "" to player
- send "" to player
- on disconnect:
- set leave message to "&d&lCURSE &7&l» &r%player% has disconnected."
- on right click:
- player's tool is a clock:
- name of player's tool is "&d&lJoin &7(Right Click)":
- make player execute "join"
- cancel the event
- on right click:
- player's tool is a player's skull:
- name of player's tool is "&d&lStatistics &7(Right Click)":
- send "&dOpening %player%'s statisitcs" to player
- open chest with 3 rows named "&8Displaying your game statisitcs:" to player
- format slot 10 of player with iron fence named "&r" to be unstealable
- format slot 12 of player with name tag named "&d&lUser Data" with lore "&8All %player%'s user statisitcs||||&d&lLeague|| &7&l» &r%{pdata::%uuid of player%::League}%||&d&lRank|| &7&l» &r%{pdata::%uuid of player%::Rank}%||&d&lShards|| &7&l» &r%{pdata::%uuid of player%::Shards}%" to be unstealable
- format slot 14 of player with name tag named "&d&lGame Data" with lore "&8All %player%'s game statistics||||&d&lShards|| &7&l» &r%{pdata::%uuid of player%::Shards}%||&d&lKills|| &7&l» &r%{pdata::%uuid of player%::Kills}%||&d&lDeaths|| &7&l» &r%{pdata::%uuid of player%::Deaths}%" to be unstealable
- format slot 16 of player with iron fence named "&r" to be unstealable
- cancel the event
- on right click:
- player's tool is a brewing stand:
- name of player's tool is "&d&lMarket &7(Right Click)":
- send "&dOpening the market" to player
- open chest with 4 rows named "&8Market" to player
- format slot 10 of player with name tag named "&d&lPlayer Tags" with lore "||&7Purchase player tags to make your||&7name in chat stand out!||||&dNOTE: Donators can have custom tags||&dusing the &r/tag &dcommand!" to close then run [make player execute "buy tags"]
- format slot 11 of player with blaze powder named "&d&lKill Effects" with lore "||&7Purchase kill effects to gain||&7an advantage over cleaners!||||&dNOTE: You can only equip one||&dkill effect at a time!" to close then run [make player execute "buy killeffects"]
- format slot 12 of player with iron chestplate named "&d&lClasses" with lore "||&7Purchase classes to experiment with||&7other gear and use different strats!||||&dNOTE: Classes are not refundable||&dand you can only equip one!" to close then run [make player execute "buy classes"]
- format slot 13 of player with golden apple named "&d&lItems" with lore "||&7Purchase an extra item to stay alive for||&7longer and gain more shards!||||&dNOTE: You can only equip one||&ditem at a time!" to close then run [make player execute "buy items"]
- format slot 25 of player with barrier named "&d&lMore coming soon" with lore "||&7You've got an idea on what to sell||&7in the market?||||&7Let us know on our &ddiscord &7server!||&7Connect to our discord using||&7the &d/discord &7command!" to close then run [make player execute "discord"]
- cancel the event
- # Inside of arena or spawn
- on break:
- player doesn't have permission "perm.admin":
- cancel the event
- stop
- player has permission "perm.admin":
- if {pdata::%uuid of player%::settings::grief} isn't set:
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "Off":
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "On":
- stop
- on place:
- player doesn't have permission "perm.admin":
- cancel the event
- stop
- player has permission "perm.admin":
- if {pdata::%uuid of player%::settings::grief} isn't set:
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "Off":
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "On":
- stop
- on inventory click:
- player doesn't have permission "perm.admin":
- cancel the event
- stop
- player has permission "perm.admin":
- if {pdata::%uuid of player%::settings::grief} isn't set:
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "Off":
- cancel the event
- if {pdata::%uuid of player%::settings::grief} is "On":
- stop
- on respawn:
- wait 5 ticks
- make player execute "spawn"
- on damage:
- if {pdata::%uuid of victim%::inSpawn} is set:
- cancel the event
- if {pdata::%uuid of attacker%::inSpawn} is set:
- cancel the event
- on death:
- clear drops
- if attacker is a player:
- if victim is a player:
- set death message to "&c%victim% has been slain by %attacker%"
- add 1 to {pdata::%uuid of victim%::Deaths}
- add 1 to {pdata::%uuid of attacker%::Kills}
- add 5 to {pdata::%uuid of attacker%::Shards}
- stop
- set death message to "&c%victim% has been slain"
- stop
- set death message to "&c%victim% has been slain"
- stop
- on death:
- if {pdata::%uuid of attacker%::effect} is "Speed1":
- apply speed 1 to attacker for 5 seconds
- stop
- if {pdata::%uuid of attacker%::effect} is "Speed2":
- if {pdata::%uuid of attacker%::class} is "Pyro":
- stop
- apply speed 2 to attacker for 5 seconds
- stop
- if {pdata::%uuid of attacker%::effect} is "Regen2":
- if {pdata::%uuid of attacker%::class} is "Ranger":
- stop
- apply regeneration 2 to attacker for 5 seconds
- stop
- if {pdata::%uuid of attacker%::effect} is "Strength1":
- apply strength 1 to attacker for 5 seconds
- stop
- if {pdata::%uuid of attacker%::effect} is "Strength2":
- if {pdata::%uuid of attacker%::class} is "Axemen" or "Bubble":
- stop
- apply strength 2 to attacker for 5 seconds
- stop
- on right click:
- player's tool is a nether star:
- name of player's tool is "&d&lLucky Charm":
- set slot 8 of player to barrier named "&d&lItem Used" with lore "||&7You can only use your lucky||&7charm once every match."
- set {_effect} to random integer between 0 and 2
- if {_effect} is 0:
- send "&d&lLucky Charm &7&l» &rGolden Apples" to player
- give player 10 golden apples:0
- stop
- if {_effect} is 1:
- send "&d&lLucky Charm &7&l» &rKnockback Stick" to player
- give player stick of knockback 3
- stop
- if {_effect} is 2:
- send "&d&lLucky Charm &7&l» &rTake Flight!" to player
- push player upwards at speed 1
- stop
- cancel the event
- on chat:
- cancel the event
- if {pdata::%uuid of player%::tag} is set:
- broadcast "%{pdata::%uuid of player%::tag}% %{pdata::%uuid of player%::rankPrefix}%%player%&7: &r%message%"
- stop
- broadcast "%{pdata::%uuid of player%::rankPrefix}%%player%&7: &r%message%"
- # ################################################################################################################################### #
- command /buy [<string>] [<string>]:
- trigger:
- if argument 1 isn't set:
- wait 3 ticks
- send "&dOpening the market" to player
- open chest with 4 rows named "&8Market" to player
- format slot 10 of player with name tag named "&d&lPlayer Tags" with lore "||&7Purchase player tags to make your||&7name in chat stand out!||||&dNOTE: Donators can have custom tags||&dusing the &r/tag &dcommand!" to close then run [make player execute "buy tags"]
- format slot 11 of player with blaze powder named "&d&lKill Effects" with lore "||&7Purchase kill effects to gain||&7an advantage over cleaners!||||&dNOTE: You can only equip one||&dkill effect at a time!" to close then run [make player execute "buy killeffects"]
- format slot 12 of player with iron chestplate named "&d&lClasses" with lore "||&7Purchase classes to experiment with||&7other gear and use different strats!||||&dNOTE: Classes are not refundable||&dand you can only equip one!" to close then run [make player execute "buy classes"]
- format slot 13 of player with golden apple named "&d&lItems" with lore "||&7Purchase an extra item to stay alive for||&7longer and gain more shards!||||&dNOTE: You can only equip one||&ditem at a time!" to close then run [make player execute "buy items"]
- format slot 25 of player with barrier named "&d&lMore coming soon" with lore "||&7You've got an idea on what to sell||&7in the market?||||&7Let us know on our &ddiscord &7server!||&7Connect to our discord using||&7the &d/discord &7command!" to close then run [make player execute "discord"]
- if argument 1 is "tags":
- if argument 2 isn't set:
- wait 3 ticks
- open chest with 4 rows named "&8You are viewing the tags section:" to player
- format slot 10 of player with name tag named "&d&lPlayer Tag One" with lore "||&d&lTag Information||&dPrefix|| &7&l» &c[AURA]||&dCost|| &7&l» &r$1,000" to close then run [make player execute "buy tags aura"]
- format slot 11 of player with name tag named "&d&lPlayer Tag Two" with lore "||&d&lTag Information||&dPrefix|| &7&l» &e[16CPS]||&dCost|| &7&l» &r$2,000" to close then run [make player execute "buy tags 16cps"]
- format slot 12 of player with name tag named "&d&lPlayer Tag Three" with lore "||&d&lTag Information||&dPrefix|| &7&l» &9[HACKER]||&dCost|| &7&l» &r$3,000" to close then run [make player execute "buy tags hacker"]
- format slot 13 of player with name tag named "&d&lPlayer Tag Four" with lore "||&d&lTag Information||&dPrefix|| &7&l» &a[DONUT]||&dCost|| &7&l» &r$4,000" to close then run [make player execute "buy tags donut"]
- format slot 14 of player with name tag named "&d&lPlayer Tag Five" with lore "||&d&lTag Information||&dPrefix|| &7&l» &d[CURSE]||&dCost|| &7&l» &r$5,000" to close then run [make player execute "buy tags curse"]
- format slot 25 of player with barrier named "&d&lGo back!" with lore "||&7Go back to the market homepage." to close then run [make player execute "buy"]
- else if argument 2 is set:
- if argument 2 is "aura":
- if {pdata::%uuid of player%::owned::aura} is set:
- set {pdata::%uuid of player%::tag} to "&c[AURA]"
- send "&d&l(Tag) &dSuccessfully equipped tag!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 999:
- remove 1000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::aura} to true
- set {pdata::%uuid of player%::tag} to "&c[AURA]"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "16cps":
- if {pdata::%uuid of player%::owned::16cps} is set:
- set {pdata::%uuid of player%::tag} to "&e[16CPS]"
- send "&d&l(Tag) &dSuccessfully equipped tag!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 1999:
- remove 2000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::16cps} to true
- set {pdata::%uuid of player%::tag} to "&e[16CPS]"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 1999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "hacker":
- if {pdata::%uuid of player%::owned::hacker} is set:
- set {pdata::%uuid of player%::tag} to "&9[HACKER]"
- send "&d&l(Tag) &dSuccessfully equipped tag!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 2999:
- remove 3000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::hacker} to true
- set {pdata::%uuid of player%::tag} to "&9[HACKER]"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 2999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "donut":
- if {pdata::%uuid of player%::owned::donut} is set:
- set {pdata::%uuid of player%::tag} to "&a[DONUT]"
- send "&d&l(Tag) &dSuccessfully equipped tag!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 3999:
- remove 4000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::donut} to true
- set {pdata::%uuid of player%::tag} to "&a[DONUT]"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 3999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "curse":
- if {pdata::%uuid of player%::owned::curse} is set:
- set {pdata::%uuid of player%::tag} to "&d[CURSE]"
- send "&d&l(Tag) &dSuccessfully equipped tag!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 4999:
- remove 5000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::curse} to true
- set {pdata::%uuid of player%::tag} to "&d[CURSE]"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 5999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- else if argument 2 isn't "aura", "16cps", "hacker", "donut" or "curse":
- send "&d&l(Market) &dUnknown tag!"
- if argument 1 is "killeffects":
- if argument 2 isn't set:
- wait 3 ticks
- open chest with 4 rows named "&8You are viewing the kill effects section:" to player
- format slot 10 of player with feather named "&d&lKill Effect One" with lore "||&d&lEffect Information||&dEffect|| &7&l» &rSpeed 1||&dCost|| &7&l» &r$1,000" to close then run [make player execute "buy killeffects speed"]
- format slot 11 of player with 2 feather named "&d&lKill Effect Two" with lore "||&d&lEffect Information||&dEffect|| &7&l» &rSpeed 2||&dCost|| &7&l» &r$2,000" to close then run [make player execute "buy killeffects speed2"]
- format slot 12 of player with 2 golden apple:0 named "&d&lKill Effect Three" with lore "||&d&lEffect Information||&dEffect|| &7&l» &rRegeneration 2||&dCost|| &7&l» &r$3,000" to close then run [make player execute "buy killeffects regen2"]
- format slot 13 of player with blaze powder named "&d&lKill Effect Four" with lore "||&d&lEffect Information||&dEffect|| &7&l» &rStrength 1||&dCost|| &7&l» &r$4,000" to close then run [make player execute "buy killeffects strength"]
- format slot 14 of player with 2 blaze powder named "&d&lKill Effect Five" with lore "||&d&lEffect Information||&dEffect|| &7&l» &rStrength 2||&dCost|| &7&l» &r$5,000" to close then run [make player execute "buy killeffects strength2"]
- format slot 25 of player with barrier named "&d&lGo back!" with lore "||&7Go back to the market homepage." to close then run [make player execute "buy"]
- else if argument 2 is set:
- if argument 2 is "speed":
- if {pdata::%uuid of player%::owned::speed1} is set:
- set {pdata::%uuid of player%::effect} to "Speed1"
- send "&d&l(Effect) &dSuccessfully equipped effect!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 999:
- remove 1000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::speed1} to true
- set {pdata::%uuid of player%::effect} to "Speed1"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "speed2":
- if {pdata::%uuid of player%::owned::speed2} is set:
- set {pdata::%uuid of player%::effect} to "Speed2"
- send "&d&l(Effect) &dSuccessfully equipped effect!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 1999:
- remove 2000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::speed2} to true
- set {pdata::%uuid of player%::effect} to "Speed2"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 1999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "regen2":
- if {pdata::%uuid of player%::owned::regen2} is set:
- set {pdata::%uuid of player%::effect} to "Regen2"
- send "&d&l(Effect) &dSuccessfully equipped effect!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 2999:
- remove 3000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::regen2} to true
- set {pdata::%uuid of player%::effect} to "Regen2"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 2999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "strength":
- if {pdata::%uuid of player%::owned::strength1} is set:
- set {pdata::%uuid of player%::effect} to "Strength1"
- send "&d&l(Effect) &dSuccessfully equipped effect!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 3999:
- remove 4000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::strength1} to true
- set {pdata::%uuid of player%::effect} to "Strength1"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 3999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "strength2":
- if {pdata::%uuid of player%::owned::strength2} is set:
- set {pdata::%uuid of player%::effect} to "Strength2"
- send "&d&l(Effect) &dSuccessfully equipped effect!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 4999:
- remove 5000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::strength2} to true
- set {pdata::%uuid of player%::effect} to "Strength2"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 4999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- else if argument 2 isn't "speed", "speed2", "regen2", "strength" or "strength2":
- send "&d&l(Market) &dUnknown effect!"
- if argument 1 is "classes":
- if argument 2 isn't set:
- wait 3 ticks
- open chest with 4 rows named "&8You are viewing the classes section:" to player
- format slot 10 of player with blaze powder named "&d&lClass One" with lore "||&d&lClass Information||&dGear|| &7&l» &rFull Chain||&dName|| &7&l» &rPyro||&dCost|| &7&l» &r$6,000" to close then run [make player execute "buy classes pyro"]
- format slot 11 of player with feather named "&d&lClass Two" with lore "||&d&lClass Information||&dGear|| &7&l» &r1/2 Chain, 1/2 Leather||&dName|| &7&l» &rSonic||&dCost|| &7&l» &r$6,000" to close then run [make player execute "buy classes sonic"]
- format slot 12 of player with iron axe named "&d&lClass Three" with lore "||&d&lClass Information||&dGear|| &7&l» &r1/4 Iron, 3/4 Chain||&dName|| &7&l» &rAxemen||&dCost|| &7&l» &r$6,500" to close then run [make player execute "buy classes axemen"]
- format slot 13 of player with cobweb named "&d&lClass Four" with lore "||&d&lClass Information||&dGear|| &7&l» &r1/2 Iron, 1/2 Chain||&dName|| &7&l» &rBubble||&dCost|| &7&l» &r$5,500" to close then run [make player execute "buy classes bubble"]
- format slot 14 of player with bow named "&d&lClass Five" with lore "||&d&lClass Information||&dGear|| &7&l» &rFull Chain||&dName|| &7&l» &rRanger||&dCost|| &7&l» &r$5,000" to close then run [make player execute "buy classes ranger"]
- format slot 25 of player with barrier named "&d&lGo back!" with lore "||&7Go back to the market homepage." to close then run [make player execute "buy"]
- else if argument 2 is set:
- if argument 2 is "pyro":
- if {pdata::%uuid of player%::owned::pyro} is set:
- set {pdata::%uuid of player%::class} to "Pyro"
- send "&d&l(Class) &dSuccessfully equipped class!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 5999:
- remove 6000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::pyro} to true
- set {pdata::%uuid of player%::class} to "Pyro"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 5999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "sonic":
- if {pdata::%uuid of player%::owned::sonic} is set:
- set {pdata::%uuid of player%::class} to "Sonic"
- send "&d&l(Class) &dSuccessfully equipped class!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 5999:
- remove 6000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::sonic} to true
- set {pdata::%uuid of player%::class} to "Sonic"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 5999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "axemen":
- if {pdata::%uuid of player%::owned::axemen} is set:
- set {pdata::%uuid of player%::class} to "Axemen"
- send "&d&l(Class) &dSuccessfully equipped class!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 6499:
- remove 6500 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::axemen} to true
- set {pdata::%uuid of player%::class} to "Axemen"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 6499:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "bubble":
- if {pdata::%uuid of player%::owned::bubble} is set:
- set {pdata::%uuid of player%::class} to "Bubble"
- send "&d&l(Class) &dSuccessfully equipped class!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 5499:
- remove 5500 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::bubble} to true
- set {pdata::%uuid of player%::class} to "Bubble"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 5499:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "ranger":
- if {pdata::%uuid of player%::owned::ranger} is set:
- set {pdata::%uuid of player%::class} to "Ranger"
- send "&d&l(Class) &dSuccessfully equipped class!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 4999:
- remove 5000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::ranger} to true
- set {pdata::%uuid of player%::class} to "Ranger"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 4999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- else if argument 2 isn't "pyro", "sonic", "axemen", "bubble" or "ranger":
- send "&d&l(Market) &dUnknown class!"
- if argument 1 is "items":
- if argument 2 isn't set:
- wait 3 ticks
- open chest with 4 rows named "&8You are viewing the items section:" to player
- format slot 10 of player with 8 golden apples:0 named "&d&lExtra Item One" with lore "||&d&lItem Information||&dEffect|| &7&l» &rGain 8 golden apples.||&dCost|| &7&l» &r$2,000" to close then run [make player execute "buy items gapples"]
- format slot 11 of player with {sdata::item::speedpotion} named "&d&lExtra Item Two" with lore "||&d&lItem Information||&dEffect|| &7&l» &rGain 2 speed 2 potions.||&dCost|| &7&l» &r$2,000" to close then run [make player execute "buy items speedpotions"]
- format slot 12 of player with glowing nether star named "&d&lExtra Item Three" with lore "||&d&lItem Information||&dEffect|| &7&l» &rGain a lucky charm.||&dCost|| &7&l» &r$3,000" to close then run [make player execute "buy items luckycharm"]
- format slot 25 of player with barrier named "&d&lGo back!" with lore "||&7Go back to the market homepage." to close then run [make player execute "buy"]
- else if argument 2 is set:
- if argument 2 is "gapples":
- if {pdata::%uuid of player%::owned::gapples} is set:
- set {pdata::%uuid of player%::item} to "GoldenApple"
- send "&d&l(Item) &dSuccessfully equipped item!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 1999:
- remove 2000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::gapples} to true
- set {pdata::%uuid of player%::item} to "GoldenApple"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 1999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "speedpotions":
- if {pdata::%uuid of player%::owned::speedpotions} is set:
- set {pdata::%uuid of player%::item} to "SpeedPotion"
- send "&d&l(Item) &dSuccessfully equipped item!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 1999:
- remove 2000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::speedpotions} to true
- set {pdata::%uuid of player%::item} to "SpeedPotion"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 1999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- if argument 2 is "luckycharm":
- if {pdata::%uuid of player%::owned::luckycharm} is set:
- set {pdata::%uuid of player%::item} to "LuckyCharm"
- send "&d&l(Item) &dSuccessfully equipped item!" to player
- stop
- if {pdata::%uuid of player%::Shards} is greater than 2999:
- remove 3000 from {pdata::%uuid of player%::Shards}
- set {pdata::%uuid of player%::owned::luckycharm} to true
- set {pdata::%uuid of player%::item} to "LuckyCharm"
- send "&d&l(Market) &dTransaction has successfully been made!" to player
- else if {pdata::%uuid of player%::Shards} isn't greater than 2999:
- send "&d&l(Market) &dYou don't have enough Shards to purchase this item!" to player
- stop
- else if argument 2 isn't "gapples", "speedpotions" or "luckycharm":
- send "&d&l(Market) &dUnknown item!"
- command /discord:
- trigger:
- send "&d&lJoin our discord @ &rhttps://discord.gg/ZZEwMPN"
- make console execute "/msg %player% https://discord.gg/ZZEwMPN"
- command /set:
- trigger:
- player is op:
- set {sdata::item::speedpotion} to player's tool
- stop
- stop
- command /removetag:
- trigger:
- if {pdata::%uuid of player%::tag} is set:
- delete {pdata::%uuid of player%::tag}
- send "&d&l(Tag) &dTag removed successfully." to player
- stop
- send "&d&l(Tag) &dYou do not have a tag equipped."
- command /settings [<string>] [<string>] [<string>]:
- permission: perm.admin
- permission message: &cYou don't have sufficent permissions to execute this command, if you feel that this is a mistake please contact one of the server administrators.
- trigger:
- if argument 1 isn't set:
- send "&d&l(Settings) &d/settings <setting> <boolean>" to player
- stop
- if argument 2 isn't set:
- send "&d&l(Settings) &d/settings <setting> <boolean>" to player
- stop
- if argument 1 is "grief":
- if argument 2 is "true", "on" or "1":
- set {pdata::%uuid of player%::settings::grief} to "Off"
- send "&d&l(Settings) &dAntiGrief has been enabled for you." to player
- stop
- if argument 2 is "false", "off" or "0":
- set {pdata::%uuid of player%::settings::grief} to "On"
- send "&d&l(Settings) &dAntiGrief has been disabled for you." to player
- stop
- if argument 2 isn't "true", "false", "on", "off", "1" or "0":
- send "&d&l(Settings) &dSorry, I couldn't understand that setting!" to player
- command /shards [<player>] [<string>]:
- permission: perm.admin
- permission message: &cYou don't have sufficent permissions to execute this command, if you feel that this is a mistake please contact one of the server administrators.
- trigger:
- if argument 1 isn't set:
- send "&d&l(Shards) &d/shards <player> <amount>" to player
- stop
- if argument 2 isn't set:
- send "&d&l(Shards) &d/shards <player> <amount>" to player
- stop
- set {pdata::%uuid of argument 1%::Shards} to argument 2 parsed as an integer
- send "&d&l(Shards) &dSet %argument 1%'s shards to %argument 2%" to player
- send "&d&l(Shards) &dShards set to %argument 2%" to argument 1
- command /join:
- trigger:
- if {pdata::%uuid of player%::inArena} is true:
- send "&d&lWoah %player%, &dYou're already in the arena. To leave use the &r/spawn &dcommand." to player
- stop
- delete {pdata::%uuid of player%::inSpawn}
- set {pdata::%uuid of player%::inArena} to true
- execute console command "mvtp %player% arena"
- execute console command "tp %player% 44.4 67 692.8"
- remove strength from player
- remove speed from player
- remove jump boost from player
- remove fire resistance from player
- clear player's inventory
- gamemode of player isn't survival:
- set gamemode of player to survival
- if {pdata::%uuid of player%::class} isn't set:
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with leather chestplate named "&7Leather Armor"
- equip player with chainmail leggings named "&7Chain Armor"
- equip player with leather boots named "&7Leather Armor"
- set slot 0 of player to stone sword of sharpness 2 named "&7Stone Weapon"
- if {pdata::%uuid of player%::class} is "Pyro":
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with chainmail chestplate named "&7Chain Armor"
- equip player with chainmail leggings named "&7Chain Armor"
- equip player with chainmail boots named "&7Chain Armor"
- apply fire resistance to player for 999 days
- apply speed 1 to player for 999 days
- set slot 0 of player to iron sword of sharpness 1 and fire aspect 1 named "&7Iron Weapon"
- if {pdata::%uuid of player%::class} is "Sonic":
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with leather chestplate named "&7Leather Armor"
- equip player with leather leggings named "&7Leather Armor"
- equip player with chainmail boots named "&7Chain Armor"
- apply speed 2 to player for 999 days
- set slot 0 of player to stone sword of sharpness 3 named "&7Stone Weapon"
- if {pdata::%uuid of player%::class} is "Axemen":
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with iron chestplate named "&7Iron Armor"
- equip player with chainmail leggings named "&7Chain Armor"
- equip player with chainmail boots named "&7Chain Armor"
- apply strength 1 to player for 999 days
- set slot 0 of player to iron axe of sharpness 2 named "&7Iron Weapon"
- if {pdata::%uuid of player%::class} is "Bubble":
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with iron chestplate named "&7Iron Armor"
- equip player with iron leggings named "&7Iron Armor"
- equip player with chainmail boots named "&7Chain Armor"
- apply strength 1 to player for 999 days
- apply jump boost 3 to player for 999 days
- set slot 0 of player to iron sword of sharpness 2 named "&7Iron Weapon"
- if {pdata::%uuid of player%::class} is "Ranger":
- equip player with chainmail helmet named "&7Chain Armor"
- equip player with chainmail chestplate named "&7Chain Armor"
- equip player with chainmail leggings named "&7Chain Armor"
- equip player with chainmail boots named "&7Chain Armor"
- apply speed 2 to player for 999 days
- apply strength 2 to player for 999 days
- apply regeneration 1 to player for 999 days
- set slot 0 of player to bow of power 2 and infinity 1 named "&7Bow"
- set slot 6 of player to 1 arrow named "&7Arrow"
- set slot 7 of player to stone sword named "&7Stone Weapon"
- set slot 1 of player to 16 steak named "&7Cooked Food"
- if {pdata::%uuid of player%::item} isn't set:
- set slot 8 of player to barrier named "&d&lItem Slot" with lore "||&7Purchase an item in the market||&7these items can be very usefull||&7in some situations.||||&d&lItem List:|| &7&l» &r8x Golden Apples|| &7&l» &r2x Speed Potions|| &7&l» &rLucky Charm"
- if {pdata::%uuid of player%::item} is set:
- if {pdata::%uuid of player%::item} is "GoldenApple":
- set slot 8 of player to glowing 8 golden apple:0 named "&d&lGolden Apple"
- if {pdata::%uuid of player%::item} is "SpeedPotion":
- set slot 8 of player to glowing {sdata::item::speedpotion} parsed as an item named "&d&lSpeed Potion"
- if {pdata::%uuid of player%::item} is "LuckyCharm":
- set slot 8 of player to glowing nether star named "&d&lLucky Charm"
- apply resistance 1000 to player for 5 seconds
- send "&d&lSpawn Protection Activated" to player
- wait 5 seconds
- send "&d&lSpawn Protection Removed" to player
- command /spawn:
- trigger:
- wait 5 ticks
- clear player's inventory
- heal player
- set hunger of player to 20
- gamemode of player isn't survival:
- set gamemode of player to survival
- delete {pdata::%uuid of player%::inArena}
- set {pdata::%uuid of player%::inSpawn} to true
- execute console command "mvtp %player% curse"
- execute console command "tp %player% 0 50 0"
- set slot 3 of player to brewing stand named "&d&lMarket &7(Right Click)"
- set slot 4 of player to glowing clock named "&d&lJoin &7(Right Click)"
- set slot 5 of player to player's skull named "&d&lStatistics &7(Right Click)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement