A friend has a modded minecraft server running on 1.12.2, and for a very long time has had this problem where at some point people already on the server will be fine, but no one will be able connect until the server restarts. The people trying to join always get a io.netty exception of some kind.
My friend has tried for a long time to figure this error out, but after not finding any solutions, just has the server automatically shutdown and restart every few hours.
With no other solutions, this error shows up in the server logs, so I'm trying to make a small mod that notifies players and marks the server for restart when it detects the error in the logs.