mcaselector icon indicating copy to clipboard operation
mcaselector copied to clipboard

Filter unmodified chunks

Open judebert opened this issue 4 years ago • 5 comments
trafficstars

I'd like a filter that detected chunks that have been modified by players. Ideally, this would compare to either a seed-generated chunk or a different saved chunk.

This is a feature request, not a bug.

judebert avatar Jul 08 '21 01:07 judebert

Even with the same seed ore and stuff are generated differently, since a separate RNG and seed source is used there. I believe the InhabitedTime filter mostly meets your use case.

Artoria2e5 avatar Jul 17 '21 08:07 Artoria2e5

I had the same problem so wrote this for my server: https://github.com/TheMrEngMan/SaveBlockStats

TheMrEngMan avatar Jul 19 '21 05:07 TheMrEngMan

Even with the same seed ore and stuff are generated differently, since a separate RNG and seed source is used there. I believe the InhabitedTime filter mostly meets your use case.

It mostly does, although I had a few counterexamples when I upgraded. I had a lot of area where users made no changes, but had spent a lot of time (chatting or killing mobs, I suppose). I also had a few places where users rushed in, made a few changes, and rushed out (looting chests and building tunnels). Neither a 10 sec nor a 10 min InhabitedTime truly met my needs.

judebert avatar Jul 22 '21 21:07 judebert

InhabitedTime = "0"?

Matej-Hajek avatar Aug 04 '21 06:08 Matej-Hajek

That will work for unvisited chunks, but does not work for visited-but-unmodified chunks (for instance, where users went to a common location and just chatted for 10 min but did nothing else).

judebert avatar Oct 20 '21 18:10 judebert