Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- status.%player% = "&c&lOFFLINE"
- 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"
- set "%player's UUID%" to "%name of player%" in yaml file "plugins/Skript/scripts/Logger/players.yml"
- 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 /p [<offline player>]:
- trigger:
- if arg 1 is not set:
- if {lastlogin::%player's uuid%} is not set:
- set {lastlogin::%player's uuid%} to ""
- set {_player} to "%player%" parsed as player
- set {_test} to player's group
- send "&eInformation on Benithia Minecraft player %player's displayname%"
- send "&bGroup: &f%player's group%"
- send "&bOnline Status: &f%{status.%player%}%"
- send "&bLast Seen: &f%{lastlogin::%player's uuid%}%"
- send "&bFirst Join: &f%{firstjoin::%player's uuid%}%"
- if arg 1 is set:
- 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 {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
- set {_test} to player's group
- send "&eInformation on Benithia Minecraft player %arg-1's displayname%"
- send "&bGroup: &f%arg-1's group%"
- send "&bOnline Status: &f%{status.%arg-1%}%"
- send "&bFirst Join: &f%{firstjoin::%arg-1's uuid%}%"
- send "&bLast Seen: &f%{lastlogin::%arg-1's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement