auto-mcs
Official Docker image for auto-mcs
10K+

Maintained by: Kaleb Efflandt
auto-mcs is and will continue to be a free project for anyone to use. If you feel as though this project has brought you value, please consider donating to the continued development and maturity of auto-mcs. Thank you!
Quick Links: If you need assistance with auto-mcs, you can find support via:
Supported tags and architectures:
latest, beta, any release versionamd64, arm64Image source:
Welcome to auto-mcs! This software provides a simple and easy-to-digest experience for those who want to play Minecraft with their friends without the hassle of server installation & maintenance.
Some notable features include:
server.properties editor for ease of useAlthough optional, our Docker image (and headless mode) is meant as a minimal feature case to host our custom remote management solution, Telepath, and connect from another device using the GUI. You can learn more about the Telepath API on our website.
Otherwise, by using this image as a standalone server, you'll still be able to create any server, tunnel through our playit.gg integration, or edit the "server.properties" file. A Telepath connection is required to add worlds, mods/plug-ins, utilize the custom scripting language, and a lot more useful and advanced functionality.
auto-mcs headless uses commands to interact with it. Once opened, it will bring you to a prompt. Pressing ? at any time will show help for the current command, or sub-command. To set up a basic Paper server, enter the following commands:
server create paper:latest My Server
server launch My Server
You can press ESC to detach from the console and create or launch other servers. To view auto-mcs commands for Minecraft, type !help in the console.
To go back to a server console, you can use the console command.
You can also launch auto-mcs with the --launch or -l flag to start a server automatically:
auto-mcs --launch "My Server, Server 2"
To run auto-mcs with default settings:
env WEB_PORT=8080 WEB_USERNAME='root' WEB_PASSWORD='auto-mcs' \
sh -c 'docker run -d --name auto-mcs \
-e WEB_PORT -e WEB_USERNAME -e WEB_PASSWORD \
-p "$WEB_PORT:$WEB_PORT" -p 7001:7001 -p 25565:25565 \
-v auto-mcs-data:/root/.auto-mcs \
--restart unless-stopped \
macarooniman/auto-mcs:latest'
This command:
Runs auto-mcs in a container
Exposes key ports:
8080 for the TTYD terminal (web interface)7001 for the Telepath API25565 for the default port of a Minecraft serverStores data in a Docker volume named auto-mcs-data
Secures the TTYD instance using the following credentials:
rootauto-mcs⚠️ In order to use this image, you'll have to change the default credentials. To do so, simply modify the WEB_USERNAME and WEB_PASSWORD parameters with the desired credentials.
WEB_USERNAME='U$ern4me' WEB_PASSWORD='P@s$w0rd'Note that binary of both auto-mcs and ttyd are pre-compiled for optimal compatibility. If you'd like to build these from source, please reference the guide below.
To manage auto-mcs with Docker Compose, create a docker-compose.yml:
version: "3"
services:
app:
image: macarooniman/auto-mcs:latest
container_name: auto-mcs
stdin_open: true
tty: true
restart: unless-stopped
environment:
# Default web interface port
WEB_PORT: "8080"
# Change the web interface credentials
# THESE NEED TO BE CHANGED BEFORE RUNNING!
WEB_USERNAME: "root"
WEB_PASSWORD: "auto-mcs"
ports:
# Web interface (make this the same as WEB_PORT)
- "8080:8080"
# Telepath API (auto-mcs)
- "7001:7001"
# Add more ports based on the servers you create
- "25565:25565"
volumes:
- auto-mcs-data:/root/.auto-mcs
volumes:
auto-mcs-data:
To run auto-mcs using Docker Compose, in the same directory run:
docker-compose up -d
After running the container, open your browser and navigate to http://localhost:8080 for access to the TTYD web-based terminal. The default credentials are:
Username: root
Password: auto-mcs
⚠️ In order to use this image, you'll have to change the default credentials. To do so, simply modify the WEB_USERNAME and WEB_PASSWORD parameters with the desired credentials.
WEB_USERNAME: 'U$ern4me' WEB_PASSWORD: 'P@s$w0rd'To ensure your auto-mcs data persists across container restarts, mount a volume:
docker run -d \
--name auto-mcs \
-v auto-mcs-data:/root/.auto-mcs \
macarooniman/auto-mcs:latest
In Docker Compose, the volume is defined as:
volumes:
auto-mcs-data:
This volume will store all configuration files, server data, and back-ups.
Pre-requisites:
After cloning the repositories on Alpine, move to the root of the auto-mcs repository and run the following script to build auto-mcs:
# Install dependencies
apk add python3 py3-pip gcc pangomm-dev pkgconfig python3-dev zlib-dev libffi-dev musl-dev linux-headers mtdev-dev mtdev
# Build auto-mcs
cd build-tools
chmod +x build-docker.sh
./build-docker.sh
After building auto-mcs, move to the root of the auto-mcs-ttyd repository and run the following script to build auto-mcs-ttyd:
# Install dependencies
apk add build-base libwebsockets-evlib_uv bsd-compat-headers cmake json-c-dev libuv-dev libwebsockets-dev openssl-dev>3 samurai zlib-dev
# Build auto-mcs-ttyd
mkdir build && cd build
cmake ..
make && make install
mv -f ./ttyd ../../auto-mcs/docker
After building these binaries, move to auto-mcs/docker and build the Docker image locally with:
docker build -t yourusername/auto-mcs:latest .
If you need to build for different architectures, such as amd64 or arm64, you can use Docker Buildx:
docker buildx build --platform linux/amd64,linux/arm64 \
-t yourusername/auto-mcs:latest --push .
View the Dockerfile used for this image on our GitHub
auto-mcs is licensed under the GPL-3.0 License. Ensure that you comply with the licenses of all dependencies and software included in the Docker image.
Contributions are welcome! You can contribute by submitting issues or a pull request on our GitHub. When submitting a pull request, please follow our Contributing Guidelines.
Please open an issue in our GitHub repository for any bugs or feature requests. We also have a Discord community.
Content type
Image
Digest
sha256:71731539c…
Size
64.3 MB
Last updated
5 days ago
docker pull macarooniman/auto-mcsPulls:
1,192
Last week