Hi eveyone, I just wanted to know how to get the player location for my plugin. I want that when a player type "/spchest" a chest spawn near the player. I tried with getSpawnLocation and the chest spawns at the spawn of the world ...but i don't know how to spawn the chest near the player (getPlayerLocation does'nt exist in Bukkit :/) Thanks
Oxore99 Sometimes it helps to look at the JavaDocs. http://jd.bukkit.org/dev/apidocs/org/bukkit/entity/Entity.html#getLocation()
I tried with getLocation but it didn't work cause I wrote getServer.getLocation And with only getLocation it works fine! Thanks oh and by the way .. someone know how to allow a player to use the command only 1 time during idk 30min?(it's with timer event or idk??)