Npc's not spawning on server [Need help quickly]

I made a map and in singleplayer the npc’s work fine but when im on my server the don’t spawn. I press the trigger the gate opens but the npc’s don’t spawn.

How do i fix this?

Sounds like something for the mapping forums, not here.
I recommend asking there instead.