Please refer to this github issue: https://github.com/Quix0r/AbandonedRuins/issues/4
My mod supports excluding whole surfaces from spawning any ruins. To do so, please add this code to your Init.Player() function:
if script.active_mods["AbandonedRuins_updated_fork"] then
remote.call("AbandonedRuins", "exclude_surface", sandboxForceName)
end
You might have to remove script.active_ as Factorio maybe doesn't support global script during that function invocation? Sometimes it is confusing ...