-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player heads in vault and server freeze #372
Comments
crap, I just found it that 4.0.6 is only for 1.13, maybe it was the real cause, I will switch to 4.0.5 and leave this here in case it happens again. |
If you could produce an error and perhaps show your plugins and a timings report I might be able to help at least identify what's causing it. Also, the changes in 4.0.6 should only be affecting vault signs. |
Can you give us the exact contents of the inventory, your playervaults .yml file that contains this player's inventory, log files showing this, or any info on how to reproduce exactly. |
I have a sneaking suspicion this may be an issue with a player head plugin, perhaps one that allows the users to "redeem" them for money or something along those lines. |
I checked that player's vault, vault number 3 is filled with player heads. |
I did some testing on my test server with 1.8.8 and 1.12.2 PaperSpigot's, I didn't get any lag other than client end with 1.8.8, however, on 1.12.2 my server and client did hiccup a bit during the first opening of the vault. It might be an issue with how 1.9+ handles player heads. |
Yeah just tested that vault and it gave me a little bit of a delay in populating the heads in the inventory. Not sure what the best way to handle this would be.. |
You could try adding the items to a load-queue if they're an instance of a skull. Load them in packs of 5 or something. |
Perhaps, I would be concerned that we'd be open to dupes during that save window though. |
You could mark them as in a vault, load the skulls, then open the inventory? It might add some delay but it'd most likely fix it. |
PlayerVaultsX version: 4.0.6
Server software: 1.12.2
Details: Server sometimes freezes when a player use /pv [number], after checking the player vault, there were filled with heads (maybe the main cause?)
*I removed the paper watchdog log and timings because it was soooooo long (and pretty much not necessary).
The text was updated successfully, but these errors were encountered: