Open hirata-estate opened 2 years ago
Technically there isn't zero gameplay impact as players wouldn't be able to afk mob farms. I agree however that this would be a useful option for bigger SMP servers.
Technically there isn't zero gameplay impact as players wouldn't be able to afk mob farms. I agree however that this would be a useful option for bigger SMP servers.
I added view distance for more configuration, but I'd personally use it just for no-tick view distance. My server has 4 normal view-distance (now simulation distance) and 8 for no-tick. I could set the no-tick to 4 for AFK players.
Love the idea of this being configurable, and I already give AFK players on my server guidance to be close to their farms so they don't run up against Paper's despawn settings anyway, so not much would change for them while getting us a performance boost maybe.
Something to add onto this, would be super cool to just set per-player view distances if possible. It would allow players who have a slower/weaker connection to not need to receive so many chunks, as well as other related things like bedrock players (through geyser) not needing to have so many chunk packets translated to them
my sugeestion instead of through an essentialsx hook would be to be able to use placeholderapi placeholders so you can use essentialsx pla eholder or cmi placeholder but in general the idea of afk players not loading as many chunks is a very good one
This is better as a standalone plugin : https://github.com/KaiijuMC/AFKViewDistance
Configurable view distances for afk players, via hooking with essentials. Would be an insane amount of performance increase for
very littlezero gameplay impact.