Requires the library mod Collective.
This mod is part of The Vanilla Experience.
Automatic Doors is a minimalistic configurable mod which automatically opens doors around the player and closes them with a delay. The doors will only be closed if the player isn't near after opening. By default iron doors will also be opened, but you may change that in the config.
doorOpenTime (default = 2500, min 0, max 10000): The time in ms the door should stay open.
shouldOpenIronDoors (default = true): When enabled, iron doors will also be opened automatically.
preventOpeningOnSneak (default = true): When enabled, doors won't be opened automatically when the player is sneaking.
The effect in action: