Get/Set Player Location

Discussion in 'Plugin Development' started by Kr1sc, Jan 14, 2011.

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

    Kr1sc

    How do we get/set player location with the new API?
     
  2. Offline

    Ben S

    player.getLocation()
    player.teleportTo()
     
  3. Offline

    Kr1sc

    Works for me. Was looking for a "setLocation," figuring if I had found it then getLocation would exist.

    By the way, is there a replacement for canUseCommand?
     
  4. Offline

    Ben S

    As far as I know (I'm not fully up to date on this rapidly moving project) there is no centralized permission system. I do believe there is a plugin someone wrote that handles permissions, but I haven't looked into how to integrate your plugins with it (or if it's possible).
     
  5. Offline

    Kr1sc

    This brings up an issue, should there be a page on the Wiki devoted to such questions? Or at least a sticky?
     
Thread Status:
Not open for further replies.

Share This Page