Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &8[&e&lFFA&8]&f
- adminperm: ffa.*
- noperm: &cSorry, you not have enough permission.
- setlobbyperm: ffa.setlobby
- setleaveperm: ffa.setleave
- setkitperm: ffa.setkit
- setstatsperm: ffa.setstats
- reloadperm: ffa.reload
- command /ffa [<text>] [<text>] [<player>] [<integer>]:
- trigger:
- if arg 1 is not set:
- send "&6&l&m*&6&m-----------------&r &e&lFFA &6&m--------------------------&6&l&m*"
- send " &e/ffa help &f- Prints this message"
- send " &e/ffa join &f- To join FFA Lobby"
- send " &e/ffa leave &f- To leave from FFA Lobby"
- send " &e/ffa stats &f- See your stats"
- if player has permission "{@adminperm}":
- send "&6&lAdmin Commands:"
- send " &e/ffa setlobby &f- Setlobby in your location"
- send " &e/ffa setleave &f- Setleave in your location"
- send " &e/ffa setkit &f- Setkit from your inventory for FFA Game"
- send " &e/ffa set <kills:deaths> <player> <number> &f- Settings Stats"
- send " &e/ffa reload &f- Reload the FFA Plugin"
- send "&6&l&m*&6&m-------------------------------------------------&6&l&m*"
- if arg 1 is "help":
- send "&6&l&m*&6&m-----------------&r &e&lFFA &6&m--------------------------&6&l&m*"
- send " &e/ffa help &f- Prints this message"
- send " &e/ffa join &f- To join FFA Lobby"
- send " &e/ffa leave &f- To leave from FFA Lobby"
- send " &e/ffa stats &f- See your stats"
- if player has permission "{@adminperm}":
- send "&6&lAdmin Commands:"
- send " &e/ffa setlobby &f- Setlobby in your location"
- send " &e/ffa setleave &f- Setleave in your location"
- send " &e/ffa setkit &f- Setkit from your inventory for FFA Game"
- send " &e/ffa set <kills:deaths> <player> <number> &f- Settings Stats"
- send " &e/ffa reload &f- Reload the FFA Plugin"
- send "&6&l&m*&6&m-------------------------------------------------&6&l&m*"
- if arg 1 is "setlobby":
- if player has permission "{@setlobbyperm}" or "{@adminperm}":
- set {ffa.lobby} to location of player
- send "{@logo} Succesfully setlobby in your location"
- else:
- send "{@logo} {@noperm}"
- if arg 1 is "setleave":
- if player has permission "{@setleaveperm}" or "{@adminperm}":
- set {ffa.leave} to location of player
- send "{@logo} Succesfully setleave in your location"
- else:
- send "{@logo} {@noperm}"
- if arg 1 is "reload":
- if sender is console:
- execute console command "sk reload %script%"
- if sender is player:
- if player has permission "{@reloadperm}" or "{@adminperm}":
- make player execute command "/sk reload %script%"
- else:
- send "{@logo} {@noperm}"
- if arg 1 is "join":
- if {ingame.%player%} is true:
- send "{@logo} You are in game"
- else:
- if {ffa.lobby} is set:
- send "{@logo} Joined the lobby"
- teleport player to {ffa.lobby}
- set {ingame.%player%} to true
- heal player
- set player's hunger to 20
- if {ffa.kills.%uuid of player%} is not set:
- set {ffa.kills.%uuid of player%} to 0
- if {ffa.deaths.%uuid of player%} is not set:
- set {ffa.deaths.%uuid of player%} to 0
- if {ffa.level.%uuid of player%} is not set:
- set {ffa.level.%uuid of player%} to 0
- restore inventory of player from {kit.ffa}
- equip player with {kithelmet.ffa}
- equip player with {kitchestplate.ffa}
- equip player with {kitleggings.ffa}
- equip player with {kitboots.ffa}
- make console execute command "nte player %player% prefix &7[&e%{ffa.level.%uuid of player%}%&7]"
- set {ffa.status.%player%} to "&aIdling"
- else:
- send "{@logo} Lobby is not set"
- if arg 1 is "respawn":
- if {ingame.%player%} is true:
- teleport player to {ffa.lobby}
- restore inventory of player from {kit.ffa}
- equip player with {kithelmet.ffa}
- equip player with {kitchestplate.ffa}
- equip player with {kitleggings.ffa}
- equip player with {kitboots.ffa}
- if arg 1 is "leave":
- if {ingame.%player%} is true:
- if {ffa.leave} is set:
- send "{@logo} Leaved from lobby"
- delete {ingame.%player%}
- clear player's inventory
- heal player
- set player's hunger to 20
- teleport player to {ffa.leave}
- else:
- send "{@logo} Lobby leave is not set"
- else:
- send "{@logo} You are not in lobby"
- if arg 1 is "stats":
- if {ingame.%player%} is true:
- send "&6&l&m*&6&m------------------&r &e&lStats &6&m------------------&6&l&m*"
- send " &eYour Stats:"
- send " &8● &eKills: &f%{ffa.kills.%uuid of player%}%"
- send " &8● &eDeaths: &f%{ffa.deaths.%uuid of player%}%"
- send " &8● &eLevel: &8[&e%{ffa.level.%uuid of player%}%✫&8]"
- send "&6&l&m*&6&m-------------------------------------------&6&l&m*"
- else:
- send "{@logo} You are not in lobby"
- if arg 1 is "setkit":
- if player has permission "{@setkitperm}" or "{@adminperm}":
- set {kit.ffa} to player's serialized inventory
- set {kithelmet.ffa} to helmet of player
- set {kitchestplate.ffa} to chestplate of player
- set {kitleggings.ffa} to leggings of player
- set {kitboots.ffa} to boots of player
- send "{@logo} Succesfully setkit for &eFFA"
- make console execute command "nte player %player% clear"
- else:
- send "{@logo} {@noperm}"
- if arg 1 is "set":
- if player has permission "{@setstatsperm}" or "{@adminperm}":
- if arg 2 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- if arg 2 is "kills":
- if arg 3 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- if arg 4 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- set {ffa.kills.%uuid of arg 3%} to arg 4
- send "{@logo} Succesfully set &e%arg 3%&f's Kills to &e%arg 4%"
- if arg 2 is "deaths":
- if arg 3 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- if arg 4 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- set {ffa.deaths.%uuid of arg 3%} to arg 4
- send "{@logo} Succesfully set &e%arg 3%&f's Deaths to &e%arg 4%"
- if arg 2 is "level":
- if arg 3 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- if arg 4 is not set:
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- set {ffa.level.%uuid of arg 3%} to arg 4
- send "{@logo} Succesfully set &e%arg 3%&f's Level to &e%arg 4%"
- if arg 2 is not "level" or "deaths" or "kills":
- send "{@logo} Use /ffa set <kills:deaths:level> <player> <number>"
- else:
- send "{@logo} {@noperm}"
- on damage of player:
- if {ingame.%victim%} is true:
- if damage cause is fall:
- cancel event
- if damage cause is void:
- damage victim by 20
- if attacker is player:
- set {_sec.%victim%} to 10
- set {_sec.%attacker%} to 10
- if {ffa.status.%victim%} is "&aIdling":
- set {ffa.status.%victim%} to "&cFighting"
- while {ffa.status.%victim%} is "&cFighting":
- remove 1 from {_sec.%victim%}
- wait 1 seconds
- if {_sec.%victim%} is 0:
- set {ffa.%victim%.status} to "&aIdling"
- if {ffa.status.%attacker%} is "&aIdling":
- set {ffa.status.%attacker%} to "&cFighting"
- while {ffa.status.%attacker%} is "&cFighting":
- remove 1 from {_sec.%attacker%}
- wait 1 seconds
- if {_sec.%attacker%} is 0:
- set {ffa.status.%uuid of attacker%} to "&aIdling"
- on death of player:
- if {ingame.%victim%} is true:
- set death message to ""
- add 1 to {ffa.kills.%uuid of attacker%}
- add 1 to {ffa.deaths.%uuid of victim%}
- add 10 to {ffa.xp.%uuid of victim%}
- teleport victim to {ffa.lobby}
- restore inventory of victim from {kit.ffa}
- equip victim with {kithelmet.ffa}
- equip victim with {kitchestplate.ffa}
- equip victim with {kitleggings.ffa}
- equip victim with {kitboots.ffa}
- give golden apple to victim
- if {ffa.xp.%uuid of attacker%} >= {ffa.xp-need.%uuid of attacker%}:
- remove {ffa.xp-need.%uuid of attacker%} from {ffa.xp.%uuid of attacker%}
- set {_old} to {ffa.level.%uuid of attacker%}
- add 1 to {ffa.level.%{_uuid}%}
- make console execute command "nte player %attacker% prefix &7[&e%{ffa.level.%uuid of attacker%}%&7]"
- send "{@logo} &6&lLEVEL UP! &eCongrats %attacker%!" to {_p}
- send {_p} title "&6&lLEVEL UP!" with subtitle "&7[&e%{_old}%&7] &f-> &7[&e%{ffa.level.%uuid of attacker%}%&7]" for 3 seconds
- play "LEVEL_UP" to {_p} at volume 1
- if {ffa.level.%uuid of attacker%} < 10:
- add 50 to {ffa.xp-need.%uuid of attacker%}
- stop
- if {ffa.level.%uuid of attacker%} < 20:
- add 70 to {ffa.xp-need.%uuid of attacker%}
- stop
- if {ffa.level.%uuid of attacker%} < 30:
- add 80 to {ffa.xp-need.%uuid of attacker%}
- stop
- if {ffa.level.%uuid of attacker%} < 50:
- add 100 to {ffa.xp-need.%uuid of attacker%}
- stop
- else:
- add 120 to {ffa.xp-need.%uuid of attacker%}
- stop
- on break:
- if {ingame.%player%} is true:
- if event-block is wood:
- cancel event
- set event-block to air
- if event-block is cobblestone:
- cancel event
- set event-block to air
- on place:
- if {ingame.%player%} is true:
- if event-block is wood:
- wait 3 seconds
- set event-block to air
- if event-block is cobblestone:
- wait 3 seconds
- set event-block to air
- else:
- cancel event
- every 80 ticks:
- loop all players:
- if {ingame.%loop-player%} is true:
- if stylish scoreboard "FFA-%loop-player%" does not exist:
- create new stylish scoreboard named "FFA-%loop-player%"
- loop 9 times:
- create a new id based score "FFA-%loop-player%Slot%loop-number%" with text "&%loop-number%" slot loop-number for stylish scoreboard "FFA-%loop-player%"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&6&lF&e&lFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lF&6&lF&e&lA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFF&6&lA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&6&lF&e&lFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lF&6&lF&e&lA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFF&6&lA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 3 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 5 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&6&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 5 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 5 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&6&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- wait 5 ticks
- set title of stylish scoreboard "FFA-%loop-player%" to "&e&lFFA"
- set stylish scoreboard of loop-player to "FFA-%loop-player%"
- set the text of id "FFA-%loop-player%Slot9" to "&7%now%"
- set the text of id "FFA-%loop-player%Slot8" to "&5&l"
- set the text of id "FFA-%loop-player%Slot7" to "&fKills: &a%{ffa.kills.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot6" to "&fDeaths: &a%{ffa.level.%uuid of loop-player%}%"
- set the text of id "FFA-%loop-player%Slot5" to "&fLevel: &a%{ffa.level.%uuid of loop-player%}%✫"
- set the text of id "FFA-%loop-player%Slot4" to "&1&f"
- set the text of id "FFA-%loop-player%Slot3" to "&fStatus: %{ffa.status.%loop-player%}%"
- set the text of id "FFA-%loop-player%Slot2" to "&1&l"
- set the text of id "FFA-%loop-player%Slot1" to "&eYOURSERVER.COM"
- else:
- if stylish scoreboard "FFA-%loop-player%" is set:
- delete stylish "FFA-%loop-player%"
- on chat:
- if {ingame.%player%} is true:
- cancel event
- loop all players:
- if {ingame.%loop-player%} is true:
- send "&8[&e%{ffa.level.%uuid of loop-player%}%✫&8] %colored player's prefix%&7%player%: %message%" to loop-player
- on quit:
- if {ingame.%player%} is true:
- delete {ingame.%player%}
- clear player's inventory
- heal player
- set player's hunger to 20
- make console execute command "nte player %player% clear"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement