Separate names with a comma.
Comments in 'Plugin Development' started by Asparanc, Feb 25, 2015.
How can i get the coordonate of the block who was break by the player ?
Please give example.
This might help you:
Yes but i need the script to add in my plugin.
Before see it i think it's
Correct. However, most of the time you don't need to use getX() because the Block returned by getBlock() already represents the whole coordinates, so you can just save the Block directly, rather than separating getX().
I just want save the coordinates in $x $y and $z
How do you want to use it?
-Save it in file.yml ( one part of my plugin)
-Set map protection ( if $x >100 $event->setCancelled(true) for exemple)
Thank , I did not know xD
x) you know that now
Yes we always learn: p
You need to separate xyz fire the save, but not for other uses.
i know getX() getY() and getZ()