I am currently using this
public void onMessage(Message message) throws java.lang.InterruptedException{
if(message.getType() == Message.MessageType.PLAYER){
String text = message.getMessage();
to grab player messages form the chat. Howeve I need to grab players names in addition to their message. How could I do this?