Last time since login.

Is there a way to see when a player has last logged in {or the last player to log in/log out} so that you can see which backups you can delete since you don't want to keep super old backups where players weren't even connected, Id like to keep backups where players have been active in the server. I know about (https://www.spigotmc.org/resources/plan-player-analytics.32536/) but want to know if there is anything easier than that, I'm on pterodactyl paper.
4 Replies
Admincraft Meta
Admincraft Metaβ€’6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by h_x_c#0
Eternal
Eternalβ€’6mo ago
essentialsx has /seen
Kaludi
Kaludiβ€’6mo ago
You could use coreprotect instead of checking for last login per player, with coreprotect you can check how long it’s been since a specific place has been edited/changed, etc
cal
calβ€’6mo ago
Bukkit#getPlayer#getLastPlayed using the UUID of the player, assuming you know it...

Did you find this page helpful?