13 Replies
Please use a paste service next time!!
https://mclo.gs/vVf67ey
Requested by <@126412044168724480>
(file was truncated because it was too long.)
I see you're only using this:
I'd recommend using these flags in your startup script
https://docs.papermc.io/paper/aikars-flags
Aikar's Flags | PaperMC Documentation
Recommended JVM Startup Flags
After using flags if crash still persists, pls share a spark report
https://spark.lucko.me/
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
just drop the jar in with ur plugins, should always have this installed (paper even recommends this as ur server is starting up)
alright i done so i updated it ill report back if it happens again. Just a quick question tho is there a way to inplement auto restart script in this bat code?
batch? so im assuming ur using windows?
by auto restart, do you mean like a timed restart, or auto restart as in it will attempt to restart after crash?
yes im using windows and i mean auto restart on crash im using my pc as a server to host my mc server aka selfhosting
this is a script i used before @echo off
cls
echo This script will keep your server running even after crashing!
title Minecraft WatchDog
:StartServer
start /wait java -Xmx4G -jar forge-server.jar nogui -o true
echo (%time%) Server closed/crashed... restarting!
goto StartServer
altho with 10gb of ram
i found it on net but just to say server crashed before this scrip was inplemented
so im assuming this didnt work?
batch files arent really good for crash detecting
this will only work if the process ends
no it worked
but server kept crashing ather like 5 min
yeah u need ur flags
the flags will help u an insane amount
i see thank you do you have a page where i can learn about them what they do becouse i just heard of them
o nvm i just saw its in the link you already sent me
Paper build 40's commit message is
Move some Folia API to Paper for easy compat
. I'm pretty sure this build was borked because build 41 was Revert "Move some Folia API to Paper for easy compat"
. Your error was from io.papermc.paper.threadedregions
, which is part of the Folia API. Simply changing startup flags won't fix this.
Try using paper build 43 (latest) or try using build 41.Thank you bouth. Hopefully with a tips you provided me my server wont crash any mroe 😊