Getting and Setting player coords

Discussion in 'Plugin Development' started by inventorman101, Dec 24, 2012.

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

    inventorman101

    How do you set a players location and save it, and then teleport to it?
     
  2. Offline

    fireblast709

    • get the location
    • store it in a variable (like a HashMap) or store the x, y and z in the config (Configuration API)
    • player.teleport(otherLocation)
     
Thread Status:
Not open for further replies.

Share This Page