Hey! I have a resource that I have been using for a while. I am afraid I do not understand if you want to disable it globally or just in some locations but I am pretty sure you can do both with this.
If you do want to disable it globally just make the safezone the size of the map.