ViewDistanceTweaks icon indicating copy to clipboard operation
ViewDistanceTweaks copied to clipboard

Suggestion: Configurable view distances for afk players. (EssentialsX hook)

Open hirata-estate opened this issue 4 years ago • 6 comments

Configurable view distances for afk players, via hooking with essentials. Would be an insane amount of performance increase for ~~very little~~ zero gameplay impact.

hirata-estate avatar Oct 30 '21 07:10 hirata-estate

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.

JustBru00 avatar Dec 20 '21 13:12 JustBru00

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.

hirata-estate avatar Dec 20 '21 13:12 hirata-estate

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.

josephrooks avatar Dec 29 '21 21:12 josephrooks

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

ZorudaRinku avatar Dec 30 '21 00:12 ZorudaRinku

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

xsmeths avatar Jan 13 '22 10:01 xsmeths

This is better as a standalone plugin : https://github.com/KaiijuMC/AFKViewDistance

  • View distance change cause server/client to use less ram and bandwith => More RAM / Bandwith
  • Simulation distance change cause server to ping less chunks => Better TPS

sofianedjerbi avatar Feb 28 '23 02:02 sofianedjerbi