Chest Tracker

Chest Tracker

728k Downloads

support for symlinked or grouped trackers across multiple servers

diegogarciarojo opened this issue · 1 comments

commented

i’m running chest tracker on several proxy servers all pointing to the same world folder. since each proxy writes its own data file in the same path, every time i open a chest on one proxy i then have to open all chests again on each other proxy to sync the inventory. it’s tedious and easy to forget one, leading to inconsistent data.

proposed solution

add a new config section (e.g. symlink_enabled: true and linked_servers) where you can list all proxies or server instances that should share the same tracker

when enabled, instead of creating separate data files for each server, chest tracker would create a symbolic link (or alias) from each server’s data path to a single master inventory file

optionally support “tracker groups” by ID, so you can batch-apply settings or resets across a group

benefits

open a chest once and have the inventory update everywhere immediately

reduced disk usage and less I/O overhead, since all proxies read/write the same file

centralised, less error-prone configuration for multi-proxy setups

example config

storageSettings:
  openMemoryFolder: true
  storageBackend: nbt
  readableJsonFiles: false

  # new options for multi-proxy symlinked trackers
  symlinkEnabled: true
  linkedServers:
    - 192.168.1.0
    - 192.168.1.1
    - 192.168.1.2
commented

@JackFred2 any news on this?