Skip to content

TalePanel installer flags (install.sh)

The installer is scripts/install.sh in the repository. Run it without flags for the interactive menu, or with flags for unattended installs:

Terminal window
sudo bash <(curl -fsSL https://raw.githubusercontent.com/BitaceS/talepanel/main/scripts/install.sh) [flags]

bash install.sh --help prints a short summary. Every mode except check must run as root.

Flag Meaning
--quick Quick setup: panel and daemon on this host, sslip.io hostname (or --domain), no questions. Prints a link and a one-time setup code; the admin account is created in the browser. Cannot be combined with --mode other than both.
--mode panel Install the control plane: API, web, PostgreSQL, Redis, Caddy with TLS.
--mode daemon Install the node agent that runs Hytale servers. Needs --panel-url and --enrollment-token.
--mode both Panel and daemon on the same host. The local daemon is enrolled automatically.
--mode upgrade Pull the latest code, rebuild and restart whatever is installed in /opt/talepanel and /opt/taledaemon.
--mode uninstall Stop containers, delete their volumes, remove /opt/talepanel and /opt/taledaemon. Keeps /srv/taledaemon.
--mode check or --check Pre-flight checks only. Changes nothing. Does not need root.

Without --mode, a menu offers panel, daemon, both, upgrade and uninstall.

Flag Meaning
--domain <name> Public domain for the panel. Needs an A or AAAA record pointing at the host. Let’s Encrypt certificate.
--ip-only No domain. Builds an sslip.io hostname from the public IP (from api.ipify.org). Let’s Encrypt certificate.
--no-domain No domain and no sslip.io. Caddy serves the raw public IP with a self-signed certificate. Browsers warn. For offline and lab setups.

Without any of these, the installer asks.

Flag Meaning
--admin-email <email> Email of the owner account. Used to log in.
--admin-username <name> Username of the owner account.
--admin-password <password> At least 12 characters with one digit and one symbol.

Missing values are asked for interactively.

Flag Meaning
--profile solo Single-host setup (default).
--profile hoster Hosting provider setup.

The profile is stored as DEPLOYMENT_PROFILE in the panel’s .env. In v0.10.0-beta all feature modules are visible by default either way; see Install on a VPS.

Flag Default Meaning
--panel-url <url> asked The panel’s URL, for example https://panel.example.com.
--enrollment-token <token> asked Single-use token from Nodes → Add Node. Valid for 15 minutes.
--daemon-host <host> public IP from api.ipify.org Address the panel uses to reach this daemon.
--daemon-port <port> 8444 Port the panel uses to reach this daemon.
--insecure-tls off Skip certificate checks for calls to the panel. Only for panels installed with --no-domain, over a network you trust.
Flag Default Meaning
--repo-url <url> https://github.com/BitaceS/talepanel.git Git repository to install from.
--branch <name> main Branch to check out.
--panel-dir <dir> /opt/talepanel Panel install directory.
--daemon-dir <dir> /opt/taledaemon Daemon install directory.
Flag Meaning
--yes, -y Do not ask for confirmation.
--help, -h Print the usage summary.

The installer checks its inputs before using them: domains, URLs, ports, UUIDs and tokens must be well-formed. Env files are written without sed, and JSON is built with jq.

--admin-password is visible in the process list and shell history of the host while the installer runs. Leave it out to be prompted instead.

Path Content
/opt/talepanel/deploy/panel/.env Panel secrets and settings, mode 600. Kept if it exists.
/opt/talepanel/deploy/panel/Caddyfile Generated from the template with your hostname.
/opt/taledaemon/deploy/daemon/.env Panel URL, node ID and node token, mode 600.
/srv/taledaemon/ Server data, backups and offline binaries, mode 700.

All in one with a domain:

Terminal window
sudo bash install.sh --mode both --domain panel.example.com \
--admin-email you@example.com --admin-username you \
--admin-password 'Correct-Horse-Battery-4!' --yes

Panel without a domain:

Terminal window
sudo bash install.sh --mode panel --ip-only \
--admin-email you@example.com --admin-username you \
--admin-password 'Correct-Horse-Battery-4!' --yes

Extra game host:

Terminal window
sudo bash install.sh --mode daemon \
--panel-url https://panel.example.com \
--enrollment-token '<token-from-panel>' --yes

Pre-flight check only:

Terminal window
bash install.sh --check
TalePanel

Built by BitaceS · sudowl.com · Partner:HytaleTalk

Free forever · AGPL-3.0 · Not affiliated with Hypixel Studios. · Impressum · Datenschutz