for (AutoRefTeam team : match.getTeams())
{
boolean canBuild = !team.hasFlag(block.getLocation(), AutoRefRegion.Flag.NO_BUILD);
boolean canEnter = !team.hasFlag(block.getLocation(), AutoRefRegion.Flag.NO_ENTRY);
if (canBuild && canEnter) team.addGoal(new BlockGoal(team, block));
}
break;
// this is the tool built for setting start mechanisms