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

Minecraft Java: Access Server Data #10

Open
TechSaiyajin opened this issue Sep 4, 2023 · 6 comments
Open

Minecraft Java: Access Server Data #10

TechSaiyajin opened this issue Sep 4, 2023 · 6 comments

Comments

@TechSaiyajin
Copy link

Hello and many thanks for the great addon.

Is it possible to define the location of the Minecraft world?
It would be nice if I could copy existing worlds.

Have a nice day

@williamcorsel
Copy link
Owner

williamcorsel commented Sep 5, 2023

For the bedrock version, all worlds are located in the /addons/hamc-server-bedrock/data/worlds folder. You can copy other worlds into this folder. Then, you can select the level by name in the config options or the /addons/hamc-server-bedrock/data/server.properties file.

@TechSaiyajin
Copy link
Author

Thank you very much for the quick answer,

but this is not the case with the Java version?

@amzaldua
Copy link

Where is stored the Java version files, please?

@williamcorsel
Copy link
Owner

The underlying docker container has places its data in the hardcoded /data folder (https://docker-minecraft-server.readthedocs.io/en/latest/data-directory/). This directory is private to the container filesystem and thus not accessible from the outside. You could try to access the container data by using the Portainer add-on

@amzaldua
Copy link

Okay, I got it. Thanks for your quick response.
Would it be possible to change the data folder to, for example, /addons/hamc-server-java/data?

@williamcorsel
Copy link
Owner

Not easily. This feature should be implemented here: https://github.com/itzg/docker-minecraft-server

@williamcorsel williamcorsel changed the title Minecraft Minecraft Java: Access Server Data Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants