4.0 KiB
4.0 KiB
AstraDeploy Usage Guide
Quick practical examples for each supported core.
Common rules
-
For interactive mode use:
sudo bash install.sh --easy --core <core> -
For automation/bot mode always add:
--yes --accept-license yes -
For Java cores also add:
--accept-eula yes -
Always choose service mode explicitly for repeatable behaviour:
tmux-systemd(recommended UX)systemdscreennone(prepare only)
Java cores
Paper (--core paper)
-
Beginner:
sudo bash install.sh --easy --core paper --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core paper \ --dir /opt/minecraft/paper \ --service systemd \ --ram 4G \ --port 25565 \ --accept-eula yes \ --accept-license yes \ --firewall yes \ --locale en
Purpur (--core purpur)
-
Beginner:
sudo bash install.sh --easy --core purpur --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core purpur \ --dir /opt/minecraft/purpur \ --service tmux-systemd \ --ram 4G \ --port 25565 \ --accept-eula yes \ --accept-license yes \ --firewall yes \ --locale en
Velocity (--core velocity)
-
Beginner:
sudo bash install.sh --easy --core velocity --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core velocity \ --dir /opt/minecraft/velocity \ --service tmux-systemd \ --ram 2G \ --port 25577 \ --accept-eula yes \ --accept-license yes \ --firewall yes \ --locale en
PowerNukkitX (--core powernukkitx)
-
Beginner:
sudo bash install.sh --easy --core powernukkitx --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core powernukkitx \ --dir /opt/minecraft/powernukkitx \ --service systemd \ --ram 2G \ --port 19132 \ --accept-eula yes \ --accept-license yes \ --firewall yes \ --locale en
Bedrock PHP cores
PMMP (--core pmmp)
-
Beginner:
sudo bash install.sh --easy --core pmmp --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core pmmp \ --dir /opt/minecraft/pmmp \ --service tmux-systemd \ --port 19132 \ --accept-license yes \ --firewall yes \ --locale en
NetherGamesMC (--core nethergamesmc)
Supports additional options:
-
--build— PHP build tag (latestor concrete tag). -
--mc-version— PocketMine-MCPE tag (latestor specific). -
Beginner:
sudo bash install.sh --easy --core nethergamesmc --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core nethergamesmc \ --dir /opt/minecraft/nethergamesmc \ --service screen \ --build latest \ --mc-version latest \ --accept-license yes \ --firewall yes \ --locale en
Recommended bot-facing step stream
When reporting progress to users in a bot, send these checkpoints:
- "preflight"
- "package install"
- "core download/build"
- "service configured"
- "finished"
You can use script output or report callback events:
startedstepsuccessfailed
BDS (--core bds)
-
Beginner:
sudo bash install.sh --easy --core bds --service tmux-systemd -
Non-interactive:
sudo bash install.sh \ --yes \ --core bds \ --dir /opt/minecraft/bds \ --service systemd \ --mc-version latest \ --accept-license yes \ --firewall yes \ --locale en
Notes:
--mc-versionfor BDS means Bedrock server version (example:1.21.3.01) orlatest.
Update mode
Use for replacing files on an existing server directory:
sudo bash install.sh \
--update \
--core <core> \
--dir /opt/minecraft/<core> \
--yes \
--accept-license yes
For Java cores add --accept-eula yes.