Mine reset

I have a few inquiries about mine reset I can’t find answers to elsewhere...

1) if a player is in a mine when the reset happens, what happens?
2) in order to reset the mine, does an admin have to do it manually otherwise the auto command plugin, or is there an added occasion mine reset in the plugin
To answer the questions
1. The player will be teleported to spawn since the mine is resetting to prevent them from suffocating.
2. You can have a madcommand code that can reset all mines at a specific time period combining it to run with auto command. Or you can just have auto command and have it run every command separately at different time periods.