makign server with spwan opts