Disable damage in certain parts of the world?

eu
- in Worlds
4

Is there a way to completely disable vanilla damage in certain regions of the world with Minecraft? If necessary, I would still have Worldguard, but would be reluctant to use it.

Al

Give resistance 255

Ma

I'm not very familiar with Vanillin Command, but I think it would be possible to make a command block with a radius that determines the player and then constantly reveals his heart.

Gr

I think that works with worldedit

eu

No, then with Worldguard and I didn't really want to use that.