i own a small smp server (1.17.1 paper) which is doing fine with a few skripted features like a replacement for "Better Sleeping" which is popular for reducing the player count required for skipping the night, prefixes without the addition of essentials and ect. it's being going really nice so far except random crashes occasionally which cause memory leaks that remove people's homes from "/sethome", resets player's inventory's and/or chests that have been interacted with to an earlier state and worst of all it also doesn't save the .log file so i can't view the crash report and see what caused the crash. this doesn't seem like a tps or ram issue, they're both doing well (20tps and often 600mb-1010mb/1064mb of ram being used up)
is there anything i can do to prevent or at least minimize the amount of crashes?