Skip to content

Minecraft Client Mod for serving player position #125

@TechnicJelle

Description

@TechnicJelle

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.conflive-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions