Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /location [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 isn't set:
- send "&cInvalid argument: /location <spawn|arena>"
- if arg-1 is "spawn":
- set {server.location.spawn} to player's location
- send "&6&l[*] &rSet location of spawn to your location."
- else if arg-1 is "arena":
- set {server.location.arena} to player's location
- send "&6&l[*] &rSet location of arena to your location."
- else if arg-1 is "ranked":
- set {server.location.ranked} to player's location
- send "&6&l[*] &rSet location of ranked to your location."
- command /unban [<offline player>]:
- permission: server.moderator
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%uuid of arg-1%::punishments::ban} is false:
- send "&c&l%arg-1% &cisn't banned."
- stop
- else:
- set {player::%uuid of arg-1%::punishments::ban} to false
- unban arg-1
- send "&aSuccessfully un-punished %arg-1%" to player
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully un-punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument: &n/unban <player>"
- command /ban [<offline player>] [<text>] [<timespan>]:
- aliases: /banhammer
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%uuid of arg-1%::punishments::ban} is true:
- send "&c&l%arg-1% &cis already banned."
- stop
- if arg-2 is set:
- if arg-3 is set:
- set {player::%uuid of arg-1%::punishments::ban} to true
- set {player::%uuid of arg-1%::punishments::ban::time} to now
- set {ban.expire.%arg 1%} to now
- set {player::%uuid of arg-1%::punishments::ban::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::ban::distributor} to player
- kick arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &l%{player::%uuid of arg-1%::punishments::ban::time}%"
- ban arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &l%{player::%uuid of arg-1%::punishments::ban::time}%"
- make console execute "tempban %arg-1% %arg-3%"
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been suspended from Fight by &l%player%"
- broadcast "&cReason: &l%arg-2%"
- broadcast "&cTimespan: &l%arg-3%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- if player has permission "server.moderator":
- set {player::%uuid of arg-1%::punishments::ban} to true
- set {player::%uuid of arg-1%::punishments::ban::time} to now
- set {player::%uuid of arg-1%::punishments::ban::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::ban::distributor} to player
- kick arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &lNever"
- ban arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &lNever"
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been suspended from Fight by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%"
- broadcast "&cTimespan: &lPermanent"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cAs a helper, you cannot permanently ban players. If the victim is in need of a permanent ban. Please make a staff report."
- stop
- else:
- send "&cUnspecified argument(s): &n/ban <player> [<reason>] [<time span>]"
- else:
- send "&cUnspecified argument(s): &n/ban <player> [<reason>] [<time span>]"
- command /spawn:
- trigger:
- heal player
- set hunger of player to 20
- teleport player to {server.location.spawn}
- clear player's inventory
- set {player::%uuid of player%::spawn} to true
- set gamemode of player to survival
- reveal the player from all players
- set slot 1 of player to iron axe named "&e&lUNRANKED" with lore "||&rRight-click to join the unranked FFA"
- set slot 2 of player to diamond axe named "&e&lRANKED" with lore "||&rRight-click to join the ranked FFA"
- set slot 3 of player to wooden sword named "&e&lDUELS" with lore "||&rRight-click to duel your friends"
- set slot 5 of player to anvil:1 named "&e&lBLACKSMITH" with lore "||&rRight-click to browse the blacksmith."
- set slot 6 of player to prismarine shard named "&e&lCLASSES" with lore "||&rRight-click to browse the classes."
- set slot 7 of player to hopper named "&e&lSHOP" with lore "||&rRight-click to browse the shop."
- set slot 8 of player to chest named "&e&lINVENTORY" with lore "||&rRight-click to browse your inventory."
- command /spectator:
- aliases: /spec, /mod
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if {player::%uuid of player%::spectator} is true:
- delete {player::%uuid of player%::spectator}
- clear player's inventory
- set gamemode of player to survival
- reveal the player from all players
- send "&eSpectator mode &r» &7&lOFF"
- make player execute "spawn"
- else:
- set {player::%uuid of player%::spectator} to true
- send "&eSpectator mode &r» &7&lON"
- make player execute "spawn"
- clear player's inventory
- set gamemode of player to creative
- hide the player from all players
- set slot 0 of player to book named "&6&lINSPECTION TOOL" with lore "||&rRight-click target player to view their||&rcurrent inventory."
- set slot 1 of player to iron fence named "&6&lHALT TOOL" with lore "||&rRight-click target player to freeze them||&rif suspicious of cheating."
- set slot 2 of player to stick named "&6&lTELEPORT TOOL" with lore "||&rRight-click to teleport to a random||&ronline player."
- set slot 8 of player to light green dye named "&6&lVANISH &7&o(Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- on break:
- if {player::%uuid of player%::spawn} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on place:
- if {player::%uuid of player%::spawn} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on inventory click:
- if {player::%uuid of player%::specspawntator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on damage:
- if {player::%uuid of attacker%::spawn} is set:
- if attacker has permission "server.admin":
- stop
- else:
- cancel event
- on break:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on place:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on inventory click:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on damage:
- if {player::%uuid of attacker%::spectator} is set:
- if attacker has permission "server.admin":
- stop
- else:
- cancel event
- on quit:
- if {player::%uuid of player%::spectator} is set:
- delete {player::%uuid of player%::spectator}
- set gamemode of player to survival
- clear player's inventory
- reveal player to all players
- on right click:
- if player's tool is a iron axe:
- if name of player's tool is "&e&lUNRANKED":
- make player execute "/unranked"
- cancel event
- on right click:
- if player's tool is a diamond axe:
- if name of player's tool is "&e&lRANKED":
- cancel event
- make player execute "/ranked"
- on right click:
- if player's tool is a prismarine shard:
- if name of player's tool is "&e&lCLASSES":
- make player execute "/class"
- cancel event
- on right click:
- if player's tool is a hopper:
- if name of player's tool is "&e&lSHOP":
- make player execute "/shop"
- cancel event
- on right click:
- if player's tool is a anvil:1:
- if name of player's tool is "&e&lBLACKSMITH":
- make player execute "/blacksmith"
- cancel event
- on right click:
- if player's tool is a chest:
- if name of player's tool is "&e&lINVENTORY":
- make player execute "/inventory"
- cancel event
- on right click:
- if player's tool is a wooden sword:
- if name of player's tool is "&e&lDUELS":
- cancel event
- send "&c&lDUELS &cis currently unavailable, it will be released in &lFight 2.0"
- on right click on player:
- if player's tool is a book:
- if name of player's tool is "&6&lINSPECTION TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- open inventory of clicked entity to player
- stop
- on right click on player:
- if player's tool is a iron fence:
- if name of player's tool is "&6&lHALT TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- make player execute "halt %clicked entity%"
- stop
- on right click:
- if player's tool is a stick:
- if name of player's tool is "&6&lTELEPORT TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- teleport player to a random element out of all players
- stop
- on right click:
- if player's tool is a light green dye:
- if name of player's tool is "&6&lVANISH &7&o(Vanished)":
- if player has permission "server.helper":
- wait 3 ticks
- reveal the player from all players
- send "&eVisibility &r» &7&lOFF"
- set slot 8 of player to red dye named "&6&lVANISH &7&o(Not Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- on right click:
- if player's tool is a red dye:
- if name of player's tool is "&6&lVANISH &7&o(Not Vanished)":
- if player has permission "server.helper":
- wait 3 ticks
- hide the player from all players
- send "&eVisibility &r» &7&lON"
- set slot 8 of player to light green dye named "&6&lVANISH &7&o(Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- command /kick [<player>] [<text>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- kick arg-1 due to arg-2
- set {player::%uuid of arg-1%::punishments::kick::reason} to true
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been kicked from Fight by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::kick::reason}%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument(s): &n/kick <player> <reason>"
- else:
- send "&cUnspecified argument(s): &n/kick <player> <reason>"
- command /mute [<player>] [<text>] [<timespan>]:
- aliases: /silence
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if arg-3 is set:
- set {player::%uuid of arg-1%::punishments::mute} to true
- set {player::%uuid of arg-1%::punishments::mute::time} to now
- set {mute.expire.%arg 1%} to now
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::mute::distributor} to player
- set {_unmutetime} to difference between {mute.expire.%arg 1%} and now
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been silenced by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%"
- broadcast "&cTimespan: &l%arg-3%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- wait {_unmutetime}
- set {player::%uuid of arg-1%::punishments::mute} to false
- else:
- set {player::%uuid of arg-1%::punishments::mute} to true
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::mute::distributor} to player
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been silenced by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::mute::reason}%"
- broadcast "&cTimespan: &lPermanent"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument(s): &n/mute <player> <reason> <timespan>"
- else:
- send "&cUnspecified argument(s): &n/mute <player> <reason> <timespan>"
- command /warn [<player>] [<text>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- add 1 to {player::%uuid of arg-1%::punishments::warn::amount}
- if {player::%uuid of arg-1%::punishments::warn::amount} is greater than 4:
- delete {player::%uuid of arg-1%::punishments::warn::amount}
- kick arg-1 due to "&cReached warn limit."
- broadcast ""
- broadcast "&c&l%arg-1% &chas been warned by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::mute::reason}%"
- broadcast ""
- else:
- send "&cUnspecified argument(s): &n/warn <player> <reason>"
- else:
- send "&cUnspecified argument(s): &n/warn <player> <reason>"
- command /halt [<player>]:
- aliases: /freeze, /ss
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%arg-1's uuid%::frozen} is set:
- delete {player::%uuid of arg-1%::frozen}
- send "&aSuccessfully un-frozen %arg-1%" to player
- send "&aYou've been un-frozen." to arg-1
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully un-frozen %arg-1%&7&o]" to loop-player
- else:
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully frozen %arg-1%&7&o]" to loop-player
- set {player::%uuid of arg-1%::frozen} to true
- send "&aSuccessfully frozen %arg-1%" to player
- send "&cYou've been frozen." to arg-1
- make player execute "/msg %arg-1% You've been frozen by a staff member, please connect to our discord ASAP. Logging out will result in a permanent ban. https://discord.gg/bBTFgB"
- else:
- send "&cUnspecified argument: &n/halt <player>"
- on any move:
- if {player::%uuid of player%::frozen} is true:
- cancel event
- send "&cYou've been frozen by a staff member, please connect to our discord ASAP. Logging out will result in a permanent ban. https://discord.gg/bBTFgB"
- on join:
- if player has permission "server.helper":
- set join message to ""
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% has connected to the server." to loop-player
- on disconnect:
- if player has permission "server.helper":
- set leave message to ""
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% has disconnected from the server." to loop-player
- if {player::%player's uuid%::frozen} is true:
- loop all players:
- if loop-player has permission "server.helper":
- send "&c%player% has logged out whilst frozen." to loop-player
- on damage:
- if {player::%uuid of victim%::frozen} is set:
- cancel event
- on rightclick on player:
- if {player::%uuid of clicked entity%::frozen} is set:
- if player has permission "server.helper":
- push player up at speed 1.2
- stop
- command /gamemode [<text>] [<player>]:
- permission: server.modplus
- permission message: &cInsufficent permissions.
- aliases: /gm
- trigger:
- if argument 1 is set:
- if argument 1 is "0", "S" or "Survival":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &esurvival."
- set gamemode of player to survival
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &esurvival." to player
- send "&6&l[*] &rYour gamemode was set to &esurvival &rby &e%player%." to arg-2
- set gamemode of arg-2 to survival
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else if argument 1 is "1", "C" or "Creative":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &ecreative."
- set gamemode of player to creative
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &ecreative." to player
- send "&6&l[*] &rYour gamemode was set to &ecreative &rby &e%player%." to arg-2
- set gamemode of arg-2 to creative
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else if argument 1 is "2", "A" or "Adventure":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &aadventure."
- set gamemode of player to adventure
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &eadventure." to player
- send "&6&l[*] &rYour gamemode was set to &eadventure &rby &e%player%." to arg-2
- set gamemode of arg-2 to adventure
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else:
- send "&cUnspecified argument(s): &n/gamemode <gamemode> [<player>]"
- command /heal [<player>]:
- permission: server.modplus
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 isn't set:
- send "&6&l[*] &rYou've healed yourself."
- heal player
- set hunger of player to 20
- else:
- send "&6&l[*] &rYou've healed &e%arg-1%." to player
- send "&6&l[*] &rYou've been healed by &e%player%" to argument 1
- heal arg-1
- set hunger of arg-1 to 20
- command /teleport [<player>] [<player>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- aliases: /tp, /tport
- trigger:
- if argument 1 is set:
- if argument 2 isn't set:
- if argument 1 isn't player:
- send "&6&l[*] &rTeleporting yourself to &e%arg-1%." to player
- teleport player to argument 1
- else:
- send "&cYou cannot teleport to yourself."
- else if argument 2 is set:
- if player has permission "server.modplus":
- if argument 1 and argument 2 are player:
- send "&cYou cannot teleport to yourself."
- else:
- send "&6&l[*] &rTeleporting &e%arg-1% &rto &e%arg-2%."
- teleport arg-1 to arg-2
- else:
- send "&cUnspecified argument(s): &n/teleport <player> [<player>]"
- command /set [<offline player>] [<text>] [<text>]:
- permission: server.jradmin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if arg-2 is "coins":
- if arg-3 is set:
- set {player::%uuid of player%::game::coins} to arg-3 parsed as a number
- send "&6&l[*] &rSet %arg-1%'s coins to %arg-3%"
- else:
- send "&cUnspecified argument(s): &n/set <player <variable> <setting>"
- if arg-2 is "elo":
- if arg-3 is set:
- set {player::%uuid of player%::game::elo} to arg-3 parsed as a number
- send "&6&l[*] &rSet %arg-1%'s ELO to %arg-3%"
- else:
- send "&cUnspecified argument(s): &n/set <player <variable> <setting>"
- if arg-2 is "prefix":
- if arg-3 is set:
- set {player::%uuid of player%::rank::prefix} to colored arg-3
- send "&6&l[*] &rSet %arg-1%'s prefix to %arg-3%"
- else:
- send "&cUnspecified argument(s): &n/set <player <variable> <setting>"
- if arg-2 is "equip":
- if arg-3 is set:
- set {player::%uuid of player%::ranked::equip} to arg-3 parsed as a number
- send "&6&l[*] &rSet %arg-1%'s Equip Points to %arg-3%"
- else:
- send "&cUnspecified argument(s): &n/set <player <variable> <setting>"
- else if arg-2 isn't "elo", "coins", "equip" or "prefix":
- send "&cUnknown variable: &nElo, Coins, Equip & Prefix"
- else:
- send "&cUnspecified argument(s): &n/set <player> <variable> <setting>"
- else:
- send "&cUnspecified argument(s): &n/set <player> <variable> <setting>"
- on chat:
- if {player::%uuid of player%::chat::staff} is set:
- cancel event
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% &r» &7%message%"
- if {player::%uuid of player%::punishments::mute} is true:
- cancel event
- send "&cYou cannot speak whilst silenced."
- else:
- cancel event
- set tab list name of player to "%{player::%player's uuid%::rank::prefix}%%player%"
- broadcast "&7(%{player::%uuid of player%::game::elorank}%) %{player::%uuid of player%::rank::prefix}%%player% » &r%message%"
- command /rank [<offline player>] [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- aliases: /setrank
- trigger:
- if argument 1 is set:
- if argument 2 is set:
- if argument 2 is "admin":
- set {player::%arg-1's uuid%::rank} to "Admin"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&4Admin&8] &4"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eAdmin" to player
- send "&6&l[*] &rYour rank has been updated to &eAdmin &rby &e%player%" to argument 1
- else if argument 2 is "jradmin" or "junioradmin":
- set {player::%arg-1's uuid%::rank} to "Junior Admin"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&cJuniorAdmin&8] &c"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eJunior Admin" to player
- send "&6&l[*] &rYour rank has been updated to &eJunior Admin &rby &e%player%" to argument 1
- else if argument 2 is "modplus" or "mod+":
- set {player::%arg-1's uuid%::rank} to "Mod Plus"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&9Moderator+&8] &9"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eMod Plus" to player
- send "&6&l[*] &rYour rank has been updated to &eMod Plus &rby &e%player%" to argument 1
- else if argument 2 is "mod":
- set {player::%arg-1's uuid%::rank} to "Mod"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&5Mod&8] &5"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eMod" to player
- send "&6&l[*] &rYour rank has been updated to &eMod &rby &e%player%" to argument 1
- else if argument 2 is "helper":
- set {player::%arg-1's uuid%::rank} to "Helper"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&dHelper&8] &d"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &c%arg-1%'s &rrank to &eHelper" to player
- send "&6&l[*] &rYour rank has been updated to &eHelper &rby &e%player%" to argument 1
- else if argument 2 is "builder":
- set {player::%arg-1's uuid%::rank} to "Builder"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&aBuilder&8] &a"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eBuilder" to player
- send "&6&l[*] &rYour rank has been updated to &eBuilder &rby &e%player%" to argument 1
- else if argument 2 is "none" or "default":
- set {player::%arg-1's uuid%::rank} to "None"
- set {player::%arg-1's uuid%::rank::prefix} to "&7"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eNone" to player
- send "&6&l[*] &rYour rank has been updated to &eNone &rby &e%player%" to argument 1
- else:
- send "&cInvalid group title: Admin, JrAdmin, ModPlus, Mod, Helper, Builder or None"
- else:
- send "&cUnspecified argument(s): &n/rank <player> <rank>"
- else:
- send "&cUnspecified argument(s): &n/rank <player> <rank>"
- on first join:
- wait 3 ticks
- open chest with 1 row named "&8Terms and Conditions" to player
- format slot 4 of player with book named "" with lore "||&rBy playing on our server, you agree to the following: ||||&rAt any time we are allowed to freeze you and screenshare you||&rnot complying with us will result in a ban.||&rIf you purchase anything from our store, you agree||&rthat refunding will result in a blacklist from our server||&rif you purchase anything with another users name||&ryou cannot transfer it." to be unstealable
- on death:
- victim is a player:
- attacker is a player:
- if {player::%uuid of player%::game::ranked::status} is true:
- clear drops
- kill victim
- send "&b&l-2 ELO" to victim
- set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
- add 1 to {player::%uuid of attacker%::game::kills}
- if {player::%uuid of player%::multiplier::coins} is true:
- add 200 to {player::%uuid of attacker%::game::coins}
- send "&6&l+200 COINS" to attacker
- else:
- add 100 to {player::%uuid of attacker%::game::coins}
- send "&6&l+100 COINS" to attacker
- if {player::%uuid of player%::multiplier::elo} is true:
- add 10 to {player::%uuid of attacker%::game::elo}
- send "&b&l+10 ELO" to attacker
- else:
- add 5 to {player::%uuid of attacker%::game::elo}
- send "&b&l+5 ELO" to attacker
- remove 2 from {player::%uuid of victim%::game::elo}
- add 1 to {player::%uuid of victim%::game::deaths}
- else:
- clear drops
- set death message to "&c%victim% &edied."
- on respawn:
- if {player::%uuid of player%::game::ranked::status} is true:
- make player execute "ranked"
- on command "ranked":
- if {player::%uuid of player%::game::elo} < 1250:
- if {player::%uuid of player%::game::elorank} isn't "Unranked":
- set {player::%uuid of player%::game::elorank} to "Unranked"
- if {player::%uuid of player%::game::elo} > 1249:
- if {player::%uuid of player%::game::elorank} isn't "Bronze I&7":
- set {player::%uuid of player%::game::elorank} to "Bronze I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1499:
- if {player::%uuid of player%::game::elorank} isn't "Bronze II&7":
- set {player::%uuid of player%::game::elorank} to "Bronze II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1749:
- if {player::%uuid of player%::game::elorank} isn't "Bronze III&7":
- set {player::%uuid of player%::game::elorank} to "Bronze III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 1999:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver I&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2249:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver II&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2499:
- if {player::%uuid of player%::game::elorank} isn't "&fSilver III&7":
- set {player::%uuid of player%::game::elorank} to "&fSilver III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2749:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold I&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 2999:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold II&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3249:
- if {player::%uuid of player%::game::elorank} isn't "&6Gold III&7":
- set {player::%uuid of player%::game::elorank} to "&6Gold III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3499:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond I&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3749:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond II&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 3999:
- if {player::%uuid of player%::game::elorank} isn't "&bDiamond III&7":
- set {player::%uuid of player%::game::elorank} to "&bDiamond III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4249:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald I&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4499:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald II&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4749:
- if {player::%uuid of player%::game::elorank} isn't "&aEmerald III&7":
- set {player::%uuid of player%::game::elorank} to "&aEmerald III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 4999:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend I&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5249:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend II&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5249:
- if {player::%uuid of player%::game::elorank} isn't "&6Legend III&7":
- set {player::%uuid of player%::game::elorank} to "&6Legend III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5499:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters I&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters I&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5749:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters II&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters II&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 5999:
- if {player::%uuid of player%::game::elorank} isn't "&5Masters III&7":
- set {player::%uuid of player%::game::elorank} to "&5Masters III&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- if {player::%uuid of player%::game::elo} > 6499:
- if {player::%uuid of player%::game::elorank} isn't "&cChampion&7":
- set {player::%uuid of player%::game::elorank} to "&cChampion&7"
- add 2 to {player::%uuid of player%::ranked::equip}
- command /ranked:
- trigger:
- if {player::%uuid of player%::game::unranked::status} isn't set:
- if {player::%uuid of player%::game::ranked::status} is set:
- if {player::%uuid of player%::game::pvptag} is "IDKKDKDKD":
- send "&cYou have a &a&lPvPTag &ccooldown still."
- else:
- if {player::%uuid of player%::game::current::kills} isn't set:
- set {player::%uuid of player%::game::current::kills} to 0
- if {player::%uuid of player%::game::current::deaths} isn't set:
- set {player::%uuid of player%::game::current::deaths} to 0
- if {player::%uuid of player%::game::kills} isn't set:
- set {player::%uuid of player%::game::kills} to 0
- if {player::%uuid of player%::game::deaths} isn't set:
- set {player::%uuid of player%::game::deaths} to 0
- if {player::%uuid of player%::game::elo} isn't set:
- set {player::%uuid of player%::game::elo} to 1000
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lGlobal Statistics"
- send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
- send "&r"
- send "&7&m--------------------------------------"
- clear player's inventory
- execute console command "/minecraft:effect %player% clear"
- set {player::%uuid of player%::spawn} to true
- teleport player to {server.location.spawn}
- delete {player::%uuid of player%::game::pvptag}
- delete {player::%uuid of player%::game::status}
- delete {player::%uuid of player%::game::current::kills}
- delete {player::%uuid of player%::game::current::deaths}
- delete {player::%uuid of player%::game::ranked::status}
- make player execute "spawn"
- else:
- delete {player::%uuid of player%::spawn}
- if {player.%uuid of player%::game::class} isn't set:
- set {player.%uuid of player%::game::class} to "Aggressive"
- set {player::%uuid of player%::game::ranked::status} to true
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lRANKED &6FFA"
- send "&r"
- send " &r&lCLASS &7Ranked"
- send "&r"
- send "&7&m--------------------------------------"
- clear player's inventory
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to iron helmet
- if {player::%uuid of player%::inventory::ranked::1armor1} is true:
- set player's helmet to chainmail helmet of protection 2
- set player's chestplate to iron chestplate
- if {player::%uuid of player%::inventory::ranked::1armor2} is true:
- set player's chestplate to chainmail chestplate of protection 2
- set player's leggings to iron leggings
- if {player::%uuid of player%::inventory::ranked::1armor3} is true:
- set player's leggings to chainmail leggings of protection 2
- set player's boots to iron boots
- if {player::%uuid of player%::inventory::ranked::1armor4} is true:
- set player's boots to chainmail boots of protection 2
- set slot 0 of player to diamond sword named "&r%player%'s Sword"
- set slot 7 of player to 8 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.ranked}
- if {player::%uuid of player%::inventory::ranked::weapon1} is set:
- set slot 0 of player to iron sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon2} is set:
- set slot 0 of player to iron sword of sharpness 2 and fire aspect 2 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon3} is set:
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sword"
- if {player::%uuid of player%::inventory::ranked::weapon4} is set:
- set slot 0 of player to diamond sword of sharpness 1 and fire aspect 1 named "&r%player%'s Sword"
- else:
- send "&cYou have to leave &lUnranked &cbefore entering ranked."
- command /blacksmith:
- trigger:
- wait 3 tick
- if {player::%uuid of player%::ranked::armorname} isn't set:
- set {player::%uuid of player%::ranked::armorname} to "Iron Armor"
- if {player::%uuid of player%::ranked::weaponname} isn't set:
- set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
- if {player::%uuid of player%::ranked::playername} isn't set:
- set {player::%uuid of player%::ranked::playername} to "None"
- if {player::%uuid of player%::ranked::equip} isn't set:
- set {player::%uuid of player%::ranked::equip} to 5
- open chest with 5 rows named "&8Blacksmith" to player
- format slot 4 of player with lava bucket named "&c&lBLACKSMITH" with lore "||&rUpgrade your armor, weapons and player||&rwith equip points you earn in ranked." to be unstealable
- format slot 9 of player with iron fence named "&r" to be unstealable
- format slot 17 of player with iron fence named "&r" to be unstealable
- format slot 18 of player with iron fence named "&r" to be unstealable
- format slot 20 of player with iron chestplate named "&r&lARMOR &rUpgrades" to close then run [make player execute "server:ranked.armor"]
- format slot 22 of player with diamond sword named "&r&lWEAPON &rUpgrades" to close then run [make player execute "server:ranked.weapon"]
- format slot 24 of player with player's skull named "&r&lPLAYER &rUpgrades" to close then run [make player execute "server:ranked.player"]
- format slot 26 of player with iron fence named "&r" to be unstealable
- format slot 27 of player with iron fence named "&r" to be unstealable
- format slot 35 of player with iron fence named "&r" to be unstealable
- format slot 39 of player with item frame named "&6&lGeneral Statistics" with lore "||&rCoins|| &7%{player::%uuid of player%::game::coins}%||&rKills|| &7%{player::%uuid of player%::game::kills}%||&rDeaths|| &7%{player::%uuid of player%::game::deaths}%" to be unstealable
- format slot 40 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- format slot 41 of player with anvil:1 named "&6&lRanked Class" with lore "||&rArmor|| &7%{player::%uuid of player%::ranked::armorname}%||&rWeapon|| &7%{player::%uuid of player%::ranked::weaponname}%||&rPlayer|| &7%{player::%uuid of player%::ranked::playername}%" to be unstealable
- command /server:ranked.weapon:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::weapon1} is true:
- format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 11 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT I &rIron Sword" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buyweapon1"]
- if {player::%uuid of player%::inventory::ranked::weapon1} is true:
- if {player::%uuid of player%::inventory::ranked::weapon2} is true:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyweapon2"]
- else:
- format slot 12 of player with glowing iron sword named "&r&lSHARPNESS AND FIRE ASPECT II &rIron Sword" with lore "||&cPurchase previous package first." to be unstealable
- if {player::%uuid of player%::inventory::ranked::weapon2} is true:
- if {player::%uuid of player%::inventory::ranked::weapon3} is true:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&rCost: &l7 EP" to close then run [make player execute "server:buyweapon3"]
- else:
- format slot 14 of player with glowing diamond sword named "&r&lSHARPNESS I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
- if {player::%uuid of player%::inventory::ranked::weapon3} is true:
- if {player::%uuid of player%::inventory::ranked::weapon4} is true:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&rCost: &l10 EP" to close then run [make player execute "server:buyweapon4"]
- else:
- format slot 15 of player with glowing diamond sword named "&r&lSHARPNESS AND FIRE ASPECT I &rDiamond Sword" with lore "||&cPurchase previous package first." to be unstealable
- format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /server:ranked.player:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::player1} is true:
- format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing gold ingot named "&r&lDOUBLE &rCoins Multiplier" with lore "||&rCost: &l5 EP" to close then run [make player execute "server:buyplayer1"]
- if {player::%uuid of player%::inventory::ranked::player2} is true:
- format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing diamond named "&r&lDOUBLE &rELO Multiplier" with lore "||&rCost: &l6 EP" to close then run [make player execute "server:buyplayer2"]
- format slot 30 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 32 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /server:ranked.armor:
- trigger:
- wait 3 ticks
- open chest with 5 rows named "&8Ranked Store" to player
- if {player::%uuid of player%::inventory::ranked::1armor1} is true:
- format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 11 of player with glowing chainmail helmet named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor1"]
- if {player::%uuid of player%::inventory::ranked::1armor2} is true:
- format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 12 of player with glowing chainmail chestplate named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l3 EP" to close then run [make player execute "server:buy1armor2"]
- if {player::%uuid of player%::inventory::ranked::1armor3} is true:
- format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 14 of player with glowing chainmail leggings named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l2 EP" to close then run [make player execute "server:buy1armor3"]
- if {player::%uuid of player%::inventory::ranked::1armor4} is true:
- format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&a&lOWNED" to be unstealable
- else:
- format slot 15 of player with glowing chainmail boots named "&r&lPROTECTION II &rChainmail" with lore "||&rCost: &l1 EP" to close then run [make player execute "server:buy1armor4"]
- format slot 20 of player with glowing iron helmet named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
- format slot 21 of player with glowing iron chestplate named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l6 EP" to be unstealable
- format slot 23 of player with glowing iron leggings named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l5 EP" to be unstealable
- format slot 24 of player with glowing iron boots named "&r&lPROTECTION I &rIron" with lore "||&rCost: &l4 EP" to be unstealable
- format slot 39 of player with barrier named "&6&lGo Back" to close then run [make player execute "blacksmith"]
- format slot 41 of player with gold axe named "&6&lRanked Statistics" with lore "||&rEquip Points|| &7%{player::%uuid of player%::ranked::equip}%||&rELO|| &7%{player::%uuid of player%::game::elo}%||&rELO Rank|| &7%{player::%uuid of player%::game::elorank}%" to be unstealable
- command /resetstore:
- permission: *
- trigger:
- delete {player::%uuid of player%::inventory::ranked::weapon4}
- delete {player::%uuid of player%::inventory::ranked::weapon3}
- delete {player::%uuid of player%::inventory::ranked::weapon2}
- delete {player::%uuid of player%::inventory::ranked::weapon1}
- delete {player::%uuid of player%::inventory::ranked::player2}
- delete {player::%uuid of player%::inventory::ranked::player1}
- set {player::%uuid of player%::ranked::weaponname} to "Diamond Sword"
- set {player::%uuid of player%::ranked::playername} to "None"
- command /server:buy1armor4:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor4} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 0:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Boots"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor4} to true
- remove 1 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Boots"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Boots"
- command /server:buy1armor3:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor3} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 1:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Leggings"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor3} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Leggings"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Leggings"
- command /server:buy1armor2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 2:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor2} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Chesplate"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail ChesplateChesplate"
- command /server:buy1armor1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::1armor1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 0:
- send "&cYou don't have sufficient currencies to purchase &lChainmail Helmet"
- else:
- set {player::%uuid of player%::inventory::ranked::1armor1} to true
- remove 1 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Chainmail Helmet"
- set {player::%uuid of player%::ranked::armorname} to "Modified"
- else:
- send "&cYou already own &lChainmail Helmet"
- command /server:buyweapon4:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon4} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 9:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Diamond Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon4} to true
- remove 10 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect I Diamond Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Diamond Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness I and Fire Aspect I Diamond Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect I Diamond Sword"
- command /server:buyweapon3:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon3} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 6:
- send "&cYou don't have sufficient currencies to purchase &lSharpness I Diamond Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon3} to true
- remove 7 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness I Diamond Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 Diamond Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness I Diamond Sword"
- else:
- send "&cYou already own &lSharpness I Diamond Sword"
- command /server:buyweapon2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 4:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect II Iron Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon2} to true
- remove 5 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect II Iron Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S2 FA2 Iron Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect II Iron Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect II Iron Sword"
- command /server:buyweapon1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::weapon1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 2:
- send "&cYou don't have sufficient currencies to purchase &lSharpness and Fire Aspect I Iron Sword"
- else:
- set {player::%uuid of player%::inventory::ranked::weapon1} to true
- remove 3 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Sharpness and Fire Aspect I Iron Sword"
- set {player::%uuid of player%::ranked::weaponname} to "S1 FA1 Iron Sword"
- set {player::%uuid of player%::ranked::weapon} to "Sharpness and Fire Aspect I Iron Sword"
- else:
- send "&cYou already own &lSharpness and Fire Aspect I Iron Sword"
- command /server:buyplayer1:
- trigger:
- if {player::%uuid of player%::inventory::ranked::player1} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 4:
- send "&cYou don't have sufficient currencies to purchase &lDouble Coins Multiplier"
- else:
- set {player::%uuid of player%::inventory::ranked::player1} to true
- remove 5 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Double Coins Multiplier"
- if {player::%uuid of player%::ranked::playername} is "Double Elo":
- set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
- else:
- set {player::%uuid of player%::ranked::playername} to "Double Coins"
- set {player::%uuid of player%::multiplier::coins} to true
- else:
- send "&cYou already own &lDouble Coins Multiplier"
- command /server:buyplayer2:
- trigger:
- if {player::%uuid of player%::inventory::ranked::player2} isn't set:
- if {player::%uuid of player%::ranked::equip} isn't greater than 5:
- send "&cYou don't have sufficient currencies to purchase &lDouble ELO Multiplier"
- else:
- set {player::%uuid of player%::inventory::ranked::player2} to true
- remove 6 from {player::%uuid of player%::ranked::equip}
- send "&ePurchased Double ELO Multiplier"
- if {player::%uuid of player%::ranked::playername} is "Double Coins":
- set {player::%uuid of player%::ranked::playername} to "Double Elo + Double Coins"
- else:
- set {player::%uuid of player%::ranked::playername} to "Double Elo"
- set {player::%uuid of player%::multiplier::elo} to true
- else:
- send "&cYou already own &lDouble ELO Multiplier"
- on skript start:
- set {server.location.spawn} to {server.location.spawn}
- set {server.location.arena} to {server.location.arena}
- command /trigger:
- permission: *
- trigger:
- set {player::%uuid of player%::game::elorank} to "Unranked"
- on first join:
- set {player::%uuid of player%::rank::display} to "None"
- set {player::%uuid of player%::rank::prefix} to "&r"
- set {player::%uuid of player%::game::elorank} to "Unranked"
- set {player::%uuid of player%::game::kills} to 0
- set {player::%uuid of player%::game::deaths} to 0
- set {player::%uuid of player%::game::coins} to 10000
- set {player::%uuid of player%::game::elo} to 1000
- set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
- on join:
- send "&7&m--------------------------------------"
- message "&eConnect to our discord."
- message "&6&lDiscord &rhttps://discord.gg/qtaJPy6"
- message "&eFor help, type /information"
- send "&7&m--------------------------------------"
- command /information:
- aliases: /help, /info
- trigger:
- send "&7&m--------------------------------------"
- send "&6&l/class &e- Select classes."
- send "&6&l/shop &e- Browse the shop."
- send "&6&l/stats &e- View your statistics."
- send "&6&l/inventory &e- View your purchased items."
- send "&6&l/game &e- Join/Leave the arena."
- send "&6&l/gift &e- Gift players coins."
- send "&7&m--------------------------------------"
- on join:
- teleport player to {server::location::spawn}
- make player execute "spawn"
- delete {player::%uuid of player%::game::unranked::status}
- set join message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas connected to the server."
- on disconnect:
- set leave message to "%{player::%uuid of player%::rank::prefix}%%player% &ehas disconnected from the server."
- command /gift [<offline player>] [<integer>]:
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {_amount} to arg-2
- if {player::%uuid of player%::game::coins} < {_amount}:
- send "&cYou don't have sufficient currencies to gift %arg-1% &l$%arg-2%"
- else:
- remove arg-2 from {player::%uuid of player%::game::coins}
- add arg-2 to {player::%uuid of arg-1%::game::coins}
- send "&6&l[*] &rGifted %arg-1% $%arg-2% dollars." to player
- send "&6&l[*] &rRecieved $%arg-2% dollars from %arg-1%" to arg-1
- else:
- send "&cUnspecified argument(s): &n/gift <player> <amount>"
- else:
- send "&cUnspecified argument(s): &n/gift <player> <amount>"
- command /stats [<offline player>]:
- trigger:
- if arg-1 is set:
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&l%arg-1%'s Global Statistics"
- send " &r&lKILLS &7%{player::%uuid of arg-1%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of arg-1%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of arg-1%::game::elo}%"
- send " &r&lCOINS &7%{player::%uuid of arg-1%::game::coins}%"
- send "&r"
- send "&7&m--------------------------------------"
- else:
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lGlobal Statistics"
- send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
- send " &r&lCOINS &7%{player::%uuid of player%::game::coins}%"
- send "&r"
- send "&7&m--------------------------------------"
- command /unranked:
- trigger:
- if {player::%uuid of player%::game::ranked::status} isn't set:
- if {player::%uuid of player%::game::unranked::status} is set:
- if {player::%uuid of player%::game::pvptag} is "IDKKDKDKD":
- send "&cYou have a &a&lPvPTag &ccooldown still."
- else:
- if {player::%uuid of player%::game::current::kills} isn't set:
- set {player::%uuid of player%::game::current::kills} to 0
- if {player::%uuid of player%::game::current::deaths} isn't set:
- set {player::%uuid of player%::game::current::deaths} to 0
- if {player::%uuid of player%::game::kills} isn't set:
- set {player::%uuid of player%::game::kills} to 0
- if {player::%uuid of player%::game::deaths} isn't set:
- set {player::%uuid of player%::game::deaths} to 0
- if {player::%uuid of player%::game::elo} isn't set:
- set {player::%uuid of player%::game::elo} to 1000
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lGlobal Statistics"
- send " &r&lKILLS &7%{player::%uuid of player%::game::kills}%"
- send " &r&lDEATHS &7%{player::%uuid of player%::game::deaths}%"
- send " &r&lELO &7%{player::%uuid of player%::game::elo}%"
- send "&r"
- send "&7&m--------------------------------------"
- clear player's inventory
- execute console command "/minecraft:effect %player% clear"
- set {player::%uuid of player%::spawn} to true
- teleport player to {server.location.spawn}
- delete {player::%uuid of player%::game::pvptag}
- delete {player::%uuid of player%::game::status}
- delete {player::%uuid of player%::game::current::kills}
- delete {player::%uuid of player%::game::current::deaths}
- delete {player::%uuid of player%::game::unranked::status}
- make player execute "spawn"
- else:
- delete {player::%uuid of player%::spawn}
- if {player.%uuid of player%::game::class} isn't set:
- set {player.%uuid of player%::game::class} to "Aggressive"
- set {player::%uuid of player%::game::unranked::status} to true
- send "&7&m--------------------------------------"
- send "&r"
- send "&6&lUNRANKED &6FFA"
- send "&r"
- send " &r&lCLASS &7%{player.%uuid of player%::game::class}%"
- send "&r"
- send "&7&m--------------------------------------"
- if {player::%uuid of player%::game::effects::speed1} is set:
- apply speed 1 to player for 999 days
- if {player::%uuid of player%::game::effects::speed2} is set:
- apply speed 2 to player for 999 days
- if {player::%uuid of player%::game::effects::strength1} is set:
- apply strength 1 to player for 999 days
- if {player.%uuid of player%::game::class} is "Aggressive":
- clear player's inventory
- make player execute "server:class1"
- else if {player.%uuid of player%::game::class} is "Bard":
- clear player's inventory
- make player execute "server:class2"
- else if {player.%uuid of player%::game::class} is "Balanced":
- clear player's inventory
- make player execute "server:class3"
- else if {player.%uuid of player%::game::class} is "Pyro":
- clear player's inventory
- make player execute "server:class4"
- else if {player.%uuid of player%::game::class} is "Thief":
- clear player's inventory
- make player execute "server:class5"
- else:
- send "&cYou have to leave &lRanked &cbefore entering unranked."
- command /shop:
- trigger:
- open chest with 1 row named "&8Shop" to player
- format slot 0 of player with diamond chestplate named "&r&lCLASSES &rShop" with lore "||&rLeft-click to browse purchaseable kits." to close then run [make player execute "server:classshop"]
- format slot 1 of player with crafting table named "&r&lRANKS &rShop" with lore "||&rLeft-click to browse our ranks." to close then run [make player execute "server:rankshop"]
- format slot 2 of player with red dye named "&r&lKILL EFFECTS &rShop" with lore "||&rLeft-click to browse purchaseable kill effects." to close then run [make player execute "server:killeffectshop"]
- format slot 3 of player with player's skull named "&r&lDEATH ANIMATIONS &rShop" with lore "||&rLeft-click to browse purchaseable death animations." to close then run [make player execute "server:deathanimationshop"]
- format slot 4 of player with water_bottle named "&r&lPERMANENT &rShop" with lore "||&rLeft-click to browse purchaseable effects" to close then run [make player execute "server:effectsshop"]
- command /server:rankshop:
- trigger:
- send "&cComing soon"
- command /server:killeffectshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Kill Effects Shop" to player
- if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$5,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect1"]
- else:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
- format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&r$7,500||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect2"]
- else:
- format slot 13 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player::%uuid of player%::game::killeffects::regen2} isn't set:
- format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&r$10,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buykilleffect3"]
- else:
- format slot 14 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&a&lOWNED" to be unstealable
- command /server:buykilleffect1:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::speed1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 4999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed One Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::speed1} to true
- remove 5000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed One Kill Effect"
- set {player::%uuid of player%::game::killeffects::speed1} to true
- send "&eSelected Speed One Kill Effect"
- else:
- send "&cYou already own &lSpeed One Kill Effect"
- command /server:buykilleffect2:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::strength1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 7499:
- send "&cYou don't have sufficient currencies to purchase &lStrength One Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::strength1} to true
- remove 7500 from {player::%uuid of player%::game::coins}
- send "&ePurchased Strength One Effect"
- set {player::%uuid of player%::game::killeffects::strength1} to true
- send "&eSelected Strength One Effect"
- else:
- send "&cYou already own &lStrength One Kill Effect"
- command /server:buykilleffect3:
- trigger:
- if {player.%uuid of player%::inventory::killeffects::regen2} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 9999:
- send "&cYou don't have sufficient currencies to purchase &lRegeneration Two Kill Effect"
- else:
- set {player.%uuid of player%::inventory::killeffects::regen2} to true
- remove 10000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Regeneration Two Effect"
- set {player::%uuid of player%::game::killeffects::regen2} to true
- send "&eSelected Regeneration Two Effect"
- else:
- send "&cYou already own &lRegeneration Two Kill Effect"
- command /server:effectsshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Effects Shop" to player
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect1"]
- else:
- format slot 12 of player with feather named "&r&lSPEED &rOne" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::effects::speed2} isn't set:
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE SPEED 1 FIRST" to be unstealable
- else:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&r$45,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect2"]
- else:
- format slot 13 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::effects::strength1} isn't set:
- format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&r$55,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyeffect3"]
- else:
- format slot 14 of player with blaze powder named "&r&lSTRENGTH &rOne" with lore "||&a&lOWNED" to be unstealable
- command /server:classshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Class Shop" to player
- if {player.%uuid of player%::inventory::class::thief} isn't set:
- format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&r$25,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass5"]
- else:
- format slot 11 of player with book named "&r&lTHIEF &rClass" with lore "||&a&lOWNED" to be unstealable
- format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::bard} isn't set:
- format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass2"]
- else:
- format slot 13 of player with book named "&r&lBARD &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::balanced} isn't set:
- format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&r$30,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass3"]
- else:
- format slot 14 of player with book named "&r&lBALANCED &rClass" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::class::pyro} isn't set:
- format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&r$20,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buyclass4"]
- else:
- format slot 15 of player with book named "&r&lPYRO &rClass" with lore "||&a&lOWNED" to be unstealable
- command /server:deathanimationshop:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Death Animations Shop" to player
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&r$2,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation2"]
- else:
- format slot 12 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&a&lOWNED" to be unstealable
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&r$3,000||&7You have &r&l$%{player::%uuid of player%::game::coins}%" to close then run [make player execute "/server:buydeathanimation3"]
- else:
- format slot 13 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&a&lOWNED" to be unstealable
- command /server:buyeffect3:
- trigger:
- if {player.%uuid of player%::inventory::effects::strength1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 54999:
- send "&cYou don't have sufficient currencies to purchase &lStrength One Effect"
- else:
- set {player.%uuid of player%::inventory::effects::strength1} to true
- remove 55000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Strength One Effect"
- set {player::%uuid of player%::game::effects::strength1} to true
- send "&eSelected Strength One Effect"
- else:
- send "&cYou already own &lStrength One Effect"
- command /server:buyeffect2:
- trigger:
- if {player.%uuid of player%::inventory::effects::speed2} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 44999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed Two Effect"
- else:
- set {player.%uuid of player%::inventory::effects::speed2} to true
- remove 45000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed Two Effect"
- set {player::%uuid of player%::game::effects::speed1} to true
- send "&eSelected Speed Two Effect"
- else:
- send "&cYou already own &lSpeed Two Effect"
- command /server:buyeffect1:
- trigger:
- if {player.%uuid of player%::inventory::effects::speed1} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 24999:
- send "&cYou don't have sufficient currencies to purchase &lSpeed One Effect"
- else:
- set {player.%uuid of player%::inventory::effects::speed1} to true
- remove 25000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Speed One Effect"
- set {player::%uuid of player%::game::effects::speed1} to true
- send "&eSelected Speed One Effect"
- else:
- send "&cYou already own &lSpeed One Effect"
- command /server:buydeathanimation2:
- trigger:
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 1999:
- send "&cYou don't have sufficient currencies to purchase &lExplosion Effect"
- else:
- set {player.%uuid of player%::inventory::deathanimation::explosion} to true
- remove 2000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Explosion Effect"
- set {player::%uuid of player%::game::deathanimation::explosion} to true
- send "&eSelected Explosion Effect"
- else:
- send "&cYou already own &lExplosion Effect"
- command /server:buydeathanimation3:
- trigger:
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 2999:
- send "&cYou don't have sufficient currencies to purchase &lBlood Effect"
- else:
- set {player.%uuid of player%::inventory::deathanimation::blood} to true
- remove 3000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Blood Effect"
- set {player::%uuid of player%::game::deathanimation::blood} to true
- send "&eSelected Blood Effect"
- else:
- send "&cYou already own &lBlood Effect"
- command /server:buyclass2:
- trigger:
- if {player.%uuid of player%::inventory::class::bard} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 19999:
- send "&cYou don't have sufficient currencies to purchase &lBard Class"
- else:
- set {player.%uuid of player%::inventory::class::bard} to true
- remove 20000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Bard Class"
- set {player.%uuid of player%::game::class} to "Bard"
- send "&eSelected Bard Class"
- else:
- send "&cYou already own &lBard Class"
- command /server:buyclass3:
- trigger:
- if {player.%uuid of player%::inventory::class::balanced} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 29999:
- send "&cYou don't have sufficient currencies to purchase &lBalanced Class"
- else:
- set {player.%uuid of player%::inventory::class::balanced} to true
- remove 30000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Balanced Class"
- set {player.%uuid of player%::game::class} to "Balanced"
- send "&eSelected Balanced Class"
- else:
- send "&cYou already own &lBard Class"
- command /server:buyclass4:
- trigger:
- if {player.%uuid of player%::inventory::class::pyro} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 19999:
- send "&cYou don't have sufficient currencies to purchase &lPyro Class"
- else:
- set {player.%uuid of player%::inventory::class::pyro} to true
- remove 20000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Pyro Class"
- set {player.%uuid of player%::game::class} to "Pyro"
- send "&eSelected Pyro Class"
- else:
- send "&cYou already own &lPyro Class"
- command /server:buyclass5:
- trigger:
- if {player.%uuid of player%::inventory::class::thief} isn't set:
- if {player::%uuid of player%::game::coins} isn't greater than 24999:
- send "&cYou don't have sufficient currencies to purchase &lThief Class"
- else:
- set {player.%uuid of player%::inventory::class::thief} to true
- remove 25000 from {player::%uuid of player%::game::coins}
- send "&ePurchased Thief Class"
- set {player.%uuid of player%::game::class} to "Thief"
- send "&eSelected Thief Class"
- else:
- send "&cYou already own &lThief Class"
- command /inventory:
- aliases: /inv
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Inventory" to player
- format slot 12 of player with book named "&r&lKILL &rEffects" to close then run [make player execute "/server:invkilleffects"]
- format slot 13 of player with book named "&r&lDEATH &rAnimations" to close then run [make player execute "/server:invdeathanimations"]
- format slot 14 of player with book named "&r&lPERMANENT &rEffects" to close then run [make player execute "/server:invpermeffects"]
- command /server:invkilleffects:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Kill Effects" to player
- if {player.%uuid of player%::inventory::killeffects::speed1} is true:
- format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed2}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Speed One Effect"]
- else:
- format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::regen2} is true:
- format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::strength1}] -> [set {player::%uuid of player%::game::killeffects::regen2} to true] -> [send "&eSelected Regeneration Two Effect"]
- else:
- format slot 12 of player with 2 chicken named "&r&lREGENERATION &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::killeffects::strength1} is true:
- format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::killeffects::speed1}] -> [delete {player::%uuid of player%::game::killeffects::regen2}] -> [set {player::%uuid of player%::game::killeffects::strength1} to true] -> [send "&eSelected Strength One Effect"]
- else:
- format slot 11 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /server:invpermeffects:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Permanent Effects" to player
- if {player.%uuid of player%::inventory::effects::speed1} is true:
- format slot 10 of player with feather named "&r&lSPEED &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed2}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed1} to true] -> [send "&eSelected Speed One Effect"]
- else:
- format slot 10 of player with feather named "&r&lSPEED &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::effects::speed2} is true:
- format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::strength1}] -> [set {player::%uuid of player%::game::effects::speed2} to true] -> [send "&eSelected Speed Two Effect"]
- else:
- format slot 11 of player with 2 feathers named "&r&lSPEED &rTwo" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::effects::strength1} is true:
- format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" to close then run [delete {player::%uuid of player%::game::effects::speed1}] -> [delete {player::%uuid of player%::game::effects::speed2}] -> [set {player::%uuid of player%::game::effects::strength1} to true] -> [send "&eSelected Strength One Effect"]
- else:
- format slot 12 of player with water_bottle named "&r&lSTRENGTH &rOne" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /server:invdeathanimations:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Death Animations" to player
- if {player.%uuid of player%::inventory::deathanimation::explosion} is true:
- format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::blood} to false] -> [set {player::%uuid of player%::game::deathanimation::explosion} to true] -> [send "&eSelected Explosion Effect"]
- if {player.%uuid of player%::inventory::deathanimation::explosion} isn't set:
- format slot 10 of player with tnt named "&r&lEXPLOSION &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- if {player.%uuid of player%::inventory::deathanimation::blood} is true:
- format slot 11 of player with red dye named "&r&lBLOOD &rEffect" to close then run [set {player::%uuid of player%::game::deathanimation::explosion} to false] -> [set {player::%uuid of player%::game::deathanimation::blood} to true] -> [send "&eSelected Blood Effect"]
- if {player.%uuid of player%::inventory::deathanimation::blood} isn't set:
- format slot 11 of player with red dye named "&r&lBLOOD &rEffect" with lore "||&4&lPURCHASE FROM SHOP" to be unstealable
- command /class:
- trigger:
- wait 3 ticks
- open chest with 3 rows named "&8Class" to player
- format slot 11 of player with book named "&r&lTHIEF &rClass" to close then run [make player execute "/server:class5setting"]
- format slot 12 of player with book named "&r&lAGGRESSIVE &rClass" to close then run [make player execute "/server:class1setting"]
- format slot 13 of player with book named "&r&lBARD &rClass" to close then run [make player execute "/server:class2setting"]
- format slot 14 of player with book named "&r&lBALANCED &rClass" to close then run [make player execute "/server:class3setting"]
- format slot 15 of player with book named "&r&lPYRO &rClass" to close then run [make player execute "/server:class4setting"]
- command /server:class5setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Thief" to player
- format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"]
- format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"]
- if {player.%uuid of player%::game::class} isn't "Thief":
- if {player.%uuid of player%::inventory::class::thief} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Thief"] -> [send "&eClass Thief Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lTHIEF &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class4setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Pyro" to player
- format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"]
- format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"]
- if {player.%uuid of player%::game::class} isn't "Pyro":
- if {player.%uuid of player%::inventory::class::pyro} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Pyro"] -> [send "&eClass Pyro Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lPYRO &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class3setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Balanced" to player
- format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"]
- format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"]
- if {player.%uuid of player%::game::class} isn't "Balanced":
- if {player.%uuid of player%::inventory::class::balanced} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Balanced"] -> [send "&eClass Balanced Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lBALANCED &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class2setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Bard" to player
- format slot 10 of player with feather named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"]
- if {player.%uuid of player%::game::class} isn't "Bard":
- if {player.%uuid of player%::inventory::class::bard} is true:
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Bard"] -> [send "&eClass Bard Selected."]
- else:
- format slot 21 of player with enchanted book named "&4&lPURCHASE FROM SHOP" to close then run [make player execute "class"]
- else:
- format slot 21 of player with enchanted book named "&r&lBARD &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class1setting:
- trigger:
- wait 3 ticks
- open chest with 4 rows named "&8Class Aggressive" to player
- format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"]
- if {player.%uuid of player%::game::class} isn't "Aggressive":
- format slot 21 of player with enchanted book named "&r&lSELECT &rClass" to close then run [set {player.%uuid of player%::game::class} to "Aggressive"] -> [send "&eClass Aggressive Selected."]
- else:
- format slot 21 of player with enchanted book named "&r&lAGGRESSIVE &rClass Selected" to close then run [make player execute "class"]
- format slot 23 of player with enchanted book named "&r&lGO BACK" to close then run [make player execute "class"]
- command /server:class5:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::thief::weapon} isn't set:
- open chest with 3 rows named "&8Thief Class" to player
- format slot 10 of player with water_bottle named "&e&lINVISIBILITY &ePotions" with lore "||&rLeft-click to use your skill point on the||&elINVISIBILITY &ePotions.||||&6&lDESCRIPTION||||&rEquip 3 invisibility potions" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Invis"] -> [make player execute "server:class5"]
- format slot 11 of player with 2 feathers named "&e&lSPEED &eTwo" with lore "||&rLeft-click to use your skill point on the||&eSPEED &eTwo.||||&6&lDESCRIPTION||||&rHave permanent speed 2" to close then run [set {player::%uuid of player%::game::class::thief::weapon} to "Speed2"] -> [make player execute "server:class5"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing leather helmet of protection 3
- set player's chestplate to glowing chainmail chestplate of protection 2
- set player's leggings to glowing chainmail leggings of protection 2
- set player's boots to glowing leather boots of protection 3
- set slot 0 of player to glowing gold sword of sharpness 2 named "&r%player%'s Sword"
- set slot 7 of player to 8 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::thief::weapon} is "Speed2":
- apply speed 2 to player for 999 days
- else if {player::%uuid of player%::game::class::thief::weapon} is "Invis":
- set slot 1 of player to 3 water_bottle named "&rInvisibility Potions"
- command /server:class4:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::pyro::weapon} isn't set:
- open chest with 3 rows named "&8Pyro Class" to player
- format slot 10 of player with iron axe named "&e&lSHARPNESS &rand Fire Aspect" with lore "||&rLeft-click to use your skill point on the||&eSHARPNESS &rand Fire Aspect||||&6&lDESCRIPTION||||&rEquip a sharpness 1 and fire aspect iron axe." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Sharpness"] -> [make player execute "server:class4"]
- format slot 11 of player with feather named "&e&lSPEED &eOne" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rOne.||||&6&lDESCRIPTION||||&rHave permanent speed 1." to close then run [set {player::%uuid of player%::game::class::pyro::weapon} to "Speed"] -> [make player execute "server:class4"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing chainmail helmet of protection 1
- set player's chestplate to glowing iron chestplate of protection 1
- set player's leggings to glowing chainmail leggings of protection 1
- set player's boots to glowing chainmail boots of protection 1
- set slot 0 of player to glowing iron axe of fire aspect 1 named "&r%player%'s Sword"
- set slot 7 of player to 8 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::pyro::weapon} is "Speed":
- apply speed 1 to player for 999 days
- else if {player::%uuid of player%::game::class::pyro::weapon} is "Sharpness":
- set slot 0 of player to glowing iron axe of sharpness 1 and fire aspect 1 named "&r%player%'s Sharpned Sword"
- command /server:class3:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::balanced::weapon} isn't set:
- open chest with 3 rows named "&8Balanced Class" to player
- format slot 10 of player with bow named "&e&lBOW &eand Arrows" with lore "||&rLeft-click to use your skill point on the||&eBOW &rand arrows.||||&6&lDESCRIPTION||||&rEquip a power 1 bow with 64 arrows." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Bow"] -> [make player execute "server:class3"]
- format slot 11 of player with feather named "&e&lSPEED &ePotions" with lore "||&rLeft-click to use your skill point on the||&eSPEED &rpotions.||||&6&lDESCRIPTION||||&rEquip 3 speed 2 potions." to close then run [set {player::%uuid of player%::game::class::balanced::weapon} to "Speed Potions"] -> [make player execute "server:class3"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing iron helmet of protection 1
- set player's chestplate to glowing iron chestplate
- set player's leggings to glowing iron leggings
- set player's boots to glowing iron boots of protection 1
- set slot 0 of player to glowing stone sword of sharpness 2 named "&r%player%'s Sword"
- set slot 7 of player to 8 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::balanced::weapon} is "Speed Potions":
- set slot 1 of player to 3 water_bottle named "&rSpeed Potions"
- else if {player::%uuid of player%::game::class::balanced::weapon} is "Bow":
- set slot 1 of player to bow of power 1 named "&r%player%'s Bow"
- set slot 2 of player to 64 arrows
- command /server:class2:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::bard::weapon} isn't set:
- open chest with 3 rows named "&8Bard Class" to player
- format slot 10 of player with iron ingot named "&e&lJUMP &eBoost" with lore "||&rLeft-click to use your skill point on the||&eJUMP &rBoost.||||&6&lDESCRIPTION||||&rOn click recieve jump boost 3." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Jump Boost"] -> [make player execute "server:class2"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::bard::weapon} to "Diamond Sword"] -> [make player execute "server:class2"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing golden helmet
- set player's chestplate to glowing golden chestplate
- set player's leggings to glowing golden leggings
- set player's boots to glowing golden boots
- set slot 0 of player to glowing iron sword of sharpness 2 named "&r%player%'s Sword"
- set slot 5 of player to 3 blaze rods
- set slot 6 of player to 3 feathers
- set slot 7 of player to 5 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::bard::weapon} is "Jump Boost":
- set slot 4 of player to 3 iron ingots
- else if {player::%uuid of player%::game::class::bard::weapon} is "Diamond Sword":
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
- command /server:class1:
- trigger:
- if {commands.%uuid of player%} is set:
- stop
- else:
- if {player::%uuid of player%::game::class::aggressive::weapon} isn't set:
- open chest with 3 rows named "&8Aggressive Class" to player
- format slot 10 of player with golden axe named "&e&lMAGIC &eAxe" with lore "||&rLeft-click to use your skill point on the||&eMAGIC &raxe.||||&6&lDESCRIPTION||||&rOn left-click recieve a random potion effect." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Magic Axe"] -> [make player execute "server:class1"]
- format slot 11 of player with diamond sword named "&e&lDIAMOND &eSword" with lore "||&rLeft-click to use your skill point on the||&eDIAMOND &rSword.||||&6&lDESCRIPTION||||&rEquip a sharpness 1 diamond sword." to close then run [set {player::%uuid of player%::game::class::aggressive::weapon} to "Diamond Sword"] -> [make player execute "server:class1"]
- else:
- heal player
- set hunger of player to 20
- set gamemode of player to survival
- set player's helmet to glowing iron helmet
- set player's chestplate to glowing iron chestplate
- set player's leggings to glowing iron leggings
- set player's boots to glowing iron boots
- set slot 0 of player to glowing diamond sword named "&r%player%'s Sword"
- set slot 7 of player to 10 golden apples
- set slot 8 of player to 10 golden carrots
- teleport player to {server.location.arena}
- if {player::%uuid of player%::game::class::aggressive::weapon} is "Thunder Axe" or "Magic Axe":
- set slot 1 of player to golden axe named "&rMagic Axe"
- else if {player::%uuid of player%::game::class::aggressive::weapon} is "Diamond Sword":
- set slot 0 of player to diamond sword of sharpness 1 named "&r%player%'s Sharpned Sword"
- on respawn:
- wait 10 ticks
- teleport player to {server::location::spawn}
- on death:
- if {player::%uuid of attacker%::game::killeffects::speed1} is true:
- apply speed 1 to attacker for 5 seconds
- else if {player::%uuid of attacker%::game::killeffects::strength1} is true:
- apply strength 1 to attacker for 5 seconds
- else if {player::%uuid of attacker%::game::killeffects::regen2} is true:
- apply regeneration 2 to attacker for 5 seconds
- on death:
- victim is a player:
- attacker is a player:
- if {player::%uuid of player%::game::unranked::status} is true:
- clear drops
- send "&6&l+50 COINS" to attacker
- set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
- add 1 to {player::%uuid of attacker%::game::kills}
- add 1 to {player::%uuid of attacker%::game::killstreak}
- add 50 to {player::%uuid of attacker%::game::coins}
- add 1 to {player::%uuid of victim%::game::deaths}
- delete {player::%uuid of victim%::game::killstreak}
- if {player::%uuid of victim%::game::deathanimation::blood} is true:
- drop 5 red dye at location of victim
- drop 5 bone at location of victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- if {player::%uuid of victim%::game::deathanimation::explosion} is true:
- create fake explosion at victim
- drop 2 tnt at location of victim
- wait 2 seconds
- loop all dropped items:
- delete loop-value
- else:
- clear drops
- set death message to "&c%attacker%&4[%{player::%uuid of attacker%::game::kills}%] &ehas slain &c%victim%&4[%{player::%uuid of victim%::game::kills}%]"
- on respawn:
- if {player::%uuid of player%::game::unranked::status} is true:
- make player execute "unranked"
- make player execute "spawn"
- on pickup of red dye:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on pickup of bone:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on pickup:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on break:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on place:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on drop:
- if {player::%uuid of player%::game::unranked::status} is true:
- cancel event
- on pickup of red dye:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on pickup of bone:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on pickup:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on break:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on place:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on drop:
- if {player::%uuid of player%::game::ranked::status} is true:
- cancel event
- on rightclick:
- if player's tool is a blaze rod:
- remove 1 blaze rod from player
- apply strength 2 to player for 5 seconds
- if player's tool is a feather:
- remove 1 feather from player
- apply speed 2 to player for 10 seconds
- if player's tool is a iron ingot:
- remove 1 iron ingot from player
- apply jump boost 3 to player for 5 seconds
- if player's tool is a water_bottle:
- if name of player's tool is "&rSpeed Potions":
- remove 1 water_bottle named "&rSpeed Potions" from player
- apply speed 1 to player for 2 minutes
- if player's tool is a water_bottle:
- if name of player's tool is "&rInvisibility Potions":
- remove 1 water_bottle named "&rInvisibility Potions" from player
- hide the player from all players
- loop 5 times:
- reveal the player from all players
- wait 2.5 seconds
- hide the player from all players
- wait 2.5 seconds
- reveal the player from all players
- send "&elINVISIBILITY was wore off."
- on leftclick:
- if player's tool is a golden axe named "&rMagic Axe":
- cancel event
- if {player::%uuid of player%::game::item::magicaxe::cooldown} isn't set:
- chance of 33%:
- apply strength 2 to player for 2 seconds
- chance of 33%:
- apply strength 1 to player for 2 seconds
- chance of 33%:
- apply poison 1 to player for 2 seconds
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 5
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 4
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 3
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 2
- wait 1 second
- set {player::%uuid of player%::game::item::magicaxe::cooldown} to 1
- wait 1 second
- delete {player::%uuid of player%::game::item::magicaxe::cooldown}
- else:
- send "&cYou still have a &e&lMagic Axe &ccooldown for another %{player::%uuid of player%::game::item::magicaxe::cooldown}% seconds."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement