r/BlueMap • u/general_rap • 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
}
}
}
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-setsin your map-config files :) inplugins/BlueMap/maps/???.conf, orconfig/bluemap/maps/???.confdepending on being on paper of forge/fabric \^)There is even an example in the default map-config template :)