Start Server options #332

Closed
opened 2022-04-02 00:20:15 +00:00 by Sirherobrine23 · 0 comments

when starting the server it could have an option to run for example inside a container (docker) instead of on the host or even in the chroot (proot) on Android.

this would be an alternative to being able to run the Minecraft Bedrock server inside the termux proot or even in a docker container.

a quick example:

core:

export async function Start(config?: {
  runOn: "chroot"|"docker"|"host";
}) {
...
};


CLI:

...
yargs.option("runOn", {
  alias: "R",
  choice: ["chroot", "docker", "host"],
  type: "string",
   default: "host"
})
...
when starting the server it could have an option to run for example inside a container (docker) instead of on the host or even in the chroot (proot) on Android. this would be an alternative to being able to run the Minecraft Bedrock server inside the termux proot or even in a docker container. a quick example: core: ```js export async function Start(config?: { runOn: "chroot"|"docker"|"host"; }) { ... }; ```  CLI: ```js ... yargs.option("runOn", { alias: "R", choice: ["chroot", "docker", "host"], type: "string", default: "host" }) ... ```
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-bds/Maneger#332
No description provided.