// FIXME: last ping time and heartbeat should not be stored in the character data...
long timeBetweenNowAndLastPing = new Date().getTime() - character.getLastPingTime().getTime();
LOGGER.debug("{} Sending Ping to account with account ID: {}", ch, playerData.getAccId());
P001_Ping ping = new P001_Ping();
ch.write(ping);
character.setLastPingTime(new Date());
}, 5000, 5000, TimeUnit.MILLISECONDS);
}