CommandHelper

CommandHelper

46.5k Downloads

Get info for offline players

LadyCailinBot opened this issue · 4 comments

commented

CMDHELPER-2960 - Reported by VergilPrime

Like pinfo() but should return info from an offline player. Info should include lastseen, lastloc, uuid, inventory, enderchest, and any other data inside the player's individual save file.

commented

Comment by kookster

I believe the current pinfo() just wraps bukkit functions. I believe those functions don't support pulling that info for offline players.

commented

Comment by Алексей.Положенцев

is it possible to create funtion that will read .dat files in playerdata folder? Isn't it a way to acquire offline player's info?

commented

Comment by PseudoKnight

You can read in the file yourself, if you want. CyaNox created and shared some generic procedures to read NBT files for this purpose.
http://paste.thezomg.com/12765/98352721/

commented

Comment by kookster

That's pretty cool PseudoKnight.