MV Map camera Boundaries?

Been something that I've kinda wanted for a long time, but haven't really needed persay.

The way maps are framed naturally when you don't have any extra space is nice, the camera stays bounded, you don't waste screen space when the player is on the edge of the map with a black void, etc. But, if you're using a map for multiple interiors, or have a non-square map, or do the thing I tend to do where I keep all the sprites that I'd use for cutscenes outside player view by extending the map length, the camera will be able to escape these comfy confines.

Basically, what I'm asking is if there's a plugin out there for MV/MZ that allows you to put down, say, a region boundary that the camera can't cross even if there's more map to technically see beyond it?

Something like what this thread is talking about in the 6th post:
I know and use plugins to control the camera but it's kinda way too fiddly to have individual controls for each room in a single-mapped mansion/house/dungeon. Being able to use regions to set up a map boundary would be nice.
there is a plugin that has a zelda map effect on the edge, but not
exactly boundries in that kind.

making region as boundries can be harder to achieve and most likely
not possible unless you can tell not to go further than x and y as a part
of "a boundary".

it really depends what exactly you want to achieve and what exact
purpose the camera should have for the desire effect.

there might be work around that might work better?
Hm, I imagine you could get regions to work if you also know how many tiles the resolution you pick
goes in any given direction, couldn't you? As in, while player is X tiles or less away from any tile with a regionid 99, freeze camera from moving further in X direction? Or is it just not possible to have that info?

I suppose if a plugin that did that existed it would have popped up in my google search.

Original thread: https://forums.rpgmakerweb.com/threads/map-camera-boundaries.137223/