Discord

Placeholders

LastLoginAPI can be used with PlaceholderAPI (or EssentialsChat) to output information about players.

PlaceholderAPIEssentialsChatDescription
%lastloginapi_name%{LASTLOGINAPI_NAME}The player name
%lastloginapi_last_login_date%{LASTLOGINAPI_LAST_LOGIN_DATE}Latest login of the player as date (format it via config.yml)
%lastloginapi_last_login_elapsed%{LASTLOGINAPI_LAST_LOGIN_ELAPSED}Elapsed time since latest player login (format it via config.yml)
%lastloginapi_last_login_elapsed_seconds%{LASTLOGINAPI_LAST_LOGIN_ELAPSED_SECONDS}Seconds since latest player login
%lastloginapi_last_login_elapsed_minutes%{LASTLOGINAPI_LAST_LOGIN_ELAPSED_MINUTES}Minutes since latest player login
%lastloginapi_last_login_elapsed_hours%{LASTLOGINAPI_LAST_LOGIN_ELAPSED_HOURS}Hours since latest player login
%lastloginapi_last_login_elapsed_days%{LASTLOGINAPI_LAST_LOGIN_ELAPSED_DAYS}Days since latest player login
%lastloginapi_last_login_timestamp%{LASTLOGINAPI_LAST_LOGIN_TIMESTAMP}Timestamp of the latest login
%lastloginapi_last_logout_date%{LASTLOGINAPI_LAST_LOGOUT_DATE}Latest logout of the player as date (format it via config.yml)
%lastloginapi_last_logout_elapsed%{LASTLOGINAPI_LAST_LOGOUT_ELAPSED}Elapsed time since latest player logout (format it via config.yml)
%lastloginapi_last_logout_elapsed_seconds%{LASTLOGINAPI_LAST_LOGOUT_ELAPSED_SECONDS}Seconds since latest player login
%lastloginapi_last_logout_elapsed_minutes%{LASTLOGINAPI_LAST_LOGOUT_ELAPSED_MINUTES}Minutes since latest player login
%lastloginapi_last_logout_elapsed_hours%{LASTLOGINAPI_LAST_LOGOUT_ELAPSED_HOURS}Hours since latest player login
%lastloginapi_last_logout_elapsed_days%{LASTLOGINAPI_LAST_LOGOUT_ELAPSED_DAYS}Days since latest player login
%lastloginapi_last_logout_timestamp%{LASTLOGINAPI_LAST_LOGOUT_TIMESTAMP}Timestamp of the latest player logout
%lastloginapi_status%{LASTLOGINAPI_STATUS}Status of the player

If you are using MvdW PlaceholderAPI, you need to use {placeholderapi_lastloginapi_TAG}