Skip to content

Run an "All the Mods 10" Minecraft server with Docker and integrate it with playit.gg for easy access. Includes setup instructions and Docker Compose configuration.

Notifications You must be signed in to change notification settings

FilipRokita/minecraft-atm10-playitgg-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft All the Mods 10 Server and playit.gg in Docker

Overview

This guide explains how to run a Minecraft server for "All the Mods 10" using Docker. It also includes setup instructions for integrating a playit.gg tunnel to allow you and your friends to connect easily.

This configuration should also work with ANY CurseForge modpack by adjusting the server files accordingly.

Disclaimer: Tested with All The Mods 10-0.52 on Ubuntu Server 22.04.

Prerequisites

  • Git, Docker and Docker Compose installed on your server/machine.
  • Basic familiarity with Docker and command-line interfaces.
  • An account with playit.gg.

Setup

  1. Clone the Repository

    • To clone the repository, run: git clone https://github.com/FilipRokita/minecraft-atm10-playitgg-docker
    • To rename the folder to something shorter, run: mv minecraft-atm10-playitgg-docker atm10srv
  2. Download Server Files

    • Download the "All the Mods 10" server files from CurseForge.
  3. Place Server Files

    • Move the downloaded .zip file to the modpacks folder in your project directory.
  4. Create a playit.gg Account

    • Sign up at playit.gg if you don’t already have an account.
  5. Set Up Docker-Based Agent

    • Follow the instructions on playit.gg to configure a Docker-based agent. Obtain your secret key and create a tunnel. This will allow external connections to your Minecraft server.
  6. Configure Docker Compose

    • Add your playit.gg secret key to the docker-compose.yaml file under the playit service's environment section. Replace <INSERT PLAYIT.GG SECRET KEY HERE> with your actual secret key.
    • Replace <INSERT SERVER FILES .ZIP FILE NAME HERE> with the actual name of the server files .zip file you downloaded e.g. Server-Files-0.52.zip.

Getting Started

Start the Server

To start the server in detached mode, run:

docker compose up -d

Note: You must run this command inside the directory where the docker-compose.yaml file is located.

Stop the Server

To stop the server and remove the containers, run:

docker compose down

Note: You must run this command inside the directory where the docker-compose.yaml file is located.

Access Minecraft Server Console

To access the Minecraft server's CLI, run:

docker attach atm10srv-mc-1

Detach from Minecraft Server Console

To safely detach from the CLI without stopping the server, press [Ctrl] + [P] followed by [Ctrl] + [Q].

Uninstall

Remove Folder

To remove the atm10srv folder and all its contents, run:

rm -rf atm10srv

Clear Unused Docker Resources

Warning: This will remove all unused Docker containers, images, volumes, networks, and more. Use with caution.

docker system prune -a

Troubleshooting

If you encounter any issues or have questions, consider consulting the documentation for Docker, playit.gg or itzg's Minecraft Server on Docker.


Date: 2024-09-17
Author: Filip Rokita

Feel free to adjust the commands or configurations as needed.

About

Run an "All the Mods 10" Minecraft server with Docker and integrate it with playit.gg for easy access. Includes setup instructions and Docker Compose configuration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published