The current spawnprotect is flawed.
First of all, it is too long. On small maps like darkness, 3 seconds of spawnprotect is enough to get to the enemy base if you spawn near the middle.
Second, it is too powerful. There have been numerous times where a person spawns in front of me and kills me within a second or two (and if I'm holding a grenade, the explosion doesn't do anything to them). Meanwhile, (if I am still alive) I am stuck trying to run away from them because I can't do any damage.
I have three suggestions:
1) Spawnprotect should be shorter. Even on large maps, 1.5 seconds is more than enough. On smaller maps, it should be something like 750 ms.
or 2) The map should be able to specify the length of spawnprotect. I'm not sure if this is possible, but it would be nice if the duration could change based on the map.
and 3) Spawnprotect should be disabled as soon as the spawned person attacks.
Someone pointed out on #redeclipse what wallrunning generates kicks, and this would disable spawnprotect. It can be fixed by having it be disabled when damage is done instead of when an attack is performed. However, this still lets the spawner get a few shots off sometimes, so it would be best for spawnprotect to be disabled when a gun is fired, and have kicks leave it active.