#Impact on deluxe tags performance
1 messages · Page 1 of 1 (latest)
No help?
considering it's only the join listener, it probably isn't a big issue
you probably have too much players in your yml file so it reads a big file which causes issues
you can set disable_join_load or something like that in config
but that will make it not load on join but when player first chats
however that will make it not appear in your sccoreboard/tab (if you use it there)
until the player chats
consider deleting the player data in deluxe tags
weird that it loads the entire file on join, I would have loaded everything in a hashmap on startup and taken the value once the player joins
yes, but only load the YML file on plugin load
which causes the issue
not everytime a player joins
saving the large files also cause lag spikes iirc
🤷
and deluxe tags saves lot of times
@strange rose ☝️
Also, whats the size of your data file? (just to make sure)
Hello!
Thank you very much to both of you for answering, I send you a screenshot so you can see the weight of the file.
@fleet monolith
ahhh 2.6Mb
i have a small test
you can maybe stop the server
rename that player_tags.yml to player_tags2.yml (so its not used and a new one is created)
start the server, if on join there is no lag spike
its because of that (the time it takes for it to load)
doing what i mentioned above would technically help as if its loaded in chat event
as its async chat event, might not impact the server
however, it will eventually do the same
how many people there is in your server?
Hello sorry
20-40 users