Add API to control whether a player affects spawning, credit to @jedediah