Bobby

Bobby

4M Downloads

[Enhancement] Add the ability to selectively disable on-disk caching for certain servers, and/or on-disk caching entirely

akemin-dayo opened this issue · 0 comments

commented

Certain types of servers, particularly older servers put through protocol translators like ViaVersion or ViaProxy do not (and likely will never) function correctly with Bobby's on-disk caching.

Specifically, the issue lies in the fact that multi-world information is completely unavailable when connecting to servers older than 1.16, as that information had not been added to the Minecraft protocol yet.

As a result, when switching between multiple worlds (or even servers, in the case of ViaProxy or some servers using Velocity/Waterfall), incorrect cached chunks can load in areas they are not supposed to, because Bobby incorrectly interprets all chunks for a given server (with no multi-world information) as all belonging to the same world.

Because of this, adding a feature to selectively disable on-disk chunk caching for specific servers would be very useful — Bobby can instead rely solely on keeping chunks in memory in this scenario (like Farsight).

Additionally, I think it would also be a good idea to add an option that just completely disables on-disk chunk caching for all servers as well.