Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ###########################################################################################
- # Fight Script #
- # Developed by Aura #
- # Version 1.3 #
- # ###########################################################################################
- # Note!!!!
- #
- # SG will be developed inside of another script file, due to the merging for variables and other
- # code. If you do not have the script and are looking for it, contact me on discord.
- # @ Aura#9763 (^:
- # ###########################################################################################
- # Options #
- # ###########################################################################################
- options:
- pre: &b&l[CURSE] &b
- p: perm.
- pmsg: &c&l[Permissions] &cYou do not have the sufficent authority to execute this command.
- # ###########################################################################################
- # Listeners #
- # ###########################################################################################
- on script load:
- set {sdata.location.spawn} to "x: -159.63, y: 35.5, z: 282.2"
- on death:
- if {pdata::%uuid of victim%::inRanked} is set:
- if {pdata::%uuid of attacker%::inRanked} is set:
- delete {pdata::%uuid of victim%::inRanked}
- add 10 to {pdata::%uuid of attacker%::elo}
- remove 2 from {pdata::%uuid of victim%::elo}
- if {pdata::%uuid of attacker%::elo} < 0:
- set {pdata::%uuid of attacker%::elo} to 0
- if {pdata::%uuid of victim%::elo} < 0:
- set {pdata::%uuid of victim%::elo} to 0
- send "&a&l+ &a10 Elo" to attacker
- send "&c&l- &c2 Elo" to victim
- loop all players:
- # UNRANKED CHECK
- if {pdata::%uuid of loop-player%::level} isn't "Unranked":
- if {pdata::%uuid of loop-player%::elo} < 250:
- set {pdata::%uuid of loop-player%::level} to "Unranked"
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- # BRONZE LEAGUE
- if {pdata::%uuid of loop-player%::level} is "Unranked":
- if {pdata::%uuid of loop-player%::elo} > 249:
- set {pdata::%uuid of loop-player%::level} to "Bronze III"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Bronze III":
- if {pdata::%uuid of loop-player%::elo} > 499:
- set {pdata::%uuid of loop-player%::level} to "Bronze II"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Bronze II":
- if {pdata::%uuid of loop-player%::elo} > 749:
- set {pdata::%uuid of loop-player%::level} to "Bronze I"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- # SILVER LEAGUE
- if {pdata::%uuid of loop-player%::level} is "Bronze I":
- if {pdata::%uuid of loop-player%::elo} > 999:
- set {pdata::%uuid of loop-player%::level} to "Silver III"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Silver III":
- if {pdata::%uuid of loop-player%::elo} > 1249:
- set {pdata::%uuid of loop-player%::level} to "Silver II"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Silver II":
- if {pdata::%uuid of loop-player%::elo} > 1499:
- set {pdata::%uuid of loop-player%::level} to "Silver I"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- # GOLD LEAGUE
- if {pdata::%uuid of loop-player%::level} is "Silver I":
- if {pdata::%uuid of loop-player%::elo} > 1749:
- set {pdata::%uuid of loop-player%::level} to "Gold III"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Gold III":
- if {pdata::%uuid of loop-player%::elo} > 1999:
- set {pdata::%uuid of loop-player%::level} to "Gold II"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Gold II":
- if {pdata::%uuid of loop-player%::elo} > 2249:
- set {pdata::%uuid of loop-player%::level} to "Gold I"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- # SUPREME LEAGUE
- if {pdata::%uuid of loop-player%::level} is "Gold I":
- if {pdata::%uuid of loop-player%::elo} > 2499:
- set {pdata::%uuid of loop-player%::level} to "Supreme III"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Supreme III":
- if {pdata::%uuid of loop-player%::elo} > 2749:
- set {pdata::%uuid of loop-player%::level} to "Supreme II"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Supreme II":
- if {pdata::%uuid of loop-player%::elo} > 2999:
- set {pdata::%uuid of loop-player%::level} to "Supreme I"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- # MASTERS LEAGUE
- if {pdata::%uuid of loop-player%::level} is "Supreme I":
- if {pdata::%uuid of loop-player%::elo} > 3249:
- set {pdata::%uuid of loop-player%::level} to "Masters III"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Masters III":
- if {pdata::%uuid of loop-player%::elo} > 3499:
- set {pdata::%uuid of loop-player%::level} to "Masters II"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- if {pdata::%uuid of loop-player%::level} is "Masters II":
- if {pdata::%uuid of loop-player%::elo} > 3749:
- set {pdata::%uuid of loop-player%::level} to "Masters I"
- add 250 to {pdata::%uuid of loop-player%::stars}
- send "{@pre}Your level has been changed to %{pdata::%uuid of loop-player%::level}%" to loop-player
- on join:
- make player execute "spawn"
- on join:
- loop all players:
- if {pdata::%uuid of loop-player%::staffMode} is set:
- loop 3 times:
- send "&cYou have your staff modules still enabled. To disabled them use /staffmode." to loop-player
- hide the loop-player from all players
- on join:
- delete {pdata::%uuid of player%::frozenState}
- if {pdata::%uuid of player%::elo} isn't set:
- set {pdata::%uuid of player%::elo} to 0
- if {pdata::%uuid of player%::stars} isn't set:
- set {pdata::%uuid of player%::stars} to 0
- if {pdata::%uuid of player%::kills} isn't set:
- set {pdata::%uuid of player%::kills} to 0
- if {pdata::%uuid of player%::deaths} isn't set:
- set {pdata::%uuid of player%::deaths} to 0
- if {pdata::%uuid of player%::level} isn't set:
- set {pdata::%uuid of player%::level} to "Unranked"
- if {pdata::%uuid of player%::rankPrefix} isn't set:
- set {pdata::%uuid of player%::rankPrefix} to "&r"
- set join message to "{@pre}%{pdata::%uuid of player%::rankPrefix}%%player% &bhas connected."
- on disconnect:
- set leave message to "{@pre}%{pdata::%uuid of player%::rankPrefix}%%player% &bhas disconnected."
- on chat:
- if {pdata::%uuid of player%::rankTitle} isn't set:
- set {pdata::%uuid of player%::rankTitle} to "User"
- if {pdata::%uuid of player%::nameColour} isn't set:
- set {pdata::%uuid of player%::nameColour} to "&r"
- if {pdata::%uuid of player%::chatColour} isn't set:
- set {pdata::%uuid of player%::chatColour} to "&r"
- if {pdata::%uuid of player%::rankPrefix} isn't set:
- set {pdata::%uuid of player%::rankPrefix} to "&r"
- broadcast "&7[%{pdata::%uuid of player%::level}%]%{pdata::%uuid of player%::rankPrefix}%%{pdata::%uuid of player%::nameColour}%%player%&7: %{pdata::%uuid of player%::chatColour}%%message%"
- cancel event
- on command "tp":
- make player execute "teleport"
- cancel event
- on break:
- if {pdata::%uuid of player%::permission} is "Spawn" or "Arena":
- cancel event
- on place:
- if {pdata::%uuid of player%::permission} is "Spawn" or "Arena":
- cancel event
- on pickup:
- if {pdata::%uuid of player%::permission} is "Spawn" or "Arena":
- cancel event
- on damage:
- if {pdata::%uuid of attacker%::permission} is "Spawn":
- cancel event
- on inventory click:
- if {pdata::%uuid of player%::permission} is "Spawn" or "Arena":
- cancel event
- on respawn:
- delete {pdata::%uuid of player%::permission}
- wait 3 ticks
- make player execute "spawn"
- add 1 to {pdata::%uuid of player%::deaths}
- on damage:
- if {pdata::%uuid of victim%::frozenState} is set:
- send "&cYou cannot damage players who are frozen!"
- cancel event
- on damage:
- if {pdata::%uuid of attacker%::frozenState} is set:
- send "&f█████████" to attacker
- send "&f████&c█&f████" to attacker
- send "&f███&c█&0█&c█&f███" to attacker
- send "&f██&c█&6█&0█&6█&c█&f██" to attacker
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to attacker
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to attacker
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to attacker
- send "&c█&6███&0█&6███&c█ &7https://discord.gg/7bUpSxY" to attacker
- send "&c█████████" to attacker
- send "&f█████████" to attacker
- cancel event
- on any move:
- if {pdata::%uuid of player%::frozenState} is set:
- send "&f█████████" to player
- send "&f████&c█&f████" to player
- send "&f███&c█&0█&c█&f███" to player
- send "&f██&c█&6█&0█&6█&c█&f██" to player
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to player
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to player
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to player
- send "&c█&6███&0█&6███&c█ &7https://discord.gg/7bUpSxY" to player
- send "&c█████████" to player
- send "&f█████████" to player
- cancel event
- on death:
- if {pdata::%uuid of attacker%::equippedEffect} is "Strength":
- apply strength 1 to attacker for 10 seconds
- if {pdata::%uuid of attacker%::equippedEffect} is "Speed":
- apply speed 2 to attacker for 10 seconds
- if {pdata::%uuid of attacker%::equippedEffect} is "Regeneration":
- apply regeneration 3 to attacker for 10 seconds
- on death:
- clear drops
- attacker is a player:
- victim is a player:
- set death message to "&c%attacker% has slain %victim%"
- add 1 to {pdata::%uuid of attacker%::kills}
- set {_s} to random integer between 0 and 30
- if {_s} is between 0 and 10:
- send "&a&l+ &a5 Stars"
- add 5 to {pdata::%uuid of attacker%::stars}
- stop
- if {_s} is between 10 and 20:
- send "&a&l+ &a15 Stars"
- add 15 to {pdata::%uuid of attacker%::stars}
- stop
- if {_s} is between 20 and 30:
- send "&a&l+ &a25 Stars"
- add 25 to {pdata::%uuid of attacker%::stars}
- stop
- else:
- set death message to "&c%victim% was slain"
- else:
- set death message to "&c%victim% was slain"
- on rightclick:
- player is holding red dye named "&b&lLeave FakePlay &7(Right Click)":
- make player execute "staffmode"
- cancel event
- stop
- on rightclick:
- player is holding player's skull named "&b&lFake Play &7(Right Click)":
- delete {pdata::%uuid of player%::staffMode}
- set {pdata::%uuid of player%::permission} to "Arena"
- make player execute "staffmode"
- clear player's inventory
- loop 5 times:
- send "&c&l!!!! &cFakePlay is currently not operational &c&l!!!"
- send "&r"
- send "&cYou are still able to toggle through to though."
- set helmet of player to iron helmet
- set chestplate of player to chainmail chestplate of protection 1
- set leggings of player to chainmail leggings of protection 1
- set boots of player to iron boots
- set slot 7 of player to red dye named "&b&lLeave FakePlay &7(Right Click)"
- set slot 0 of player to iron sword of sharpness 1 named "&7%player%'s Sword" with lore "&8Knight Class"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- cancel event
- on rightclick on player:
- player is holding a book named "&b&lInspect Book &7(Right Click)":
- if targeted player is set:
- open the targeted player's inventory for the player
- send "&b%targeted player%'s health is: &c&l%targeted player's health% hearts" to player
- cancel event
- on rightclick on player:
- player is holding ice named "&b&lFreeze Tool &7(Right Click)":
- if targeted player is set:
- make player execute "freeze %targeted player%"
- on rightclick:
- player's tool is a clock:
- name of player's tool is "&b&lGametypes &7(Right Click)":
- open chest with 3 rows named "&8Gametypes accessible by you:" to player
- format slot 10 of player with iron fence named "&r" to be unstealable
- format slot 12 of player with glowing diamond sword named "&b&lPVP Arena &7(Casual)" with lore "&8Casual Fighting||||&rUse kits purchased from the||&rmarket and earn stars.||||&rELO is not changed nor any ranking||&rstatistics.||||&3&lModerated by:|| &7Arena Staff" to close then run [make player execute "join casual"]
- format slot 13 of player with glowing 2 diamond swords named "&b&lPVP Arena &7(Ranked)" with lore "&8Competitive Fighting||||&rUse the ranked kit only||&rearn elo and stars.||||&rELO is changed and ranking statistics||&rare modified.||||&3&lModerated by:|| &7Arena Staff" to close then run [make player execute "join comp"]
- format slot 14 of player with glowing fishing rod named "&b&lPotPvP SG &7(Ranked)" with lore "&8Competitive Fighting||||&rComing soon||||&c&lYou do not have access||&c<o enter SG" to be unstealable
- if player is op:
- format slot 14 of player with glowing fishing rod named "&b&lPotPvP SG &7(Ranked)" with lore "&8Competitive Fighting||||&rNo kits, loot gear in||&rcrates found around the map.||||&rELO is changed and ranking statistics||&rare modified.||||&3&lModerated by:|| &7SG Staff||&r" to close then run [send "&cexperienced Issue: "]
- format slot 16 of player with iron fence named "&r" to be unstealable
- cancel event
- on rightclick:
- player's tool is a armor stand:
- name of player's tool is "&b&lInventory &7(Right Click)":
- if {pdata::%uuid of player%::ownedClasses} isn't set:
- set {pdata::%uuid of player%::ownedClasses} to 0
- if {pdata::%uuid of player%::ownedKilleffects} isn't set:
- set {pdata::%uuid of player%::ownedKilleffects} to 0
- if {pdata::%uuid of player%::ownedSpecialitems} isn't set:
- set {pdata::%uuid of player%::ownedSpecialitems} to 0
- open chest with 3 rows named "&8Your purchased items:" to player
- format slot 10 of player with iron fence named "&r" to be unstealable
- format slot 12 of player with glowing iron chestplate named "&b&lKits" with lore "&8Select classes||||&rOwned Classes:||&3%{pdata::%uuid of player%::ownedClasses}%&7/5" to close then run [make player execute "inventory kits"]
- format slot 13 of player with blaze powder named "&b&lKill Effects" with lore "&8Select kill effects||||&rOwned Kill Effects:||&3%{pdata::%uuid of player%::ownedKilleffects}%&7/3" to close then run [make player execute "inventory killeffects"]
- format slot 14 of player with water_bottle named "&b&lSpecial Items" with lore "&8Select special items||||&rOwned Special Items:||&3%{pdata::%uuid of player%::ownedSpecialitems}%&7/3" to close then run [make player execute "inventory items"]
- format slot 16 of player with iron fence named "&r" to be unstealable
- cancel event
- on rightclick:
- player's tool is an anvil:0:
- name of player's tool is "&b&lMarket &7(Right Click)":
- if {pdata::%uuid of player%::ownedClasses} isn't set:
- set {pdata::%uuid of player%::ownedClasses} to 0
- if {pdata::%uuid of player%::ownedKilleffects} isn't set:
- set {pdata::%uuid of player%::ownedKilleffects} to 0
- if {pdata::%uuid of player%::ownedSpecialitems} isn't set:
- set {pdata::%uuid of player%::ownedSpecialitems} to 0
- open chest with 3 rows named "&8Purchase Items:" to player
- format slot 10 of player with iron fence named "&r" to be unstealable
- format slot 12 of player with glowing iron chestplate named "&b&lKits" with lore "&8Purchase classes||||&rOwned Classes:||&3%{pdata::%uuid of player%::ownedClasses}%&7/5" to close then run [make player execute "market kits"]
- format slot 13 of player with blaze powder named "&b&lKill Effects" with lore "&8Purchase kill effects||||&rOwned Kill Effects:||&3%{pdata::%uuid of player%::ownedKilleffects}%&7/3" to close then run [make player execute "market killeffects"]
- format slot 14 of player with water_bottle named "&b&lSpecial Items" with lore "&8Purchase special items||||&rOwned Special Items:||&3%{pdata::%uuid of player%::ownedSpecialitems}%&7/3" to close then run [make player execute "market items"]
- format slot 16 of player with iron fence named "&r" to be unstealable
- cancel event
- # ###########################################################################################
- # Commands #
- # ###########################################################################################
- command reset-user [<player>]:
- permission: {@p}reset.user
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/reset-user (player) &7- Reset a player's statisitcs."
- argument 1 is set:
- delete {pdata::%uuid of argument 1%::frozenState}
- set {pdata::%uuid of argument 1%::elo} to 0
- set {pdata::%uuid of argument 1%::stars} to 0
- set {pdata::%uuid of argument 1%::kills} to 0
- set {pdata::%uuid of argument 1%::deaths} to 0
- set {pdata::%uuid of argument 1%::level} to "Unranked"
- set {pdata::%uuid of argument 1%::rankPrefix} to "&r"
- command warn [<player>] [<string>]:
- permission: {@p}warn
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/warn (player) (reason) &7- Warn a player for breaking the rules."
- argument 1 is set:
- argument 2 isn't set:
- send "{@pre}/warn (player) (reason) &7- Warn a player for breaking the rules."
- argument 2 is set:
- broadcast "&c&m========================================="
- broadcast "&c&l%argument 1% &ehas been warned by &c%player%"
- broadcast "&cReason: &e%argument 2%"
- broadcast "&c&m========================================="
- command location [<string>]:
- permission: {@p}location
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/location (location) &7- Set a location."
- argument 1 is set:
- if argument 1 is "spawn":
- set {sdata.location.spawn} to location of player
- send "{@pre}Set location of: &rspawn &bto your location. %location of player%"
- if argument 1 is "casual":
- set {sdata.location.casualArena} to location of player
- send "{@pre}Set location of: &rcasual &bto your location. %location of player%"
- if argument 1 is "comp" or "ranked":
- set {sdata.location.compArena} to location of player
- send "{@pre}Set location of: &rranked &bto your location. %location of player%"
- if argument 1 isn't "spawn", "comp", "ranked" or "casual":
- send "{@pre}Unknown location."
- command gamemode [<string>] [<player>]:
- aliases: gm, gmode
- permission: {@p}gamemode
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/gamemode (gamemode) [player] &7- Change the gamemode of yourself or others."
- argument 1 is set:
- argument 2 is set:
- player has permission "{@p}gamemode.other":
- if argument 1 is "Creative", "C" or "1":
- send "{@pre}Gamemode of %argument 2% has been updated." to player
- send "{@pre}Your gamemode has been updated." to argument 2
- delete {pdata::%uuid of argument 2%::permission}
- set gamemode of argument 2 to creative
- if argument 1 is "Survival", "S" or "0":
- send "{@pre}Gamemode of %argument 2% has been updated." to player
- send "{@pre}Your gamemode has been updated." to argument 2
- set gamemode of argument 2 to survival
- if argument 1 is "Adventure", "A" or "2":
- send "{@pre}Gamemode of %argument 2% has been updated." to player
- send "{@pre}Your gamemode has been updated." to argument 2
- set gamemode of argument 2 to adventure
- if argument 1 isn't "Creative", "Survival", "Adventure", "C", "S", "A", "1", "0" or "2":
- send "{@pre}Unknown gamemode."
- else:
- send "{@pre}You do not have permission to set other player's gamemodes."
- argument 2 isn't set:
- if argument 1 is "Creative", "C" or "1":
- send "{@pre}Your gamemode has been updated." to player
- delete {pdata::%uuid of player%::permission}
- set gamemode of player to creative
- if argument 1 is "Survival", "S" or "0":
- send "{@pre}Your gamemode has been updated." to player
- set gamemode of player to survival
- if argument 1 is "Adventure", "A" or "2":
- send "{@pre}Your gamemode has been updated." to player
- set gamemode of player to adventure
- if argument 1 isn't "Creative", "Survival", "Adventure", "C", "S", "A", "1", "0" or "2":
- send "{@pre}Unknown gamemode."
- command teleport [<player>] [<player>]:
- aliases: tp, tport
- permission: {@p}teleport
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/teleport (player) [player] &7- Teleport yourself or others to another player."
- argument 1 is set:
- argument 2 is set:
- player has permission "{@p}teleport.other":
- teleport argument 1 to argument 2
- send "{@pre}Teleported %argument 1% to %argument 2%" to player
- else:
- send "{@pre}You do not have permission to teleport other player's."
- argument 2 isn't set:
- teleport player to argument 1
- send "{@pre}Teleported to %argument 1%" to player
- command heal [<player>]:
- permission: {@p}heal
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- heal player
- send "{@pre}You've healed yourself."
- argument 1 is set:
- heal argument 1
- send "{@pre}You've healed %argument 1%." to player
- send "{@pre}You've been healed by %argument 1%." to argument 1
- command freeze [<player>]:
- aliases: halt, ss, screenshare
- permission: {@p}freeze
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/freeze (player) &7- Freeze a player for suspected hacks."
- argument 1 is set:
- if {pdata::%uuid of argument 1%::frozenState} isn't set:
- set {pdata::%uuid of argument 1%::frozenState} to true
- send "&f█████████" to arg 1
- send "&f████&c█&f████" to arg 1
- send "&f███&c█&0█&c█&f███" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
- send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
- send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to arg 1
- send "&c█&6███&0█&6███&c█ &7https://discord.gg/7bUpSxY" to arg 1
- send "&c█████████" to arg 1
- send "&f█████████" to arg 1
- send "&cYou've frozen %argument 1%" to player
- else:
- delete {pdata::%uuid of argument 1%::frozenState}
- send "&cYou've unfrozen %argument 1%" to player
- send "&aYou have been unfrozen." to arg 1
- command staffmode:
- aliases: staff, mod, h
- permission: {@p}staffmode
- permission message: {@pmsg}
- trigger:
- if {pdata::%uuid of player%::staffMode} is set:
- delete {pdata::%uuid of player%::staffMode}
- reveal the player from all players
- set gamemode of player to survival
- teleport player to {sdata.location.casualArena}
- make player execute "spawn"
- send "{@pre}Staff modules disabled."
- else:
- set {pdata::%uuid of player%::staffMode} to true
- hide the player from all players
- send "{@pre}Staff modules enabled."
- clear player's inventory
- set gamemode of player to creative
- set {pdata::%uuid of player%::permission} to "Spawn"
- set slot 0 of player to book named "&b&lInspect Book &7(Right Click)"
- set slot 1 of player to ice named "&b&lFreeze Tool &7(Right Click)"
- set slot 2 of player to blue carpet named "&b"
- if player has permission "{@p}fakeplay":
- set slot 8 of player to player's skull named "&b&lFake Play &7(Right Click)"
- command inventory [<string>] [<string>]:
- trigger:
- argument 1 isn't set:
- send "{@pre}/inventory (section) &7- Quick access to your inventory."
- argument 1 is set:
- argument 1 is "killeffects":
- wait 3 ticks
- open chest with 5 rows named "&8Equip kill effects:" to player
- format slot 0 of player with red dye named "&b&lStrength" to be unstealable
- if {pdata::%uuid of player%::ownedEffect1} is set:
- format slot 0 of player with red dye named "&b&lStrength" with lore "||&aOwned" to close then run [make player execute "inventory equip effect1"]
- format slot 1 of player with white dye named "&b&lSpeed" to be unstealable
- if {pdata::%uuid of player%::ownedEffect2} is set:
- format slot 1 of player with white dye named "&b&lSpeed" with lore "||&aOwned" to close then run [make player execute "inventory equip effect2"]
- format slot 2 of player with orange dye named "&b&lRegeneration" to be unstealable
- if {pdata::%uuid of player%::ownedEffect3} is set:
- format slot 2 of player with orange dye named "&b&lRegeneration" with lore "||&aOwned" to close then run [make player execute "inventory equip effect3"]
- argument 1 is "items":
- wait 3 ticks
- open chest with 5 rows named "&8Equip items:" to player
- format slot 0 of player with 16 golden apple:0 named "&b&lShiny Apples Item" to be unstealable
- if {pdata::%uuid of player%::ownedItem1} is set:
- format slot 0 of player with 16 golden apple:0 named "&b&lShiny Apples Item" with lore "||&aOwned" to close then run [make player execute "inventory equip item1"]
- format slot 1 of player with bow named "&b&lBow and Arrows Item" to be unstealable
- if {pdata::%uuid of player%::ownedItem2} is set:
- format slot 1 of player with bow named "&b&lBow and Arrows Item" with lore "||&aOwned" to close then run [make player execute "inventory equip item2"]
- format slot 2 of player with stick named "&b&lKB Stick Item" to be unstealable
- if {pdata::%uuid of player%::ownedItem3} is set:
- format slot 2 of player with stick named "&b&lKB Stick Item" with lore "||&aOwned" to close then run [make player execute "inventory equip item3"]
- argument 1 is "kits":
- wait 3 ticks
- open chest with 5 rows named "&8Equip kits:" to player
- format slot 0 of player with fishing rod named "&b&lClassic Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit0"]
- format slot 1 of player with flint and steel named "&b&lPyro Kit" to be unstealable
- if {pdata::%uuid of player%::ownedKit1} is set:
- format slot 1 of player with flint and steel named "&b&lPyro Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit1"]
- format slot 2 of player with iron chestplate named "&b&lKnight Kit" to be unstealable
- if {pdata::%uuid of player%::ownedKit2} is set:
- format slot 2 of player with iron chestplate named "&b&lKnight Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit2"]
- format slot 3 of player with golden apple:1 named "&b&lTank Kit" to be unstealable
- if {pdata::%uuid of player%::ownedKit2} is set:
- format slot 3 of player with golden apple:1 named "&b&lTank Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit3"]
- format slot 4 of player with golden helmet named "&b&lBard Kit" to be unstealable
- if {pdata::%uuid of player%::ownedKit3} is set:
- format slot 4 of player with golden helmet named "&b&lBard Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit4"]
- format slot 5 of player with feather named "&b&lThief Kit" to be unstealable
- if {pdata::%uuid of player%::ownedKit4} is set:
- format slot 5 of player with feather named "&b&lThief Kit" with lore "||&aOwned" to close then run [make player execute "inventory equip kit5"]
- argument 1 is "equip":
- argument 2 isn't set:
- send "{@pre}/inventory (section) &7- Quick access to your inventory."
- argument 2 is set:
- argument 2 is "effect1":
- set {pdata::%uuid of player%::equippedEffect} to "Strength"
- send "{@pre}Successfully equipped effect."
- argument 2 is "effect2":
- set {pdata::%uuid of player%::equippedEffect} to "Speed"
- send "{@pre}Successfully equipped effect."
- argument 2 is "effect3":
- set {pdata::%uuid of player%::equippedEffect} to "Regneration"
- send "{@pre}Successfully equipped effect."
- argument 2 is "item1":
- set {pdata::%uuid of player%::equippedItem} to "Gapples"
- send "{@pre}Successfully equipped item."
- argument 2 is "item2":
- set {pdata::%uuid of player%::equippedItem} to "Bow"
- send "{@pre}Successfully equipped item."
- argument 2 is "item3":
- set {pdata::%uuid of player%::equippedItem} to "KBStick"
- send "{@pre}Successfully equipped item."
- argument 2 is "kit0":
- set {pdata::%uuid of player%::equippedClass} to "Classic"
- send "{@pre}Successfully equipped class."
- argument 2 is "kit1":
- set {pdata::%uuid of player%::equippedClass} to "Pyro"
- send "{@pre}Successfully equipped class."
- argument 2 is "kit2":
- set {pdata::%uuid of player%::equippedClass} to "Knight"
- send "{@pre}Successfully equipped class."
- argument 2 is "kit3":
- set {pdata::%uuid of player%::equippedClass} to "Tank"
- send "{@pre}Successfully equipped class."
- argument 2 is "kit4":
- set {pdata::%uuid of player%::equippedClass} to "Bard"
- send "{@pre}Successfully equipped class."
- argument 2 is "kit5":
- set {pdata::%uuid of player%::equippedClass} to "Thief"
- send "{@pre}Successfully equipped class."
- command market [<string>] [<string>]:
- trigger:
- argument 1 isn't set:
- send "{@pre}/market (section) &7- Quick access to the server's market."
- argument 1 is set:
- argument 1 is "killeffects":
- wait 3 ticks
- open chest with 5 rows named "&8Purchase kill effects:" to player
- format slot 0 of player with red dye named "&b&lStrength" with lore "&8Strength Effect||||&3&lCosts:||&r$1,200" to close then run [make player execute "market buy effect1"]
- format slot 1 of player with white dye named "&b&lSpeed" with lore "&8Speed Effect||||&3&lCosts:||&r$1,250" to close then run [make player execute "market buy effect2"]
- format slot 2 of player with orange dye named "&b&lRegeneration" with lore "&8Regeneration Effect||||&3&lCosts:||&r$1,250" to close then run [make player execute "market buy effect3"]
- argument 1 is "items":
- wait 3 ticks
- open chest with 5 rows named "&8Purchase special items:" to player
- format slot 0 of player with 16 golden apple:0 named "&b&l16x Shiny Apples" with lore "&8Shiny Apples Item||||&3&lCosts:||&r$500" to close then run [make player execute "market buy item1"]
- format slot 1 of player with Bow named "&b&lBow and Arrows" with lore "&8Bow and Arrows Item||||&3&lCosts:||&r$1,250" to close then run [make player execute "market buy item2"]
- format slot 2 of player with glowing stick named "&b&lKB Stick" with lore "&8KB Stick Item||||&3&lCosts:||&r$1,250" to close then run [make player execute "market buy item3"]
- argument 1 is "kits":
- wait 3 ticks
- open chest with 5 rows named "&8Purchase kits:" to player
- format slot 0 of player with flint and steel named "&b&lPyro Kit" with lore "&8Pyro Class||||&rPyro class is for aggressive players||&rwho love fighting with a bit of speed.||||&3&lCosts:||&r$5,000" to close then run [make player execute "market buy kit1"]
- format slot 1 of player with iron chestplate named "&b&lKnight Kit" with lore "&8Knight Class||||&rKnight class is like an updated||&rversion of the classic class.||||&3&lCosts:||&r$3,500" to close then run [make player execute "market buy kit2"]
- format slot 2 of player with golden apple:1 named "&b&lTank Kit" with lore "&8Tank Class||||&rTank class is for those who enjoy||&rto stay alive along, but inflict less damage.||||&3&lCosts:||&r$4,000" to close then run [make player execute "market buy kit3"]
- format slot 3 of player with golden helmet named "&b&lBard Kit" with lore "&8Bard Class||||&rBard class is probably the best||&rclass, it lets you apply effects||&rto yourself. Good for strategical||&rplayers.||||&3&lCosts:||&r$6,500" to close then run [make player execute "market buy kit4"]
- format slot 4 of player with feather named "&b&lThief Kit" with lore "&8Thief Class||||&rThief class is for aggressive players||&rwho love to run around their victim.||||&3&lCosts:||&r$6,000" to close then run [make player execute "market buy kit5"]
- argument 1 is "buy":
- argument 2 isn't set:
- send "{@pre}/market (section) &7- Quick access to the server's market."
- argument 2 is set:
- argument 2 is "effect1":
- if {pdata::%uuid of player%::stars} > 1199:
- if {pdata::%uuid of player%::ownedEffect1} isn't set:
- remove 1200 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedEffect1} to true
- set {pdata::%uuid of player%::equippedEffect} to "Strength"
- add 1 to {pdata::%uuid of player%::ownedKilleffects}
- send "{@pre}Purchased Strength Effect" to player
- else:
- send "{@pre}You already own this effect!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this effect!"
- argument 2 is "effect2":
- if {pdata::%uuid of player%::stars} > 1199:
- if {pdata::%uuid of player%::ownedEffect2} isn't set:
- remove 1200 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedEffect2} to true
- set {pdata::%uuid of player%::equippedEffect} to "Speed"
- add 1 to {pdata::%uuid of player%::ownedKilleffects}
- send "{@pre}Purchased Speed Effect" to player
- else:
- send "{@pre}You already own this effect!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this effect!"
- argument 2 is "effect3":
- if {pdata::%uuid of player%::stars} > 1199:
- if {pdata::%uuid of player%::ownedEffect3} isn't set:
- remove 1200 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedEffect3} to true
- set {pdata::%uuid of player%::equippedEffect} to "Regeneration"
- add 1 to {pdata::%uuid of player%::ownedKilleffects}
- send "{@pre}Purchased Regeneration Effect" to player
- else:
- send "{@pre}You already own this effect!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this effect!"
- argument 2 is "item1":
- if {pdata::%uuid of player%::stars} > 499:
- if {pdata::%uuid of player%::ownedItem1} isn't set:
- remove 500 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedItem1} to true
- set {pdata::%uuid of player%::equippedItem} to "Gapples"
- add 1 to {pdata::%uuid of player%::ownedSpecialitems}
- send "{@pre}Purchased Gapples Item" to player
- else:
- send "{@pre}You already own this item!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this item!"
- argument 2 is "item2":
- if {pdata::%uuid of player%::stars} > 1249:
- if {pdata::%uuid of player%::ownedItem2} isn't set:
- remove 1250 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedItem2} to true
- set {pdata::%uuid of player%::equippedItem} to "Bow"
- add 1 to {pdata::%uuid of player%::ownedSpecialitems}
- send "{@pre}Purchased Bow and Arrows Item" to player
- else:
- send "{@pre}You already own this item!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this item!"
- argument 2 is "item3":
- if {pdata::%uuid of player%::stars} > 1249:
- if {pdata::%uuid of player%::ownedItem3} isn't set:
- remove 1250 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedItem3} to true
- set {pdata::%uuid of player%::equippedItem} to "KBStick"
- add 1 to {pdata::%uuid of player%::ownedSpecialitems}
- send "{@pre}Purchased KB Stick Item" to player
- else:
- send "{@pre}You already own this item!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this item!"
- argument 2 is "kit1":
- if {pdata::%uuid of player%::stars} > 4999:
- if {pdata::%uuid of player%::ownedKit1} isn't set:
- remove 5000 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedKit1} to true
- set {pdata::%uuid of player%::equippedClass} to "Pyro"
- add 1 to {pdata::%uuid of player%::ownedClasses}
- send "{@pre}Purchased Pyro Kit" to player
- else:
- send "{@pre}You already own this class!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this class!"
- argument 2 is "kit2":
- if {pdata::%uuid of player%::stars} > 2499:
- if {pdata::%uuid of player%::ownedKit2} isn't set:
- remove 2500 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedKit2} to true
- set {pdata::%uuid of player%::equippedClass} to "Knight"
- add 1 to {pdata::%uuid of player%::ownedClasses}
- send "{@pre}Purchased Knight Kit" to player
- else:
- send "{@pre}You already own this class!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this class!"
- argument 2 is "kit3":
- if {pdata::%uuid of player%::stars} > 3499:
- if {pdata::%uuid of player%::ownedKit3} isn't set:
- remove 3500 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedKit3} to true
- set {pdata::%uuid of player%::equippedClass} to "Tank"
- add 1 to {pdata::%uuid of player%::ownedClasses}
- send "{@pre}Purchased Tank Kit" to player
- else:
- send "{@pre}You already own this class!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this class!"
- argument 2 is "kit4":
- if {pdata::%uuid of player%::stars} > 6499:
- if {pdata::%uuid of player%::ownedKit4} isn't set:
- remove 6500 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedKit4} to true
- set {pdata::%uuid of player%::equippedClass} to "Bard"
- add 1 to {pdata::%uuid of player%::ownedClasses}
- send "{@pre}Purchased Bard Kit" to player
- else:
- send "{@pre}You already own this class!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this class!"
- argument 2 is "kit5":
- if {pdata::%uuid of player%::stars} > 5999:
- if {pdata::%uuid of player%::ownedKit5} isn't set:
- remove 6000 from {pdata::%uuid of player%::stars}
- set {pdata::%uuid of player%::ownedKit5} to true
- set {pdata::%uuid of player%::equippedClass} to "Thief"
- add 1 to {pdata::%uuid of player%::ownedClasses}
- send "{@pre}Purchased Thief Kit" to player
- else:
- send "{@pre}You already own this class!"
- else:
- send "{@pre}You don't have sufficent stars to purchase this class!"
- command score [<offline player>] [<string>] [<string>]:
- permission: {@p}score
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- argument 1 is set:
- argument 2 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- argument 2 is set:
- argument 2 is "stars":
- argument 3 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- else:
- set {pdata::%uuid of argument 1%::stars} to argument 3 parsed as an integer
- send "{@pre}Stars updated." to player
- send "{@pre}Your stars have been set to %argument 3%" to argument 1
- argument 2 is "kills":
- argument 3 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- else:
- set {pdata::%uuid of argument 1%::kills} to argument 3 parsed as an integer
- send "{@pre}Kills updated." to player
- send "{@pre}Your kills have been set to %argument 3%" to argument 1
- argument 2 is "deaths":
- argument 3 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- else:
- set {pdata::%uuid of argument 1%::deaths} to argument 3 parsed as an integer
- send "{@pre}Deaths updated." to player
- send "{@pre}Your deaths have been set to %argument 3%" to argument 1
- argument 2 is "level":
- argument 3 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- else:
- set {pdata::%uuid of argument 1%::level} to argument 3
- send "{@pre}Level updated." to player
- send "{@pre}Your level have been set to %argument 3%" to argument 1
- argument 2 is "elo":
- argument 3 isn't set:
- send "{@pre}/score (player) (variable) (index)"
- else:
- set {pdata::%uuid of argument 1%::elo} to argument 3 parsed as an integer
- send "{@pre}Elo updated." to player
- send "{@pre}Your elo have been set to %argument 3%" to argument 1
- argument 2 isn't "kills", "deaths", "stars", "elo" or "level":
- send "{@pre}/score (player) (variable) (index)"
- command info [<player>]:
- aliases: stat, statisitcs
- trigger:
- argument 1 isn't set:
- send ""
- send "{@pre}Your kills: &r%{pdata::%uuid of player%::kills}%"
- send "{@pre}Your deaths: &r%{pdata::%uuid of player%::deaths}%"
- send "{@pre}Your stars: &r%{pdata::%uuid of player%::stars}%"
- send "{@pre}Your level: &r%{pdata::%uuid of player%::level}%"
- send "{@pre}Your elo: &r%{pdata::%uuid of player%::elo}%"
- send ""
- argument 1 is set:
- send ""
- send "{@pre}%argument 1%'s kills: &r%{pdata::%uuid of argument 1%::kills}%"
- send "{@pre}%argument 1%'s deaths: &r%{pdata::%uuid of argument 1%::deaths}%"
- send "{@pre}%argument 1%'s stars: &r%{pdata::%uuid of argument 1%::stars}%"
- send "{@pre}%argument 1%'s level: &r%{pdata::%uuid of argument 1%::level}%"
- send "{@pre}%argument 1%'s elo: &r%{pdata::%uuid of argument 1%::elo}%"
- send ""
- command join [<string>]:
- trigger:
- argument 1 isn't set:
- send "{@pre}/join (gametype) &7- Join a gametype"
- else:
- argument 1 is set:
- argument 1 is "comp":
- if {pdata::%uuid of player%::permission} is "Arena":
- send "{@pre}You cannot enter the arena due to you already being in it!" to player
- else:
- set {pdata::%uuid of player%::inRanked} to true
- set {pdata::%uuid of player%::permission} to "Arena"
- clear player's inventory
- set gamemode of player to survival
- heal player
- set hunger of player to 20
- teleport player to {sdata.location.compArena}
- execute console command "mvtp %player% ranked"
- execute console command "minecraft:tp %player% 284.81 44 -75.96"
- set helmet of player to iron helmet
- set chestplate of player to iron chestplate
- set leggings of player to iron leggings
- set boots of player to iron boots
- set slot 0 of player to diamond sword of sharpness 1 named "&7%player%'s Sword" with lore "&8Ranked Class"
- set slot 1 of player to 32 arrows named "&r"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 3 of player to 32 steak named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- argument 1 is "casual":
- if {pdata::%uuid of player%::permission} is "Arena":
- send "{@pre}You cannot enter the arena due to you already being in it!" to player
- else:
- set {pdata::%uuid of player%::permission} to "Arena"
- clear player's inventory
- set gamemode of player to survival
- heal player
- set hunger of player to 20
- teleport player to {sdata.location.casualArena}
- execute console command "mvtp %player% casual"
- execute console command "minecraft:tp %player% 284.81 44 -75.96"
- set slot 5 of player to 32 steak named "&r"
- if {pdata::%uuid of player%::equippedClass} isn't set:
- set {pdata::%uuid of player%::equippedClass} to "Classic"
- if {pdata::%uuid of player%::equippedClass} is "Classic":
- set helmet of player to chainmail helmet of protection 1
- set chestplate of player to chainmail chestplate of protection 1
- set leggings of player to leather leggings of protection 1
- set boots of player to leather boots of protection 1
- set slot 0 of player to stone sword of sharpness 1 named "&7%player%'s Sword" with lore "&8Classic Class"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- if {pdata::%uuid of player%::equippedClass} is "Pyro":
- set helmet of player to chainmail helmet of protection 1
- set chestplate of player to leather chestplate
- set leggings of player to leather leggings
- set boots of player to chainmail boots of protection 1
- set slot 0 of player to iron sword of sharpness 1 and fire aspect 1 named "&7%player%'s Sword" with lore "&8Pyro Class"
- apply swiftness 1 to player for 999 days
- chance of 35%:
- apply fire resistance 1 to player for 999 days
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- if {pdata::%uuid of player%::equippedClass} is "Knight":
- set helmet of player to iron helmet
- set chestplate of player to chainmail chestplate of protection 1
- set leggings of player to chainmail leggings of protection 1
- set boots of player to iron boots
- set slot 0 of player to iron sword of sharpness 1 named "&7%player%'s Sword" with lore "&8Knight Class"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- if {pdata::%uuid of player%::equippedClass} is "Tank":
- set helmet of player to diamond helmet
- set chestplate of player to chainmail chestplate of protection 1
- set leggings of player to chainmail leggings
- set boots of player to diamond boots
- set slot 0 of player to wood sword of sharpness 2 named "&7%player%'s Sword" with lore "&8Tank Class"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 3 of player to 32 arrows named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- if {pdata::%uuid of player%::equippedClass} is "Bard":
- set helmet of player to gold helmet
- set chestplate of player to iron chestplate of protection 1
- set leggings of player to iron leggings of protection 1
- set boots of player to gold boots
- set slot 0 of player to diamond sword named "&7%player%'s Sword" with lore "&8Bard Class"
- set slot 8 of player to red dye named "&c&lStrength" with lore "&8Exclusive Bard Item"
- set slot 7 of player to white dye named "&b&lSpeed" with lore "&8Exclusive Bard Item"
- set slot 6 of player to gray dye named "&8&lResistance" with lore "&8Exclusive Bard Item"
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 3 of player to 32 arrows named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- if {pdata::%uuid of player%::equippedClass} is "Thief":
- set helmet of player to chainmail helmet of protection 1
- set chestplate of player to chainmail chestplate of protection 1
- set leggings of player to chainmail leggings of protection 1
- set boots of player to chainmail boots of protection 1
- set slot 0 of player to stone sword of sharpness 2 named "&7%player%'s Sword" with lore "&8Thief Class"
- apply swiftness 2 to player for 999 days
- if {pdata::%uuid of player%::equippedItem} is set:
- if {pdata::%uuid of player%::equippedItem} is "Gapples":
- set slot 1 of player to 16 golden apples:0 named "&7Shiny Apples" with lore "&8Special Item ##1"
- stop
- if {pdata::%uuid of player%::equippedItem} is "Bow":
- set slot 5 of player to steak named "&r"
- set slot 3 of player to 32 arrows named "&r"
- set slot 1 of player to bow of power 1 named "&7%player%'s Bow" with lore "&8Special Item ##2"
- set slot 2 of player to 32 arrows named "&r"
- stop
- if {pdata::%uuid of player%::equippedItem} is "KBStick":
- set slot 1 of player to glowing stick of knockback 2 named "&7KB Stick" with lore "&8Special Item ##3"
- stop
- command rank [<offline player>] [<string>] [<string>]:
- permission: {@p}rank
- permission message: {@pmsg}
- trigger:
- argument 1 isn't set:
- send "{@pre}/rank &l(player) &7- Set a users rank" to player
- else:
- argument 2 isn't set:
- argument 3 isn't set:
- open chest with 1 row named "&8Rank categories:" to player
- format slot 0 of player with glowing emerald named "&b&lDonation Ranks" with lore "&8Donation Ranks||||&rChoose from the following ranks:||&b- VIP||&b- Legend||&b- Elite" to close then run [make player execute "rank %argument 1% donator"]
- format slot 2 of player with glowing diamond sword named "&b&lArena Staff" with lore "&8Arena Staff Ranks||||&rChoose from the following ranks:||&b- Arena Helper||&b- Arena Mod||&b- Arena Mod+" to close then run [make player execute "rank %argument 1% arena"]
- format slot 3 of player with glowing fishing rod named "&b&lSG Staff" with lore "&8SG Staff Ranks||||&rChoose from the following ranks:||&b- SG Helper||&b- SG Mod||&b- SG Mod+" to close then run [make player execute "rank %argument 1% sg"]
- format slot 4 of player with glowing clock named "&b&lGlobal Staff" with lore "&8Global Staff Ranks||||&rChoose from the following ranks:||&b- Admin||&b- Manager||&b- Owner" to close then run [make player execute "rank %argument 1% global"]
- format slot 8 of player with barrier named "&b&lReset" with lore "&8Default Rank||||&rReset %argument 1%'s rank." to close then run [make player execute "rank %argument 1% reset"]
- argument 2 is set:
- argument 2 is "reset":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&r"
- set {pdata::%uuid of argument 1%::nameColour} to "&r"
- set {pdata::%uuid of argument 1%::rankTitle} to "User"
- execute console command "zperms player %argument 1% group User"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to USER" to argument 1
- argument 2 is "donator":
- argument 3 isn't set:
- wait 3 ticks
- open chest with 1 row named "&8Donation Ranks:" to player
- format slot 0 of player with paper named "&a&lVIP &aRank" with lore "&8VIP Donator Rank||||&rPermissions:||&b- Exclusive classes and items.||&b- Star permanent multiplier" to close then run [make player execute "rank %argument 1% donator vip"]
- format slot 1 of player with paper named "&c&lLEGEND &cRank" with lore "&8Legend Donator Rank||||&rPermissions:||&b- Exclusive classes and items.||&b- Star permanent multiplier" to close then run [make player execute "rank %argument 1% donator legend"]
- format slot 2 of player with paper named "&d&lELITE &dRank" with lore "&8Elite Donator Rank||||&rPermissions:||&b- Exclusive classes and items.||&b- Star permanent multiplier" to close then run [make player execute "rank %argument 1% donator elite"]
- argument 3 is set:
- argument 3 is "vip":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&a&l"
- set {pdata::%uuid of argument 1%::nameColour} to "&a&l"
- set {pdata::%uuid of argument 1%::rankTitle} to "VIP"
- execute console command "zperms player %argument 1% group VIP"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to VIP" to argument 1
- argument 3 is "legend":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&c&l"
- set {pdata::%uuid of argument 1%::nameColour} to "&c&l"
- set {pdata::%uuid of argument 1%::rankTitle} to "Legend"
- execute console command "zperms player %argument 1% group Legend"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to LEGEND" to argument 1
- argument 3 is "elite":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&d&l♔ &d&l"
- set {pdata::%uuid of argument 1%::nameColour} to "&d&l"
- set {pdata::%uuid of argument 1%::rankTitle} to "Elite"
- execute console command "zperms player %argument 1% group Elite"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to ELITE" to argument 1
- argument 2 is "arena":
- argument 3 isn't set:
- wait 3 ticks
- open chest with 1 row named "&8Arena Ranks:" to player
- format slot 0 of player with paper named "&5&lARENA HELPER &5Rank" with lore "&8Arena Helper Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features." to close then run [make player execute "rank %argument 1% arena helper"]
- format slot 1 of player with paper named "&d&lARENA MOD &dRank" with lore "&8Arena Mod Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features.||&b- Access to use the fake play feature||&b- Some fun commands." to close then run [make player execute "rank %argument 1% arena mod"]
- format slot 2 of player with paper named "&3&lARENA MOD+ &3Rank" with lore "&8Arena Mod+ Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features.||&b- Access to use the fake play feature||&b- More fun commands.||&b- Access to change player's arena statistics.||&b- Access to give player's items." to close then run [make player execute "rank %argument 1% arena mod+"]
- argument 3 is "helper":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&5Arena Helper&8] &5"
- set {pdata::%uuid of argument 1%::nameColour} to "&5"
- set {pdata::%uuid of argument 1%::rankTitle} to "Helper"
- execute console command "zperms player %argument 1% group Helper"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to ARENA HELPER" to argument 1
- argument 3 is "mod":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&dArena Mod&8] &d"
- set {pdata::%uuid of argument 1%::nameColour} to "&d"
- set {pdata::%uuid of argument 1%::rankTitle} to "Mod"
- execute console command "zperms player %argument 1% group Mod"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to ARENA MOD" to argument 1
- argument 3 is "mod+":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&3Arena Mod+&8] &3"
- set {pdata::%uuid of argument 1%::nameColour} to "&3"
- set {pdata::%uuid of argument 1%::rankTitle} to "Mod+"
- execute console command "zperms player %argument 1% group Mod+"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to ARENA MOD+" to argument 1
- argument 2 is "sg":
- argument 3 isn't set:
- wait 3 ticks
- open chest with 1 row named "&8SG Ranks:" to player
- format slot 0 of player with paper named "&5&lSG HELPER &5Rank" with lore "&8SG Helper Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features." to close then run [make player execute "rank %argument 1% sg helper"]
- format slot 1 of player with paper named "&d&lSG MOD &dRank" with lore "&8SG Mod Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features.||&b- Access to use the fake play feature||&b- Some fun commands." to close then run [make player execute "rank %argument 1% sg mod"]
- format slot 2 of player with paper named "&b&lSG MOD+ &bRank" with lore "&8SG Mod+ Rank||||&rPermissions:||&b- Punishment commands||&b- Staff Mode||&b- Access to all donator features.||&b- Access to use the fake play feature||&b- More fun commands.||&b- Access to change player's SG statistics.||&b- Access to give player's items." to close then run [make player execute "rank %argument 1% sg mod+"]
- argument 3 is "helper":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&5SG Helper&8] &5"
- set {pdata::%uuid of argument 1%::nameColour} to "&5"
- set {pdata::%uuid of argument 1%::rankTitle} to "Helper"
- execute console command "zperms player %argument 1% group Helper"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to SG HELPER" to argument 1
- argument 3 is "mod":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&dSG Mod&8] &d"
- set {pdata::%uuid of argument 1%::nameColour} to "&d"
- set {pdata::%uuid of argument 1%::rankTitle} to "Mod"
- execute console command "zperms player %argument 1% group Mod"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to SG MOD" to argument 1
- argument 3 is "mod+":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&3SG Mod+&8] &3"
- set {pdata::%uuid of argument 1%::nameColour} to "&3"
- set {pdata::%uuid of argument 1%::rankTitle} to "Mod+"
- execute console command "zperms player %argument 1% group Mod+"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to SG MOD+" to argument 1
- argument 2 is "global":
- argument 3 isn't set:
- wait 3 ticks
- open chest with 1 row named "&8Global Ranks:" to player
- format slot 0 of player with paper named "&c&lADMIN &cRank" with lore "&8Admin Rank||||&rPermissions:||&bTo much too list ;p" to close then run [make player execute "rank %argument 1% global admin"]
- format slot 1 of player with paper named "&6&lMANAGER &6Rank" with lore "&8Manager Rank||||&rPermissions:||&bTo much too list ;p" to close then run [make player execute "rank %argument 1% global manager"]
- format slot 2 of player with paper named "&4&lOWNER &4Rank" with lore "&8Owner Rank||||&rPermissions:||&bAll permissions, user is OP'd." to close then run [make player execute "rank %argument 1% global owner"]
- argument 3 is "admin":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&cAdmin&8] &c"
- set {pdata::%uuid of argument 1%::nameColour} to "&c"
- set {pdata::%uuid of argument 1%::rankTitle} to "Admin"
- execute console command "zperms player %argument 1% group Admin"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to ADMIN" to argument 1
- argument 3 is "manager":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&6Manager&8] &6"
- set {pdata::%uuid of argument 1%::nameColour} to "&6"
- set {pdata::%uuid of argument 1%::rankTitle} to "Manager"
- execute console command "zperms player %argument 1% group Manager"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to MANAGER" to argument 1
- argument 3 is "owner":
- set {pdata::%uuid of argument 1%::rankPrefix} to "&8[&cOwner&8] &c"
- set {pdata::%uuid of argument 1%::nameColour} to "&c"
- set {pdata::%uuid of argument 1%::rankTitle} to "Owner"
- execute console command "zperms player %argument 1% group Owner"
- send "{@pre}Rank updated." to player
- argument 1 isn't player:
- send "{@pre}Your rank has been updated to OWNER" to argument 1
- command spawn:
- trigger:
- if {pdata::%uuid of player%::permission} is "Arena":
- send "{@pre}You cannot enter spawn due to you being in the arena!" to player
- stop
- else:
- set {pdata::%uuid of player%::permission} to "Spawn"
- teleport player to {sdata.location.spawn}
- execute console command "mvtp %player% hub"
- execute console command "minecraft:tp %player% -159.63 35.5 282.2"
- clear player's inventory
- set gamemode of player to survival
- heal player
- set hunger of player to 20
- set slot 0 of player to clock named "&b&lGametypes &7(Right Click)" with lore "||&rClick to view our current gametypes||&ravailable for you!"
- set slot 1 of player to armor stand named "&b&lInventory &7(Right Click)" with lore "||&rEquip gear purchased from the||&rmarket!"
- set slot 8 of player to anvil:0 named "&b&lMarket &7(Right Click)" with lore "||&rPurchase new gear and items to use||&rwhilst fighting!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement