GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DockerizedCraft/Core: BungeeCord Plugin that listens to docker events and automatically registers the Servers.

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
scripts/kubernetes
scripts/kubernetes
 
 
src/main
src/main
 
 
.gitignore
.gitignore
 
 
ContainerManager.iml
ContainerManager.iml
 
 
Dockerfile
Dockerfile
 
 
DockerizedCraft.iml
DockerizedCraft.iml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
pom.xml
pom.xml
 
 

Repository files navigation

DockerizedCraft

Dockerized Craft - Core

Never maintain your Bungeecord manually again! Automatically listens to Docker events and adds servers to BungeeCord.

Additionally supporting plugin messaging, connection balancing and proxy server list updates.

DockerizedCraft Preview

Container Inspector

Features

  • Automatically listens on docker events
  • Extracts environment variables from containers
  • Triggers BungeeCord Custom events on Docker container events

Configuration

Check container-inspector.yml

Server Updater

Features

  • Automatically adds Server to Bungeecord
  • Automatically removes Server to Bungeecord
  • Configurable add/remove actions
  • Supports Health Checks

Configuration

Check server-updater.yml

Connection Balancer

Features

  • Server Groups
  • Default connection group (Fallback/Default servers)
  • Forced hosts for groups (i.e. eu lobbies and us lobbies)
  • Listens on Container events to add servers to groups based on their environment variables (i.e SERVER_GROUP=lobby)
  • Connection Balancing Strategies per group
    • balanced: Connect Players to the Server of the group with the fewest players
    • More will follow!
  • Does not overwrite restrictions!

Configuration

Check connection-balancer.yml

Plugin Notifier

Server List Payload

Send Server information to the single servers. This can be used to add Sever Selectors etc.

Add as many information as you want by easy to use environment variable mapping.

Example Payload (Channel: ContainerManager, Subchannel: ServerData)

{
   "us-lobby-1":{
      "address":"172.19.0.5:25565",
      "host":"172.19.0.5",
      "port":25565,
      "motd":"A Minecraft Server Instance",
      "name":"us-lobby-1",
      "proxied_players":12,
      "type":"spigot",
      "category":"us-lobby",
      "tags":"some,awesome,tags"
   },
   "eu-lobby-2":{
      "address":"172.19.0.4:25565",
      "host":"172.19.0.4",
      "port":25565,
      "motd":"A Minecraft Server Instance",
      "name":"eu-lobby-2",
      "proxied_players":5,
      "type":"spigot",
      "category":"eu-lobby",
      "tags":""
   },
   "eu-lobby-1":{
      "address":"172.19.0.3:25565",
      "host":"172.19.0.3",
      "port":25565,
      "motd":"A Minecraft Server Instance",
      "name":"eu-lobby-1",
      "proxied_players":0,
      "type":"spigot",
      "category":"eu-lobby",
      "tags":""
   }
}

Configuration

Check plugin-notifier.yml

Try it yourself

  1. Checkout the repository
  2. Build the .jar with maven or copy an attached one from the last releases.
  3. run docker-compose --project-name minecraft up -d
  4. Wait until all containers did start and connect to localhost with you Minecraft client

Todo's

  • Reduce .jar size

About

BungeeCord Plugin that listens to docker events and automatically registers the Servers.

Resources

Readme
MIT license
Activity
Custom properties

Stars

63 stars

Watchers

5 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.