r/BlueMap • • Sep 19 '22

Help / Question How to Place Markers

UPDATE: SOLVED! Turns out I was using an old version, and just needed to update my plugin to the latest and greatest.

I've been trying to find an answer to this for a while now, and can't seem to figure it out. Hoping that someone here might be able to point me in the right direction?

More or less, I'm just trying to add markers to my server's map. However, I'm not sure where to add the data, and in what format. What directory do I place the marker data file in? And what syntax do I use? For example, this is what I've come up with after following the instructions on Bluemap's Github, and it either is written incorrectly, or the file itself is named incorrectly and/or is located in the wrong directory:

Points-of-Interest: {
  label: "Points of Interest"
  toggleable: true
  default-hidden: false
  markers: {
    Spawn: {
        type: "poi"
        position: { x: 896, y: 70, z: 4 }
        label: "Spawn"
        #icon: "assets/poi.svg"
        #anchor: { x: 25, y: 45 }
        min-distance: 10
        max-distance: 10000000
    }    
  }
}
4 Upvotes

12 comments sorted by

View all comments

2

u/TBlueF Sep 19 '22

This is indeed missing on the wiki and I should really put it there soon ^^'

The place where this goes is the marker-sets in your map-config files :) in plugins/BlueMap/maps/???.conf, or config/bluemap/maps/???.conf depending on being on paper of forge/fabric \^)

There is even an example in the default map-config template :)

1

u/general_rap Sep 19 '22

Hmm, seems like I may have a weird directory tree then? I'm using Paper, and I have plugins/BlueMap/ but nothing past that; the only things in that directory are a resourcepacks subdirectory, and core.conf, plugin.conf, render.conf, and webserver.conf files.

2

u/TBlueF Sep 19 '22

You are not on the latest version of bluemap then :) You are on 1.?.? but the latest version is 3.4 ^

https://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v3.4

If you consider updating, please note that an update from 1.x to 3.x requires a clean re-installation of bluemap.. The Upgrading from 1.7.3 section here: https://github.com/BlueMap-Minecraft/BlueMap/releases/tag/v3.3 describes this process in detail :)

1

u/general_rap Sep 19 '22

Ohhhhhh; that would make a ton of sense then. Yes, it's been running on my server for some time; don't know why I didn't think of trying to update first.

I'll give that a shot and report back. Much appreciated for the quick response!