HeroOfTheWinds wrote:The reason the bones stay fresh that long is because time spent with the chunk un-loaded isn't counted. In other words, you have to be in the vicinity of the bones for 20 minutes, not have the server running for 20 minutes. And it can be any player, not just the owner.
(Or at least that's my understanding of it... Also, not sure, but perhaps when the base game was replaced with Minetest NeXt, the bones broke..........)
Actually it is the opposite - on_timer() function provides "elapsed" time from last on_timer call, if timer is set to 10 and chunk is loaded, elapsed is always 10, but it can be more if chunk was unloaded. Original bones code have counter, to count complete time together
meta:get_int("time"), but someone forgot to increase that counter.
Because of this, bones are marked "old" only when they are unloaded more than for 1200 seconds and that is why spawns usually are full of bones.
I forked and fixed that mod for my server needs
Here, but i also added some other features, so i cannot ask PilzAdam to merge it.