Solved How to get the last world a player was in?

Discussion in 'Plugin Development' started by Sabersamus, Jul 25, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Sabersamus

    So what I need is a way to check the last world a player was in before they logged out?

    Why? A friend of mine wants to create an admin tool to modify player.dat, but he doesn't know how to handle which one(as there is one for each world) and I can't figure out how to do it :(
     
  2. Offline

    soulofw0lf

    actually the player info is only kept in your default world.
     
  3. Offline

    Sabersamus

    ah, good :) Thanks!
     
  4. Offline

    soulofw0lf

    however if for whatever reason you do en up needing it in the future just have a listener for log out and kick events and save their world to a config
     
  5. Offline

    Sabersamus

    Yeah, I thought about that but he was very persistent with using player.dat
     
Thread Status:
Not open for further replies.

Share This Page