Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow root/parent folder for heightmap folder #2496

Open
braceyourself07 opened this issue Nov 25, 2023 · 6 comments
Open

Allow root/parent folder for heightmap folder #2496

braceyourself07 opened this issue Nov 25, 2023 · 6 comments
Labels
Enhancement New feature or request

Comments

@braceyourself07
Copy link

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 braceyourself07 added the Enhancement New feature or request label Nov 25, 2023
@dordsor21
Copy link
Member

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

@braceyourself07
Copy link
Author

braceyourself07 commented Nov 26, 2023

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
Copy link
Author

It still produces the same error:

image

@dordsor21
Copy link
Member

Do you allow symbolic links in worldedit-config?

@braceyourself07
Copy link
Author

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.

@dordsor21
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants