#[minecraft]loose inventory on server restart

37 messages · Page 1 of 1 (latest)

loud dune
#

when i stop or close the server it auto restarts back up and console says it detected a crash yet no log nor a crashreport is made afterwards
after troubleshooting using ai it told me to access support as i couldnt find the culprit for the issue myself

#

everytime this happens all player inventory data seems to clear

#

i have inventoryrollback installed atm so its not permanent but earlier on today it was and most of my players lost their items because of it and ive been troubleshooting since.

#

ai told me to contact support to see if i can disable the auto startup thing again etc

#

this happens when i try to use /stop on the server or restart on the panel page
and when i press stop on the panel it actually stops but still clears the inventories.

#

i have no idea which plugin or what setting or whatever i mightve modified is doing this but I truly seek for help as my server is currently at a downtime..

tardy mortar
#

Hey there, first of all I’d like to recommend to stay away from “AI” or LLMs as they tend to not give accurate information. Remember, their goal is to make text that seems correct, but there is no direct pressure to make it factual.

The file you sent cuts of the important bits. Can you please have the server “crash” as you said, then once it’s fully stopped (it might auto restart a few times, just cause the issue again after a few tries it should stay stopped) then send the “latest.log” file here?

#

!llogs

trail grailBOT
#

Please send some logs over so we can help resolve your issue. To access logs on your Minecraft server, please navigate to your server panel's File Manager and take the following path:

1. Open the Server's File Manager
2. Navigate inside the 'logs' folder
3. Click on "latest.log" to download it and send the file over Discord to this channel.
tardy mortar
#

[minecraft]loose inventory on server restart

loud dune
#

i dont think that log file would help ill try making it crash again

#

and in console it says it detected a crash and auto started up again.
again no crash report in the folder for it therefor i dont know what is causing this

loud dune
# loud dune and in console it says it detected a crash and auto started up again. again no c...

this is the full log from start to stop and then console sends this :
[Panel]: Server marked as offline...
[Panel]: ---------- Detected server process in a crashed state! ----------
[Panel]: The server crashed. Please scroll up to see the error message or view the full crash report.
[Panel]: Memory before crash: 2372 MiB of 13476 MiB
[Panel]: Exit code: 0
[Panel]: Updating process configuration files...
[Panel]: Downloading latest PaperMC.
[Panel]: Ensuring file permissions are set correctly, this could take a few seconds...
[Panel]: Server marked as starting...
[Panel]: Pulling Docker container image, this could take a few minutes to complete...
[Panel]: Finished pulling Docker container image
[Panel]: Starbase Setup running.. Revision: 1.8
[Panel]: Managing log directory: /home/container/logs
[Panel]: Managing log directory: /home/container/crash-reports
[Panel]: Java Version: (21)
[Panel]: Starting server: java -Xms128M -Xmx12288M -Dterminal.jline=false -Dterminal.ansi=true -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -jar PaperMC-1.21.8.jar

#

and my inventory clears right after

tardy mortar
#

Inventoryrollbackplus is giving errors right on shutdown when it’s supposed to be saving data. I highly suspect the plugin is causing the issues

#

Remove the plugin and see if that solves it

loud dune
#

inventoryrollbackplus i added AFTER the inventories got cleared to prevent it from being irreversible
its the only reason the majority of my players still have their inventories

#

i added inventoryrollback plus and some skript failsafes to prevent it from happening again but it still does if its a plugin it cant be inventoryrollback

#

if i removed it right now i will genuinly lose the remaining data it has saved

#

i cant really take that risk right now and it doesnt seem like thats the issue either

tardy mortar
#

The crashed state is explainable. You used /stop in game, so the panel doesn’t know you wanted it to stop and is probably confused

tardy mortar
loud dune
#

okay but howcome my inventories are getting cleared everytime it restarts

loud dune
#

also doesnt explain why this was happening before i added it

tardy mortar
#

Is it just player inventories being wiped, or do other things also roll back, like blocks placed/destroyed?

loud dune
#

just inventories

#

I believe its one of the plugins i have added but im not sure on which because launch today was genuinly fine until i had to restart to add something and then it cleared for some people and now when i do it again it clears everyone online

tardy mortar
#

That’s really odd to be honest. I don’t really see much else in the logs that might indicate where it’s going wrong.

The only assumption I can make is a plugin. But not sure which one

tardy mortar
loud dune
#

sounds good

#

the culprit is between globalitemsblocker and itemsblocker and openinv

#

globalitemsblocker is the culprit
no idea why i even had it there i wasnt using it weird why it caused my inventories to clear tho

#

@tardy mortar Appreciate your help this is resolved Thanks!