kangarko / Boss

Premium custom monsters plugin with skill system, natural spawning and lots of sickest features!
https://www.mc-market.org/resources/21619/
77 stars 28 forks source link

LAG 1.16.5 #1257

Closed enderylmz closed 1 month ago

enderylmz commented 1 month ago

Boss plugin creates lag on my server and I cannot solve it in any way, please help me, I am using the latest version of the plugin.

https://timings.aikar.co/dev/?id=b4aa89c4f47c4693a87b18e52fe1382f

kangarko commented 1 month ago

Unfortunately Paper's /timings report is inconclusive because I cannot expand the section with the most lag. In some cases it even reports false data. Please install spark and provide us a link to a full spark report. Thank you!

enderylmz commented 1 month ago

https://spark.lucko.me/fscwGWXyDM

enderylmz commented 1 month ago

I've never seen a developer give bad support from you before, you haven't even responded for a few days and you closed it saying the problem was solved.

kangarko commented 1 month ago

We close tickets not because they are done but merely for organizational purposes. Yes this is a hobby project and while I try to respond as quickly as possible sometimes it might take a few days.

kangarko commented 1 month ago

Screenshot 2024-07-24 at 11 57 13 I had a look at the report. The lag comes down to two sources, first one is persistent metadata api, the second is getting live entities. Both reside in Bukkit and I already try to resolve the issue with paper years ago to no avail (apart from "make your own implementation garbage advice): https://github.com/PaperMC/Paper/issues/2125

For the metadata api, I have added a cache so we avoid creating a new namespaced tag each time. You should see a performance increase in the next version.