Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 thank(s) in 37 post(s)
The destroyed ore should turn into bedrock instantly. About the chunk thing: I recently solved a lot of problems in plugins regarding chunks. It shouldn't be that difficult making a timer for each ore block. Needs a lot of resources though.
Posts: 66
Threads: 5
Joined: Oct 2014
Thanks: 9
Given 11 thank(s) in 6 post(s)
There is made a region for wich respawn will be activated. Outside that region respawn will not work. Timers will be minutes.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
You can't really use timers for this, because what if the server is restarted? You'd lose all the respawn info then. You need to store the destroyed blocks (SQLite?) and load them up from time to time to process them.
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 thank(s) in 37 post(s)
I think it's doable. But I also think, that we have to extend our API to get more flexibility for the devs
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
No, you would have mined the diamond if the obsidian had not spawned.