I'd like to suggest this feature, because I cannot find any fabric mod what does this and from my observing of the fabric modding scene this should totally be possible and easy to implement for people which are into the fabric-api (I'm unfortunately not). That last point makes me scratch my head, because no one did this so far and its an essential feature for servers running on low specs with very fluctuating player numbers.
I really like your mod and think this feature would fit perfectly here.
I've found a Spigot plugin (GitHub) which does exactly what I want and I think the most sane way is to try implementing it described this way:
You can also set minimum and maximum view distances for each world. In effect, this means higher view distances with lower player counts, and lower view distances with higher player counts.
I'd like to suggest this feature, because I cannot find any fabric mod what does this and from my observing of the fabric modding scene this should totally be possible and easy to implement for people which are into the fabric-api (I'm unfortunately not). That last point makes me scratch my head, because no one did this so far and its an essential feature for servers running on low specs with very fluctuating player numbers. I really like your mod and think this feature would fit perfectly here.
I've found a Spigot plugin (GitHub) which does exactly what I want and I think the most sane way is to try implementing it described this way: