package admincommands;
import org.apache.commons.lang3.StringUtils;
import com.aionemu.gameserver.model.gameobjects.VisibleObject;
import com.aionemu.gameserver.model.gameobjects.player.Player;
import com.aionemu.gameserver.utils.chathandlers.AdminCommand;
/**
* @author Estrayl
*/
public class Coords extends AdminCommand {
public Coords() {
super("coords", "Shows the targets current coordinates.");
}
@Override
public void execute(Player admin, String... params) {
VisibleObject target = admin.getTarget() == null ? admin : admin.getTarget();
sendInfo(admin, StringUtils.capitalize(target.getName()) + "'s position:\n" + target.getPosition().toCoordString());
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
1 |
![]() |
100,792 |
2 |
![]() |
58,079 |
3 |
![]() |
51,771 |
4 |
![]() |
36,923 |
5 |
![]() |
35,011 |
6 |
![]() |
29,969 |
7 |
![]() |
29,470 |
8 |
![]() |
29,077 |
9 |
![]() |
28,199 |
10 |
![]() |
17,020 |