So, I use world guard and world edit on my server. There are two command options for blocking spawns: "/rg flag (name) mob-spawning deny / allow">...
Separate names with a comma.