You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On startup you would open the Java Edition Server, run the chunk pregen command, transfer them over to FerrumC using a docker volume and every minute or so import the region files in the docker volume into the FerrumC database.
Alternatives you've considered.
All the other options like doing direct API calls to Java Edition, will take much longer to implement, and also potentially mess up the rust code base. The main point of this would be to get you 40% of the benefits of worldgen while being hackable in 1-2 days.
Additional Context
fractalhuman on the discord
I have confimed that...
... such a feature does not exist already.
... I ticked all the boxes without reading them
... such a feature request has not been submitted already.
The text was updated successfully, but these errors were encountered:
Super quick mock of what the docker compose might look like:
services:
ferrumc:
hostname: ferrumcbuild:
context: ./dockerfile: ./Dockerfilevolumes:
- ./volumes/import_world:/app/importports:
- "25565:25565"command:
# TODO: Way to get it to run the ./ferrumc --import every 5 minutes or so, probably just set up a cron job in opening command
- "./ferrumc"java-mc:
image: itzg/minecraft-servervolumes:
- ./volumes/import_world:/data/regionrun:
# Execute commands /chunky radius 2000 and /chunky start. or equivalents
- "idk what command this would be"```
If you wanna PR a docker file and update the readme I'll merge it but we won't spend much development time or offer much support on it since streamlining the import process is pretty low down on the list of stuff to get done
Yeah that makes a lot of sense, I might just throw together something really basic, import an example world from a CDN during the build and just proceed from there.
I am in process of making a docker image for this server and other servers that are rust based here but the problem is that currently ferrum doesn't support RCON currently which makes a bit harder to support, but I would have to build RCON support into ferrum before I can continue.
Is your feature request related to a problem?
If someone is wanting to quickly spin up FerrumC to see the new features, or from browsing on reddit. The current process for this looks like:
cp
the files over to the import directory.Describe the solution / feature you'd like.
An extremely ugly option to this would be to automate this pipeline with a docker compose, consisting of FerrumC, and a traditional minecrat docker image like https://docker-minecraft-server.readthedocs.io/en/latest/
On startup you would open the Java Edition Server, run the chunk pregen command, transfer them over to FerrumC using a docker volume and every minute or so import the region files in the docker volume into the FerrumC database.
Alternatives you've considered.
All the other options like doing direct API calls to Java Edition, will take much longer to implement, and also potentially mess up the rust code base. The main point of this would be to get you 40% of the benefits of worldgen while being hackable in 1-2 days.
Additional Context
fractalhuman on the discord
I have confimed that...
The text was updated successfully, but these errors were encountered: