Reference

CLI arguments

Command-line options for the endstone launcher.

The endstone command starts and manages your server. Run it with no arguments to launch the server in the current directory (downloading or updating Bedrock Dedicated Server as needed); add options to change where it looks, how it answers prompts, and whether the interactive console is enabled.

endstone [OPTIONS]

Options

OptionArgumentDefaultDescription
-s, --server-folderpathbedrock_serverFolder that holds the Bedrock server and all its data, relative to the working directory.
-y, --no-confirm, --yes-offAssume yes for every prompt. Use this for headless or automated runs so the download / update steps don't block waiting for input.
-r, --remoteURLhttps://raw.githubusercontent.com/EndstoneMC/bedrock-server-data/v2Base URL the launcher fetches Bedrock server data from. Override only if you mirror that data yourself.
-i, --interactive / --no-interactive-on (Windows), off (Linux)Enable or disable the interactive console where you type server commands. Disable it when running under a process manager that owns stdin.
--version--Print the Endstone version and exit.
--help--Show the help message and exit.

The interactive console

With --interactive, Endstone replaces Bedrock's bare input line with a richer console. You get a > prompt where you type server commands (stop, allowlist add, op, and so on), plus the conveniences you'd expect from a modern shell:

  • Command history - press the up and down arrows to recall and re-run earlier commands.
  • Line editing - move the cursor, edit mid-line, and clear the line without retyping it.
  • A stable prompt - the > stays pinned at the bottom while log output scrolls above it, so what you're typing never gets shredded by incoming log lines.

It's on by default on Windows and off on Linux, since a server started by systemd or another process manager has no terminal attached to read from. Turn it off with --no-interactive when piping commands in from a script or running under a supervisor that owns stdin; turn it on with --interactive when you run the server directly in a Linux terminal and want the prompt.

Examples

Start a server in a custom folder:

endstone --server-folder my-server

Run unattended - accept the BDS download / update prompt automatically:

endstone -y

Run on Linux under a service manager with the interactive console on:

endstone --interactive

On this page