MoreMaterials (aka SpoutMaterials) Causing Lengthy dynmap loading
Recently got morematerials running on the server and added a couple large morematerial files. Portal and Roads. I've noticed it takes dynmap 1-2 seconds per block to load. After adding far too many requested blocks, my server went from roughly 15-20 seconds to start to nearly 5 minutes with 283 blocks.
Other than removing the new spout blocks, any other thoughts to decrease start up time?
I'm not sure MM is the issue here - we have around 540 blocks and dynmap loads up just fine.
However, I don't seem to get the blocks showing on the map, so maybe I have my own issue :P Does it take that long to start every time?
Any plugin I have that adds blocks to spout for the server, dynmap renders. Example: HomeBlock adds 3 (or 4) blocks. I don't use this plugin currently since it hasn't been updated to fix itself.
Yes, every time. Last time I looked, we had around 280 spout blocks. I honestly thought dynmap would have a cache system for these files.
Hmm fair enough, hopefully its fixed soon then :P A couple of good fixes would be either a cache so it only does it the first time, select which blocks we want to show (so blocks that aren't going to be above ground eg ores wouldn't show anyway) or even just loading them after the server finishes loading
Combination of the two, caching and loading after startup, would seem good. When it loads them after server startup, it can check through any changes on each block and make updates/changes and add newly added blocks. Compared differences in from run one to run two if the image is a different file size, or modified date is different.
This was addressed a while back - sorry for not closing.