BlueMap

BlueMap

85.1k Downloads

Player head icon is default Steve after updating plugin

alexjabka opened this issue · 7 comments

commented

Hello, I started using this plugin some time ago, it's great. But after switching to 1.19.3 and updating the plugin, all player icons has become default Steve... I see all the icons in /bluemap/web/assets/playerheads generated from before the update and they don't get loaded up or recognised by the plugin.
image

I'm also using a plugin to generate playerheads PNGs and put it in /bluemap/web/assets/playerheads*, could it be the problem? It works fine and generates player icons as usual, but bluemap doesn't use those icons. I tried turning it off, no change. For some reason BlueMap stopped generating icons for all users (premium too). The setting to download skins is set to true.

commented

The location where the player-images are stored changed in the latest version..
Did you follow the How to upgrade notes in the release-notes when updating bluemap?
Especially: Did you delete your ./bluemap/web/index.html so bluemap updates the webapp?

I'm also using a plugin to generate playerheads PNGs and put it in /bluemap/web/assets/playerheads*

This plugin will no longer work if it didn't get updated to BlueMap's latest version.

commented

Actually, you probably did update the webapp.. (or else player markers wouldn't be showing at all) 🤔
As i can not reproduce this, please provide more info on how to reproduce this..
Or even better: Join our discord so we can troubleshoot this together, more effectively :)

commented

Hmm.. I kinda I fixed it by turning server from offline mode to online.

image

In previous versions the behavior was like this: BlueMap would generate icons for Offline players in playerUUID.png format. Though it would all be Steve icons it didn't matter as another plugin I use would replace those icons with proper ones where it's not just Steve face.

Now it doesn't generate anything for offline players nor it's trying to display what's inside playerheads folder, it defaults to Steve when offline mode is on.
Any way to change this behavior to how it was before?

commented

Closed, I found where player head icons are stored now (bluemap/web/maps/world/assets/playerheads). They moved it inside maps folders.

commented

Where are they stored in the Forge version though? I can't find them anywhere.

commented

@alexjabka BlueMap never had working player-skin-icons if the server was in offline-mode. Neither for offline nor "premium" players. This must have been your addon all the time, no wonder it wasn't working then ^^

@DanielVip3
Playerhead Icons are stored separately for each map in its map-folder .. or if you use sql, then in the sql-database. This is the same place for all platforms. Usually you shouldn't need to touch those tho, the API now provides a very good way to interact with them and change the skin-provider or image-generation.

If you have more questions, use our discord please. This is a really bad place for support :)

commented

Thank you, I got help on discord. That addon is outdated but still works, It generates icons for offline players and puts them where bluemap stores player head icons, I just had to change the path to new one.

image

I know it's 8x8 icons when bluemap makes fancy 48x48. It's ok for now.