How to automatically cofigure a new server

go2null

New Member
HI:

I've dockerized NukkitX and would like to automatically configure the server on first run.

Currently, when the server is started (in an empty directory) it prompts to select the language.

To work around this, I created a stub `nukkit.yml` with just the `language` sub-key.

I would like to know if it is possible to pass in, say, environment variables with the language and other settings.
(Kind of like https://github.com/petemcw/docker-minecraft-server)

Note that this is for a brand new install.
(I am trying to create a vanilla install, without any customizations.)

Note as well that I am new to Minecraft and so this may not even be a useful way of approaching it.

Feedback welcome.
 
Top