Archy-X / AuraSkills

The ultra-versatile RPG skills plugin
https://aurelium.dev/auraskills
GNU General Public License v3.0
245 stars 96 forks source link

AuraSkills performance impact on server #338

Open cloakfox opened 6 days ago

cloakfox commented 6 days ago

Server software and version

Paper 1.21.1

Expected behavior

To have a minimal impact on server performance, 1 or 2% max of server mspt

Actual behavior

2024-11-24_15-43

on some our games (with 50-ish players online) auraskills likes to easily take 6% of the server tick (mspt)

This issue seems to be related with ProtocolLib too.

We use ProtocolLib (v5.3.0-SNAPSHOT-732) and AuraSkills 2.2.6 on Paper 1.21.1

How to reproduce

see above

Additional information

Let me know if more information needs to be supplied.

Agreements

cloakfox commented 6 days ago

2024-11-24_16-03

Hyronymos1337 commented 6 days ago

We have the same performance issues, if you knock down AdvancedEnchantments you will see that AuraSkills takes a lot of performance.

https://spark.lucko.me/Y43IcjdB0h