Geyser icon indicating copy to clipboard operation
Geyser copied to clipboard

Custom entity tracking range

Open Lotzyprod opened this issue 2 years ago • 1 comments

What feature do you want to see added?

Spigot have options to show specified entity types in specified range around player (trackingRange) I suggest to add same feature to Geyser, because client has a large lags with high amount of entities (even if they are in caves) Lags are happening not only on mobile devices, also on PC (I think its client problems). Of course, we are talking about servers with an increased spawnrate.

For example: if tracking range for monsters is 128 - its cause lags but if tracking range is 48 - all is good

Are there any alternatives?

First alternative - decrease values of tracking range in spigot config, but this will also affect java players (not cool) Second alternative - decrease spawn rates, but this will also affect all gameplay (not cool) Third alternative - handle sent packets , cancel send packet PacketPlayOutSpawnEntity by distance between player and entity. Every % ticks check entities around player and send PacketPlayOutEntityDestroy if entity is too far and send PacketPlayOutSpawnEntity if entity close

Lotzyprod avatar Jul 11 '22 16:07 Lotzyprod

We talked about this internally - I think this sort of thing would be better done on the server end as opposed to Geyser's since the server is already doing tracking range.

Camotoy avatar Jul 11 '22 16:07 Camotoy

Closing as not planned based on Camo's response.

Kas-tle avatar Mar 19 '24 05:03 Kas-tle