A repo to help run Minecraft multiplayer minigames quickly, with a few commands out of the box.
Uses itzg's minecraft docker image and minecraft router.
Game Mode | Service Name | IP-based Address | Host-based Address |
---|---|---|---|
Hunger Games | hungergames |
<your ip>:25568 |
hungergames.<your domain> |
The Walls | thewalls |
<your ip>:25567 |
thewalls.<your domain> |
Bed Wars | bedwars |
<your ip>:25566 |
bedwars.<your domain> |
- Clone this repo:
git clone https://github.com/FragSoc/minecraft-minigames
- Copy
vars.sh.example
tovars.sh
and change variable values as necessary (instructions in the file) - Run
./setup.sh
, adding the-s
flag if you want to install our static maps (you will need Git LFS for these) - Bring servers online with
docker-compose up -d
- A docker-compatible unix system; windows not supported (yet)
git
docker
docker-compose
git lfs
if you want to use the inbuilt static maps
If you want to use your own worlds in the games, don't pass the -s
flag to the setup script.
Instead, unpack your world files (world
, world_the_end
, world_the_nether
), into the respective data
folder for the gamemode.
Special configuration might be required:
- For hunger games, follow the setup guide on the plugin wiki
- For bed wars, follow the setup guide on the bukkit page
If you have a domain name pointing at the server you're running on, specify it in the vars.sh
file, make sure the router
service is up (docker-compose up -d router
), and you can connect to them with the domain address in the table.
To connect without a domain name, use the IP-based address in the table.