if (!match.getCurrentState().inProgress() || match.isPlayer(player))
match.broadcast(match.colorMessage(event.getJoinMessage()));
event.setJoinMessage(null);
match.sendMatchInfo(player);
match.setupSpectators(player);
// only clear inventories and give books if before match or not a player
if (match.getCurrentState().isBeforeMatch() || !match.isPlayer(player))
{