Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flloschy/minecraft-fabric-docker

A custom made fabric docker setup including cloudflare tunnel because no docker i tried worked
https://github.com/flloschy/minecraft-fabric-docker

cloudflared minecraft minecraft-fabric minecraft-server

Last synced: 3 months ago
JSON representation

A custom made fabric docker setup including cloudflare tunnel because no docker i tried worked

Awesome Lists containing this project

README

        

# Docker Fabric 1.21 server
A clean Docker based Fabric Minecraft server for 1.21 including cloudflare tunnel

This will create a backup before starting the minecraft server. If there are 10 backups already, it will delete the oldest,

## WARNING
YOUR WILL AUTOMATICALLY ACCEPT THE MINECRAFT EULA! BE AWARE

## configure
### tunnel
set your cloudflare tunnel TOKEN inside `docker-compose.yml`

### mods
download mod files to `./server/mods/`

## start
`docker compose up -d`

## access server console
`docker attach `
(find the container id using `docker ps`)

## connect from outside
### Windows
1. Download cloudflared to your client-system
find the newest `cloudflared-windows-amd64.exe` from https://github.com/cloudflare/cloudflared/releases/

2. start the tunnel connection
`C:\\cloudflared-windows-amd64.exe access tcp --hostname --url localhost:25565`

3. add server to minecraft
add the server by using localhost:25565

### Linux
1. install cloudflared using your package manager

2. start the tunnel connection
`cloudflared access tcp --hostname --url localhost:25565`

3. add server to minecraft
add the server by using localhost:25565

### IMPORTANT
the cloudflared process MUST run in the backgroun

## Change server version
go to `start.sh` and replace the fabric download link your desired version. You will also need to change the name of the file!

> This is a primary personal repository. I will not promise any update or help with issues, I might still, just no promises