variables:
online.%player% = 0
oldur.%player% = 0
oldum.%player% = 0
every 60 seconds:
add 1 to {online.%player%}
stop
command /stats:
trigger:
open chest with 5 rows named "&cStats by Hawking"
wait 1 tick
format slot 0 of player with glass named "&cStats" to be unstealable
format slot 1 of player with human head named "&cIsmin: &4%player%" to be unstealable
format slot 2 of player with glass named "&cStats" to be unstealable
format slot 3 of player with diamond sword named "&cÖldürmeler: &4{oldur.%player%}"
format slot 4 of player with glass named "&cStats" to be unstealable
format slot 5 of player with diamond sword named "&cÖlmeler: &4{oldum.%player%}"
format slot 6 of player with glass named "&cStats" to be unstealable
format slot 7 of player with clock named "&cDakika: &4{online.%player%}"
on death:
attacker is a player
add 1 to {oldur.%player}
stop
on death:
victim is a player
add 1 to {oldum.%player%}
stop