Share Map-Item over Servers

Discussion in 'Systems Administration' started by KleinCrafter, Jun 18, 2019.

  1. Hi,
    I plan to update my Server from Multiworld plugin with 8 maps to BungeeCord with 8 Servers.
    No Problem: Configuration done, InventoryBridge Plugin works, all work fine.

    My Problem was the Map Items (
    How do I share the same maps over all servers?

    My current Idea was linux bash commands like this:

    Code (Text):
    # don't work, I know only to understand what I meen
    mv /home/user/worlds/*/data /home/user/worlds/*/own_data/

    # create shared data folder
    mkdir /home/user/data/

    # change dir to short the commands
    cd /home/user/data/

    # create symbolic link for data folder in all world dirs
    ln -s /home/user/data/ /home/user/worlds/*/data

    # add relative symbolic links for there own contents
    ln -s ../own_data/Mineshaft.dat .
    ln -s ../own_data/scoreboard.dat .
    ln -s ../own_data/Stronghold.dat .
    ln -s ../own_data/advancements .
    # ...

    Is there a better way to share the map over the servers?
    I allredy use the search/google but don't finde anything to this topic...