Re: Teaching myself code, need plugin suggestions.
Posted: 26 Nov 2011, 05:23
For the string you would put the stuff you need in it, ie, for the player name you use
To get the x, y and z to a double use
You could make all these different variables like
What IDE are you using? Eclipse?
Code: Select all
event.getPlayer().getName();
Code: Select all
event.getPlayer().getLocation().getX();
event.getPlayer().getLocation().getY();
event.getPlayer().getLocation().getZ();
Code: Select all
double playerX = event.getPlayer().getLocation().getX();