Imprex-Development / orebfuscator

Orebfuscator - High-Performance Anti X-Ray plugin
https://modrinth.com/plugin/orebfuscator
GNU General Public License v3.0
126 stars 25 forks source link

Internet band usage line overrun #351

Closed ForClipso closed 7 months ago

ForClipso commented 8 months ago

Description

There is a lot of line usage on my server because of this plugin. I tried them all individually and this plugin increases it a little. I wonder if there is a performance or package problem in my configuration, could you please send me the optimised version. Sincerely.

image

Reproduction Steps

I download the plugin and install it on my server. Internet band usage line rises. I remove it from my server and the internet bandwidth usage line drops a little bit.

Expected Behaviour

Not using too much internet bandwidth.

Orebfuscator Dump

Orebfuscator Dump Protocolib Dump Orebfuscator Config

Extra Details

No response

Ingrim4 commented 7 months ago

Chunk packets will get bigger since obfuscation is mostly random and increases the chunks block palette that is fact that I can't change. I however have added a new option in the latest version (5.4.3) called layerObfuscation (in the obfuscation section) which in theory should improve packet sizes slightly. I also switched from sending single-block update packets to multi-block in the proximity hider which might also improve network usage.

ForClipso commented 7 months ago

Chunk packets will get bigger since obfuscation is mostly random and increases the chunks block palette that is fact that I can't change. I however have added a new option in the latest version (5.4.3) called layerObfuscation (in the obfuscation section) which in theory should improve packet sizes slightly. I also switched from sending single-block update packets to multi-block in the proximity hider which might also improve network usage.

Thank you for your help. Problem solved.