Locate your ObjectHandler.java and find this:
Code:
public static void handleOption(final Player player, InputStream stream, int option) {
And under that, add something like this...
Code:
player.getPackets().sendGameMessage(player.getDisplayName() + " clicked object id " + object.getId() + " at " + object.getX() + ", " + object.getY());
You can also send the message in the console like this...
Code:
System.out.println(player.getDisplayName() + " clicked object id " + object.getId() + " at " + object.getX() + ", " + object.getY());
If you're using the in-game message, you might want to make it check if the player is an administrator.