Advertisement
Guest User

Untitled

a guest
Aug 10th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. variables:
  2. status.%player% = "&c&lOFFLINE"
  3.  
  4. on first join:
  5. set {firstjoin::%player's uuid%} to now
  6.  
  7. on join:
  8. if {firstjoin::%player's uuid%} is not set:
  9. set {firstjoin::%player's uuid%} to now
  10. set {status.%player%} to "&a&lONLINE"
  11. set "%player's UUID%" to "%name of player%" in yaml file "plugins/Skript/scripts/Logger/players.yml"
  12.  
  13. on quit:
  14. set {status.%player%} to "&c&lOFFLINE"
  15.  
  16. on login:
  17. set {lastlogin::%player's uuid%} to now
  18.  
  19. on logout:
  20. set {location::%player's uuid%} to player's location
  21.  
  22.  
  23. command /p [<offline player>]:
  24. trigger:
  25. if arg 1 is not set:
  26. if {lastlogin::%player's uuid%} is not set:
  27. set {lastlogin::%player's uuid%} to ""
  28. set {_player} to "%player%" parsed as player
  29. set {_test} to player's group
  30. send "&eInformation on Benithia Minecraft player %player's displayname%"
  31. send "&bGroup: &f%player's group%"
  32. send "&bOnline Status: &f%{status.%player%}%"
  33. send "&bLast Seen: &f%{lastlogin::%player's uuid%}%"
  34. send "&bFirst Join: &f%{firstjoin::%player's uuid%}%"
  35. if arg 1 is set:
  36. if {status.%arg-1%} is not set:
  37. set {status.%arg-1%} to "&c&lOFFLINE"
  38. if {firstjoin::%arg-1's uuid%} is not set:
  39. set {firstjoin::%arg-1's uuid%} to "&cNever Joined"
  40. if {lastlogin::%arg-1's uuid%} is not set:
  41. set {lastlogin::%arg-1's uuid%} to "&cNever Joined"
  42. set {_arg1} to "%arg-1%" parsed as offlineplayer
  43. set {_test} to player's group
  44. send "&eInformation on Benithia Minecraft player %arg-1's displayname%"
  45. send "&bGroup: &f%arg-1's group%"
  46. send "&bOnline Status: &f%{status.%arg-1%}%"
  47. send "&bFirst Join: &f%{firstjoin::%arg-1's uuid%}%"
  48. send "&bLast Seen: &f%{lastlogin::%arg-1's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement