Last/First Login Time (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.5
Syntax
[the] (last|first) login of %offlineplayers%Description
When a player last/first logged in the server. 'last login' requires paper to get the last login, otherwise it will get the last time they were seen on the server.
Examples
command /onlinefor:
trigger:
send "You have been online for %difference between player's last login and now%."
send "You first joined the server %difference between player's first login and now% ago."