Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- kills.%player% = 0
- deaths.%player% = 0
- blocks.%player% = 0
- blocksplace.%player% = 0
- status.%player% = "&c&lOFFLINE"
- on death:
- attacker is a player
- victim is a player
- increase {kills.%attacker%} by 1
- increase {deaths.%victim%} by 1
- on break:
- increase {blocks.%player%} by 1
- on place:
- increase {blocksplace.%player%} by 1
- on first join:
- set {firstjoin::%player's uuid%} to now
- on join:
- if {firstjoin::%player's uuid%} is not set:
- set {firstjoin::%player's uuid%} to now
- set {status.%player%} to "&a&lONLINE"
- on quit:
- set {status.%player%} to "&c&lOFFLINE"
- on login:
- set {lastlogin::%player's uuid%} to now
- on logout:
- set {location::%player's uuid%} to player's location
- command /stat [<offlineplayer>]:
- aliases: /s
- trigger:
- if arg 1 is not set:
- if {lastlogin::%player's uuid%} is not set:
- set {lastlogin::%player's uuid%} to "&fNo known last location"
- set {_player} to "%player%" parsed as player
- open chest with 3 rows named "&eYour &7Stats" to player
- format slot 0 of player with blue glass named "&f" to be unstealable
- format slot 1 of player with red glass named "&f" to be unstealable
- format slot 2 of player with blue glass named "&f" to be unstealable
- format slot 3 of player with red glass named "&f" to be unstealable
- format slot 4 of player with blue glass named "&f" to be unstealable
- format slot 5 of player with red glass named "&f" to be unstealable
- format slot 6 of player with blue glass named "&f" to be unstealable
- format slot 7 of player with red glass named "&f" to be unstealable
- format slot 8 of player with blue glass named "&f" to be unstealable
- format slot 9 of player with red glass named "&f" to be unstealable
- format slot 10 of player with blue glass named "&f" to be unstealable
- format slot 11 of player with red glass named "&f" to be unstealable
- format slot 12 of player with blue glass named "&f" to be unstealable
- format slot 13 of player with skull of {_player} named "%player's displayname%" with lore "&eStatus: &7%{status.%player%}%||&eFirst join: &7%{firstjoin::%player's uuid%}%||&eLast Login: &7%{lastlogin::%player's uuid%}%||&eDeaths: &7%{deaths.%player%}%||&eKills: &7%{kills.%player%}%||&eBlocks Broken: &7%{blocks.%player%}%||&eBlocks Placed: &7%{blocksplace.%player%}%" to be unstealable
- format slot 14 of player with blue glass named "&f" to be unstealable
- format slot 15 of player with red glass named "&f" to be unstealable
- format slot 16 of player with blue glass named "&f" to be unstealable
- format slot 17 of player with red glass named "&f" to be unstealable
- format slot 18 of player with blue glass named "&f" to be unstealable
- format slot 19 of player with red glass named "&f" to be unstealable
- format slot 20 of player with blue glass named "&f" to be unstealable
- format slot 21 of player with red glass named "&f" to be unstealable
- format slot 22 of player with blue glass named "&f" to be unstealable
- format slot 23 of player with red glass named "&f" to be unstealable
- format slot 24 of player with blue glass named "&f" to be unstealable
- format slot 25 of player with red glass named "&f" to be unstealable
- format slot 26 of player with blue glass named "&f" to be unstealable
- if arg 1 is set:
- if {kills.%arg-1%} is not set:
- set {kills.%arg-1%} to 0
- if {deaths.%arg-1%} is not set:
- set {deaths.%arg-1%} to 0
- if {blocks.%arg-1%} is not set:
- set {blocks.%arg-1%} to 0
- if {blocksplace.%arg-1%} is not set:
- set {blocksplace.%arg-1%} to 0
- if {gapples.%arg-1%} is not set:
- set {gapples.%arg-1%} to 0
- if {status.%arg-1%} is not set:
- set {status.%arg-1%} to "&c&lOFFLINE"
- if {firstjoin::%arg-1's uuid%} is not set:
- set {firstjoin::%arg-1's uuid%} to "&cNever Joined"
- if {location::%arg-1's uuid%} is not set:
- set {location::%arg-1's uuid%} to "&cNever Joined"
- if {lastlogin::%arg-1's uuid%} is not set:
- set {lastlogin::%arg-1's uuid%} to "&cNever Joined"
- set {_arg1} to "%arg-1%" parsed as offlineplayer
- open chest with 3 rows named "&c&l%arg-1%'s &e&lStats" to player
- format slot 0 of player with blue glass named "&f" to be unstealable
- format slot 1 of player with red glass named "&f" to be unstealable
- format slot 2 of player with blue glass named "&f" to be unstealable
- format slot 3 of player with red glass named "&f" to be unstealable
- format slot 4 of player with blue glass named "&f" to be unstealable
- format slot 5 of player with red glass named "&f" to be unstealable
- format slot 6 of player with blue glass named "&f" to be unstealable
- format slot 7 of player with red glass named "&f" to be unstealable
- format slot 8 of player with blue glass named "&f" to be unstealable
- format slot 9 of player with red glass named "&f" to be unstealable
- format slot 10 of player with blue glass named "&f" to be unstealable
- format slot 11 of player with red glass named "&f" to be unstealable
- format slot 12 of player with blue glass named "&f" to be unstealable
- format slot 13 of player with skull of {_arg1} named "&e%arg-1%'s &7Stats" with lore "&eStatus: &7%{status.%arg-1%}%||&eFirst join: &7%{firstjoin::%arg-1's uuid%}%||&eLast Login: &7%{lastlogin::%arg-1's uuid%}%||&eDeaths: &7%{deaths.%arg-1%}%||&eKills: &7%{kills.%arg-1%}%||&eBlocks Broken: &7%{blocks.%arg-1%}%||&eBlocks Placed: &7%{blocksplace.%arg-1%}%" to be unstealable
- format slot 14 of player with blue glass named "&f" to be unstealable
- format slot 15 of player with red glass named "&f" to be unstealable
- format slot 16 of player with blue glass named "&f" to be unstealable
- format slot 17 of player with red glass named "&f" to be unstealable
- format slot 18 of player with blue glass named "&f" to be unstealable
- format slot 19 of player with red glass named "&f" to be unstealable
- format slot 20 of player with blue glass named "&f" to be unstealable
- format slot 21 of player with red glass named "&f" to be unstealable
- format slot 22 of player with blue glass named "&f" to be unstealable
- format slot 23 of player with red glass named "&f" to be unstealable
- format slot 24 of player with blue glass named "&f" to be unstealable
- format slot 25 of player with red glass named "&f" to be unstealable
- format slot 26 of player with blue glass named "&f" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement