Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

888k Downloads

Markers.yml & Favicon

128912891289 opened this issue ยท 16 comments

commented

Issue Description: Sometimes the dynmap won't start because of this issue.

  • Dynmap Version: 3.2-beta-1-470
  • Server Version: Paper version git-Paper-"e04368045" (MC: 1.16.5)
  • Pastebin of Configuration.txt: https://pastebin.com/KBwJpL2M
  • Server Host (if applicable): Pebblehost
  • Pastebin of crashlogs or other relevant logs: https://pastebin.com/kLCUcm5f
  • Other Relevant Data/Screenshots: https://pastebin.com/5wjjMrnk
  • Steps to Replicate: I tried manually removing a marker that had no name that was located at 0,0. I also tried copying over part of the base markers.yml file but that didn't seem to work. I also am not sure with how to get a custom favicon. Thanks again.
commented

aparently your yml got changed, it is valid now, restart to see. the dynmap icon needs to be an ico, not a png

commented

Where exactly is the indentation problem? I tried using the tool that the console suggests whenever I got the error, but I don't understand where it's talking about.
Whenever I changed the web/images/dynmap.ico file is just changes it to the empty icon symbol:
image
Thanks!

commented

That marker is the spawn marker set visible in configuration.txt, you have an indentation problem in the markers yml, also, changing the favicon is done by editing the web/images/dynmap.ico file.

commented

Okay, the markers.yml file got fixed! But the dynmap icon doesn't seem to be working. Currently I do have it as a .ico file labeled as dynmap/web/images/dynmap.ico
Thank you!

commented

but is it an actual ico or did you change the extension?

commented

I just used an online .png to .ico converter. Is there something more that I have to do for it?

commented

as far as I know it needs to be a real ico, could be the online converter just altered the extension, this one in this zip works:
dynmap.zip
extract and place it in the web/images folder, then start the server, it should show like this:
image

commented

I just tried that and it didn't seem to work. It still shows the same default thing as before.

commented

is there any log in the f12 console about the loading of the icon?
could be it is a pebblehost issue, not sure, but the icon works for me.

commented

It does show this in the console:
image

commented

Did you check the file permissions? (The file should have the same user:group as the one that runs the Minecraft server

commented

I'm not sure what you mean.

commented

you can try to backup and delete the web folder and let dynmap regenerate them

commented

It still didn't work.

commented

did you change the name at all and check whether the user that runs the dynmap server can access the ico file?

commented

closing comment due to no reply, and inability to reproduce on my end.