FastAsyncWorldEdit icon indicating copy to clipboard operation
FastAsyncWorldEdit copied to clipboard

Allow root/parent folder for heightmap folder

Open braceyourself07 opened this issue 2 years ago • 6 comments

What feature do you want to see added?

In config.yml there is Paths.heightmap: "heightmap" indicating a folder that contains png images of heightmaps. You can utilize these files to make a height brush with the command:

//brush height file://cliff.png

And FAWE will respond with the confirmation "Equipped brush height"

I run multiple servers and would like to only have one heightmap repository. So I would like to be able to put this in config.yml:

Paths.heightmap: "/heightmap"

(I have a folder called "heightmap" that is mounted in each server's root folder, all pointing to the same directory). But it will not recognize it.

image

I understand that it is likely set up this way for safety, but for running several building servers it would be a lot more effective if I could have all of the servers read from the same parent folder.

Are there any alternatives?

I'm going to experiment with symlinked folders in the /plugins/FastAsyncWorldEdit folder to point to a folder outside of the server root. But it would be convenient to just have the ability to do it in config.yml

Anything else?

No response

braceyourself07 avatar Nov 25 '23 15:11 braceyourself07

does it not work if you do ../../../heightmaps or something?

dordsor21 avatar Nov 26 '23 12:11 dordsor21

You know I didn't even think to try that. Using /schematics worked, so I assumed it would work with heightmap. I'll give it a go and report back.

braceyourself07 avatar Nov 26 '23 15:11 braceyourself07

It still produces the same error:

image

braceyourself07 avatar Nov 27 '23 03:11 braceyourself07

Do you allow symbolic links in worldedit-config?

dordsor21 avatar Nov 27 '23 08:11 dordsor21

I don't see a setting to allow symbolic links in worldedit-config. Our individual servers are each on their own container (using pterodactyl) and we have any shared folders mounted. Looking in the server container I don't see any symlinks, so I don't know if that's the method it's using to mount that folder. But using /schematics in worldedit-config.yml does work and all the servers point to a common schematic folder.

braceyourself07 avatar Nov 27 '23 12:11 braceyourself07

I'm assuming it's that it's a symbolic link meaning it's not working. Is it a hard or soft link?

dordsor21 avatar Dec 17 '23 10:12 dordsor21