added config for mobSpawn checking.