if (match.isPlayer(pl) && !pl.isOp())
{
AutoRefPlayer apl = match.getPlayer(pl);
for (Player ref : match.getReferees(true)) ref.sendMessage(apl.getDisplayName() +
ChatColor.DARK_GRAY + " attempted to log in with a modified client!");
match.leaveTeam(pl, true);
}
// update a referee with the latest information regarding the match
if (match.isReferee(pl)) match.updateReferee(pl);
}