Help to make a type of "minery"

Hello everyone, first of all thank you for your time.
So, I want to put some events in a map, those events appear randomly with certain appearance in specifics positions of the map and when you interact with them, if you have a specific item, they give you pieces of a certain material depending of the appearance of the event and then they dissapear. After that, I want to make the events comes back to the original state before you consume it after certain time, also that the process in which they appear randomly is repeated. My question is:
Is posible to do this?
And if it's posible, What is the best way to do this?
I know how to do the condition of the item, what i don't so sure is how to make the events appear in that positions randomly and how make the other process. If is there a form or plugin that makes some like this, i would like to know it.
Again, thanks for your time, and sorry if my english is not good or if I'm a noob. 😀
Have a good day! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/help-to-make-a-type-of-minery.74994/