AutoModpack icon indicating copy to clipboard operation
AutoModpack copied to clipboard

Provide Client -> Server connection to synchronize map folders (e.g., JourneyMap, Xaero's Map)

Open anggerbudi opened this issue 2 months ago • 1 comments

Motivation

Currently, there’s no proper way to share map data between players, as existing map mods do not provide built-in synchronization — sharing rendered maps still requires manual file transfers between clients. Considering this limitation and Automodpack’s existing feature that allows server-to-client connections, it would be a valuable addition if Automodpack could also provide a client-to-server connection to synchronize the configured map folder. This would allow all clients to automatically receive updated map renders each time an instance is launched.

Description

Automodpack already provides a Server → Client connection for sending configured files and modpack content.
It would be very useful if Automodpack could also support a Client → Server connection that allows clients to upload their map folder
(for example, /journeymap/ or /xaero/) back to the server.
The server could then make that folder available as part of the tracked files Automodpack distributes to clients on instance boot or when connecting to the server.


How It Could Work

  • When the client launches or connects to the server, Automodpack uploads the configured map folder to the server.
  • The server stores the updated map data as part of the modpack’s tracked files.
  • On the next instance boot or server connection, Automodpack distributes the latest version of the map folder to all clients.
  • This ensures all players automatically get the most up-to-date map data every time they start their game or join the server.

Why This Is Useful

  • Keeps all players’ map renders consistent and up-to-date.
  • Removes the need for manual map file transfers.
  • Fits naturally into Automodpack’s existing file sync system.
  • Could later be expanded to sync other client-generated data in the same way.

Example

When a player explores new terrain, their local map files are updated.
The next time they connect, Automodpack uploads those updates to the server.
Then, when other players launch their instances or join the same server, Automodpack automatically syncs and updates their local map folders —
so everyone sees the same explored areas.


Other information

No response

anggerbudi avatar Oct 23 '25 08:10 anggerbudi

It seems good, but I am wondering that whether this could trigger some security issues.

xmbhjQAQ avatar Jan 06 '26 06:01 xmbhjQAQ

I've been looking for this exact functionality for a while; would be very appreciated. Unfortunately Journeymap's file structure makes it not straightforward at all... there would need to be some way to compare and stitch .png files

Nikoskio2 avatar Jan 08 '26 20:01 Nikoskio2