BlockProt

BlockProt

17.2k Downloads

[Bug]: Plugin causes server lag

CaesarGalahad opened this issue · 4 comments

commented

Version of BlockProt

1.2.1,leaf1.21.1

Description of the bug

Plugin causes server lag
HopperEventListener causes severe lag

SERVER INFO
BlockProt version 1.2.1
Server version leaf 1.21.1

INFO
a402bf36c247c806fa28899061dfe0e3
a402bf36c247c806fa28899061dfe0e3
26384d767051c77fadeb9fcf32565936

Steps to reproduce

Plugin causes server lag
HopperEventListener causes severe lag

Additional context

No response

commented

Yes, I know, it's not really optimized.

The only way to fix this is by rewriting the core of the plugin to use a slightly different mechanism for reading/writing data which should drastically help with performance. However, I just don't have the time to write that and test it, mostly because I have more important things to look after and I don't get anything from this project. I am currently only fixing bugs and updating to new versions, since that's fairly trivial.

I'll still leave this open as it's a valid issue that needs to be worked on in the future.

commented

Same here, it seems to only happen when hopper minecarts are sucking items from a chest. Brings down server TPS from 20 to 16.
Screenshot 2024-09-03 at 10 43 58 AM

commented

I recorded a video of a super smelter becoming a literal toggle-able lag machine:

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.