Create a Minecraft client mod that serves the player position in BlueMap-compatible format which the CLI can then hook into, so it can show live player positions even when e.g. BlueMap GUI is used.
Question 1
The mod will have to host its own webserver, but it can't do that on 8100, so I'll have to do something to the BlueMap-CLI instance to look there instead.
Can't really use the webapp.conf → live-data-root option for that either, cause then markers from the map configs won't work.
Question 2
How would the mod know the map IDs to serve the data on the correct paths?
I could make user have to manually provide that info, but I don't like that very much.
A suggested way is to have the GUI run its own webserver to serve information for the mod to use, but that sounds way too over-engineered.
Alternatively, the mod reads the BlueMap GUI settings files (that location is consistent and non-configurable, after all), figures out the location of the projects, and compares the file paths in the map configs to the path of the currently open world.
This also sounds a bit cumbersome, but at least it's not hosting-three-webservers cumbersome.
Create a Minecraft client mod that serves the player position in BlueMap-compatible format which the CLI can then hook into, so it can show live player positions even when e.g. BlueMap GUI is used.
Question 1
The mod will have to host its own webserver, but it can't do that on 8100, so I'll have to do something to the BlueMap-CLI instance to look there instead.
Can't really use the
webapp.conf→live-data-rootoption for that either, cause then markers from the map configs won't work.Question 2
How would the mod know the map IDs to serve the data on the correct paths?
I could make user have to manually provide that info, but I don't like that very much.
A suggested way is to have the GUI run its own webserver to serve information for the mod to use, but that sounds way too over-engineered.
Alternatively, the mod reads the BlueMap GUI settings files (that location is consistent and non-configurable, after all), figures out the location of the projects, and compares the file paths in the map configs to the path of the currently open world.
This also sounds a bit cumbersome, but at least it's not hosting-three-webservers cumbersome.