Is there a plugin that can tell you when a player has joined for the first time and the last time he joined?
If I recall correctly, its Player#firstPlayed() and Player#lastPlayed() or something similar.
player.get(Keys.LAST_DATE_PLAYED).get()
@JBYoshi and @DotDash, the OP continues to ask if there is a plugin to address this, not how to do it in code.
Anyway, @Skylord_Horus, as far as I know, there is not a plugin for this, but one could certainly be whipped up pretty quickly. I might throw one together…
I requested this for Polis but it seems broken atm
It’s broken? How so?
It happens with any player online for me
What Minecraft version are you on?
SpongeForge 1.8.9 1490 Beta
I’m using that too… try redownloading the Polis jar maybe?
It works, the problem I noticed is that it won’t show their info if they log off and they have to be in a polis to get their information
I’ll fix that soon, thanks for the suggestions
And probably a last login because it’s what OP asked for