- every second in "world":
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&a&lYEET &7| &a&l%loop-player%"
- set score "&c&m---------------" in sidebar of loop-player to 14
- set score "&7" in sidebar of loop-player to 13
- set score " &7Kills: &8» &a%{kills.%loop-player%}%" in sidebar of loop-player to 12
- set score " &7Deaths &8» &a%{deaths.%loop-player%}%" in sidebar of loop-player to 11
- set score " &7Playtime &8» &a%{playtime.%loop-player%}%" in sidebar of loop-player to 10
- set score "&f" in sidebar of loop-player to 9
- set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 8
- set score "&c&m---------------" in sidebar of loop-player to 7
- every 1 second in "world":
- loop all players:
- if {kills.%loop-player%} is 0:
- set {kills.%loop-player%} to 1
- if {deaths.%loop-player%} is 0:
- set {deaths.%loop-player%} to 1
- on death:
- attacker is player
- victim is player
- add 1 to {kills.%attacker%}
- add 1 to {deaths.%victim%}
- send "&7You have killed &c%victim%" to attacker
- send "&c%attacker% &7has killed you!" to victim
- broadcast "&c%attacker% &7has killed &c%victim%"
- every 1 second in "world":
- loop all players:
- add 1 to {playtime.%loop-player%}
- command /stats:
- trigger:
- loop all players:
- send "&7Server: &aYeetBlue"
- send "&7Gamemode: &aSurvival"
- send "&7Kills: &a%{kills.%loop-player%}%"
- send "&7Deaths: &a%{deaths.%loop-player%}%"
- send "&7Playtime: &a%{playtime.%loop-player%}%"
- stop
- command /sethome <text>:
- trigger:
- if arg 1 is set:
- set {home.%arg-1%} to position of player
- send "&7You have set your home &8(%arg-1%)"
- if arg 1 is not set:
- send "&7Correct usage: &c/sethome <homename>"
- command /home <text>:
- trigger:
- if arg 1 is set:
- teleport player to {home.%arg-1%}
- send "&7You have teleported to your home! &8(%arg-1%)"
- if arg 1 is not set:
- send "&7Correct usage: &c/home <homename>"
- command /delhome <text>:
- trigger:
- if arg 1 is set:
- delete {home.%arg-1%}
- send "&7You have deleted your home! &8(%arg-1%)"
- if arg 1 is not set:
- send "&7Correct usage: &c/delhome <homename>"
- command /gmc:
- trigger:
- send "&7You have switched gamemode from &aSurvival &7to &aCreative&7!"
- set player's gamemode to creative
- stop
- command /gms:
- trigger:
- send "&7You have switched gamemode from &aCreative &7to &aSurvival&7!"
- set player's gamemode to survival
- stop
- command /tphere [<player>]:
- trigger:
- teleport arg-1 to player
- send "&7You have teleported &a%arg-1% &7to &a%player%&7!"
- send "&a%player% &7has teleported &ayou &7to them!" to arg-1
- stop
- command /tpall [<player>]:
- trigger:
- loop all players:
- teleport loop-player to arg-1
- broadcast "&a%player% &7has teleported everyone to &a%arg-1%&7!"
- stop
- command /msg [<player>] [<text>]:
- trigger:
- if arg-1 is not set:
- if arg-2 is not set:
- send "&7You have not written any message to this player!"
- if arg-1 is set:
- if arg-2 is set:
- send "&7You have sent &a%arg-2% &7to &a%arg-1%&7!"
- send "&7From &a%player%&7: &a%arg-2%" to arg-1