MineColonies

MineColonies

53M Downloads

Scan tool: Server side storage

xavierh opened this issue ยท 0 comments

commented

Minecolonies version

Future version

Expected behavior

  • Being able to scan and have it available with the build tool even when using a dedicated server
  • Scan the first position
  • Scan the second position
  • Scan the third time open a gui where the player need to choose the directory and the name
  • enjoy your new decorations

Actual behaviour

  • The scan is done on the server and sent to the client to store on its local hard drive

Implementation

Difficulty: easy to moderate

The scan is already done on the server, I just need to store it on it.
This option will not be on by default. It will be explicitly turn on by editing the config file
Max scan size will be defined in the configuration file too to prevent big scan.

The directory where to store the nbt will not be a free text input, the list of available directories for storage will be provided by the server (in order to avoid some security problem), the list of available directory is up to server admin for instance if we were to use buildings as a base directory, the server admin could create:

  • buildings
    • huts (for custom huts) not usable by the player but the admin could add his custom huts in it see #486
    • decorations
    • Walls
    • Monuments
      Only decorations, Walls and Monuments would be available to choose from for the player
      If the name already exist a number will be appended i.e. using the stonewall when stonewall.nbt and stonewall-1.nbt already exist. the server should save it under stonewall-2.nbt

Directory structure might need a rethink with the building style feature

Need #487 Build tool: should use server side nbt files to be implemented first to be useful


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.