Control the light level that mobs spawn!
/gamerule mobSpawningLightLevel
Only needs to be installed on the server!
This mod adds /gamerule mobSpawningLightLevel that allows changing the light level at which hostile mobs can spawn. This allows mobs to spawn only in complete darkness or in a completely lit area!
Mobs can only spawn at light level 0
Mobs can spawn at light level 7 and below (same as normal)
Mobs can spawn at light level 10 and below
Mobs can spawn at any light level