How to make it so you only see from a character's peripheral vision?

Tried searching a bit and couldn't find anything. Basically, I want to make it so that the game displays only the character's peripheral vision. Kind of like a flashlight, but I also want it so that if the player looks away from a light source, that light source will not be able to be seen unless the player looked at it again. You also wouldn't be able to see behind walls, and the "brightness" would change across areas to signify darker or lighter areas. Is something like this possible, with a plugin or something?

For context, I'm developing a horror game, and I thought this would be a nice thing to add to it and make it scarier.
Community lighting:
Has a flashlight function. As for the turning off lights you can't see deal, have a parallel event that has lights turn on and off based on player position/facing relative to the lights.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-it-so-you-only-see-from-a-characters-peripheral-vision.154953/