Allright, so, i tried playing on a fabric modded server, ran into issue of really slow chunk loading so i decided to pregen some odd 50k chunks using "Fabric Chunk Pregenerator".
Now i cannot login into the server with an error message: Internal Exception: io.netty.handler.codec.DecoderException:java.lang.IndexOutOfBoundsException: readerInderx(31) + lenght(1) exceeds writerIndex(31): PooledUnsafeDirectByteBuf(ridx:31m widx:31. cap:31/32).
After i got this error i loaded a backup and i could join back in, so my assumption was that the pregen probably loaded too many chunks for the server to turn on now, so should i pregen less, or should i just not bother doing so at all?
I am using the Medeival Mc fabric V5 modpack, only thing i added was the world pregen, so that addition could also be what is not letting me turn join the server now. Altough i have no idea.
EDIT: Managed to log onto the server right as it loaded, but once i logged out and tried to get back it would not work showing the same error message