Cuberite Forum

Full Version: How to get Player coords ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey community. I am writing a plugin that teleports you to desired location(set by the user) but i am having some problems the first one is that i cannot find a way to get the players coords . Any Ideas ?

Thanks in advance
Dominent
http://api-docs.cuberite.org/cPlayer.html
GetPosX
GetPosY
GetPosZ
GetPosition
Thanks for the reply i have another question how can i handle the name of the home the user enters and how can i store it ?

http://pastebin.com/qnwUFwbv
The plugin exists Homes
Get it and read code