AdminCmd

281 - userData-Files - Infos

What version of the plugin are you using?
5.11-SNAPSHOT Dev Version

What version of CraftBukkit do you use?
git-Bukkit-1.0.1-R1-29-gb4d325e-b1708jnks (MC: 1.0.1) (Implementing API version 1.0.1-R2-SNAPSHOT)

Please provide any additional information below:

I'm using the userData-Files to show some Information on a webpage.
Now it would be nice if there can be an info like lastDisconnect. So I can say lastConnect and lastDisconnect and can see if the player is online or last seen.

An other thing is the lastLoc[ation] info.
At the time this seems to be broken, because it's not updated and shows an old position.
If this works again, could it be possible to update these informations at a specified intervall (from config file)? I don't want live infos, but every x-minutes would be great.

Thanks in advance.

User When Change
Lathanael Jan 14, 2012 at 11:17 UTC Changed status from Replied to Fixed
MrCPU Jan 12, 2012 at 08:34 UTC Changed status from Waiting to Replied
Dark_Balor Jan 11, 2012 at 19:04 UTC Changed status from Replied to Waiting
Dark_Balor Jan 11, 2012 at 19:03 UTC Changed assigned to from Dark_Balor to Lathanael
Dark_Balor Jan 11, 2012 at 19:03 UTC Changed status from Waiting to Replied
Lathanael Jan 11, 2012 at 16:23 UTC Changed status from New to Waiting
MrCPU Jan 11, 2012 at 10:30 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of Lathanael Lathanael Jan 14, 2012 at 11:17 UTC - 0 likes

    LastDisconnect added. You'll find it the infos tree! (As soon as Balor has updated the DEV Snapshot ;))

  • Avatar of MrCPU MrCPU Jan 12, 2012 at 08:34 UTC - 0 likes

    Hi, thx for the info.

    @Lathanael I thought lastLoc is the last location a player stand on logout, sry my fault. So it's the Multiverse-Portal spawn point. Seems legit. :)

    @Dark_Balor I noticed it, because I have wondered why I have it 2 times on my file and other users don't have it. ;)

  • Avatar of Dark_Balor Dark_Balor Jan 11, 2012 at 19:03 UTC - 0 likes

    I changed were the lastLoc is stored.

    It's in the info field :

    infos:
      lastConnection: 1326308514794
      totalTime: 139365205
      foodLvl: 20
      firstTime: false
      immunityLvl: 150
      presentation: blah
      lastLoc:
        world: world
        x: 357.28125
        y: 72.0
        z: 264.375
        yaw: 57.899883
        pitch: -17.699966
    
  • Avatar of Lathanael Lathanael Jan 11, 2012 at 14:38 UTC - 0 likes

    Will see id i can add the lastDisconnect ;)

    About the lastLocation: It is used to save the location a user was before he teleported to another location so he can, if he has the permission, use the /back command to teleport back to that old location.

    It is not supposed to and never will show the location a player is at and update this with an intervall.

  • 4 comments

Facts

Last updated
Jan 14, 2012
Reported
Jan 11, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0
Component
Core

Reported by

Possible assignees