Posts: 681
Threads: 26
Joined: May 2014
Thanks: 0
Given 8 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: 0
Given 0 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,486
Threads: 176
Joined: Jan 2012
Thanks: 40
Given 158 thank(s) in 839 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: 0
Given 8 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,468
Threads: 57
Joined: Jul 2012
Thanks: 12
Given 18 thank(s) in 106 post(s)
No, you would have mined the diamond if the obsidian had not spawned.