Open jac0b-n opened 1 year ago
There was an issue raised on the parent dynmap repo for this same problem: https://github.com/webbukkit/dynmap/issues/4059
Since there hasn't been any movement on this, I took the time to create a python script that will allow you to use a server console logfile to selectively delete the offending lines from the *-models.txt files in renderdata: https://github.com/eski-dev/dynmap_invalid-modellist_fix I saved the original model text file definitions in a subfolder called "originals" in case I had any issues or needed to restore them for some reason, but you can just as easily temporarily remove dynmap from the mod folder and re-run dynmap-block-scan to regenerate the files. Now instead of Dynmap taking 30 minutes to load on server start and generating over a million loglines, it only takes 30 seconds with no errors or warnings.
dynmapblockscan loads most mods in correctly (some betterend, betternether fail to open blockstate) however all fails when loading into dynmap, all errors of the form [23:40:46] [Server thread/FATAL]: [Dynmap] Invalid modellist patch for box -5.90/0.01/11.90:5.50/5.50/16.20 side NORTH at line 6 etc. server does not crash, but dynmap does not load in any dynmapblockscan models. full log: latest.log
many thanks :)