Skip to content

About

Docker image for running Better Than Adventure server.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Better than Adventure! — Docker Server

Files

File Purpose
Dockerfile Builds the BTA server image
docker-compose.yml Runs and manages the container
server.properties Game/server settings

Quick Start

# 1. Build and start (detached)
docker compose up -d --build

# 2. Follow live logs
docker compose logs -f bta-server

# 3. Attach to the server console (type commands directly)
docker attach bta-server
# Detach with Ctrl+P then Ctrl+Q

# 4. Stop gracefully
docker compose stop

Connecting

Use the Better than Adventure! client (v7.3_04 or matching) to connect:

  • Address: <your-host-ip>:25565
  • online-mode is set to false by default so cracked/offline accounts can join. Set to true in server.properties for authenticated (premium) play.

Updating BTA Version

  1. Check the latest release at https://www.betterthanadventure.net/downloads/
  2. Edit BTA_VERSION in docker-compose.yml
  3. Rebuild: docker compose up -d --build

Memory Tuning

Edit JAVA_OPTS in Dockerfile or override it in docker-compose.yml:

environment:
  JAVA_OPTS: "-Xms1G -Xmx4G -XX:+UseG1GC"

Also update the deploy.resources.limits.memory to match.

World Persistence

World data lives in the bta_world Docker volume. To back it up:

docker run --rm -v bta_world:/data -v $(pwd):/backup \
  busybox tar czf /backup/world-backup.tar.gz /data

Port Forwarding

To allow external players, forward TCP port 25565 on your router to your host machine.

Warning

This whole repository was autogenerated with Claude Sonnet 4.6. I have no idea if that's how the Docker image should be build and run with docker-compose. I just needed a way to quickly running the minecraft server without having to open SSH every single time and keep it running. If you have any concerns, please let me know. Also, you need to download the server file on your own to build it.

About

Docker image for running Better Than Adventure server.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages