-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6269104
Showing
559 changed files
with
128,090 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM openjdk:8-alpine | ||
|
||
ARG VERSION=latest | ||
|
||
ENV XMS=1G | ||
ENV XMX=3G | ||
|
||
RUN apk add curl git | ||
|
||
WORKDIR /var/server | ||
|
||
COPY ./.docker/scripts/run.sh ./run.sh | ||
COPY ./config ./config | ||
COPY ./libraries ./libraries | ||
COPY ./mods ./mods | ||
COPY ./forge-* ./forge.jar | ||
COPY ./minecraft_server.1.12.2.jar ./minecraft_server.1.12.2.jar | ||
COPY ./server-icon.png ./server-icon.png | ||
|
||
ENV VERSION=$VERSION | ||
|
||
RUN echo "eula=true" > ./eula.txt | ||
RUN echo "$VERSION" > ./version.txt | ||
|
||
RUN mv ./config/MoreDefaultOptions/server.properties ./_server.properties | ||
|
||
EXPOSE 25565 25575 | ||
|
||
ENTRYPOINT ["sh", "./run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
TMP_PROP_LOC="./_server.properties" | ||
FIN_PROP_LOC="./server.properties" | ||
|
||
set -x | ||
set -e | ||
|
||
if [ -f $TMP_PROP_LOC ] &&\ | ||
[ -f $FIN_PROP_LOC ] &&\ | ||
[ $(cat $FIN_PROP_LOC | wc -c) -eq 0 ] | ||
then | ||
echo "Synchronizing pre-deployed server.properties..." | ||
cat $TMP_PROP_LOC >> $FIN_PROP_LOC | ||
fi | ||
|
||
java -jar -Xms${XMS} -Xmx${XMX} $@ ./forge.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mods/TheBetweenlands-3.7.2-universal.jar filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: CD Tags | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
|
||
build-release: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Set up Hub | ||
run: sudo snap install hub --classic | ||
|
||
- name: Set up Zip | ||
run: sudo apt install -y zip | ||
|
||
- name: Repository Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create EULA and Version Files | ||
run: | | ||
echo "eula=true" > ./eula.txt | ||
echo "$(git describe --tags --abbrev=0)" > ./version.txt | ||
- name: Assemble Zip | ||
run: | | ||
zip -r -9 evc-server-$(git describe --tags --abbrev=0).zip \ | ||
config/** mods/** libraries/** eula.txt version.txt forge-* \ | ||
minecraft_server.1.12.2.jar server-icon.png | ||
- name: Assemble TGZ | ||
run: | | ||
tar -czvf evc-server-$(git describe --tags --abbrev=0).tar.gz \ | ||
config/** mods/** libraries/** eula.txt version.txt forge-* \ | ||
minecraft_server.1.12.2.jar server-icon.png | ||
- name: Deploy to Releases | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: 'hub release create | ||
-a ./evc-server-$(git describe --tags --abbrev=0).zip | ||
-a ./evc-server-$(git describe --tags --abbrev=0).tar.gz | ||
-F ./CHANGELOG.md | ||
$(git describe --tags --abbrev=0)' | ||
|
||
- name: Deploy to Download Trunk | ||
env: | ||
CDN_UPLOAD_SECRET: ${{ secrets.CDN_UPLOAD_SECRET }} | ||
run: | | ||
curl \ | ||
-X PUT \ | ||
-H "Authorization: Basic $CDN_UPLOAD_SECRET" \ | ||
-F "file=@evc-server-$(git describe --tags --abbrev=0).zip" \ | ||
https://cdn.zekro.de/modpacks/evolved-combat/trunk/server/latest.zip | ||
build-image: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Repository Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Docker Build | ||
run: | | ||
TAG=$(git describe --tags --abbrev=0) | ||
docker build . \ | ||
--build-arg VERSION=$(git describe --tags --abbrev=0) \ | ||
-t evolvedpacks/evc:${TAG%+*} \ | ||
-t evolvedpacks/evc:latest \ | ||
-f .docker/Dockerfile | ||
- name: Docker Push | ||
run: | | ||
TAG=$(git describe --tags --abbrev=0) | ||
docker login -u zekro -p ${{ secrets.DOCKER_PASSWORD }} | ||
docker push evolvedpacks/evc:${TAG%+*} | ||
docker push evolvedpacks/evc:latest |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1.11.0+60 | ||
|
||
# Content of the Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h1><img height="24" src="https://cdn.technicpack.net/platform2/pack-icons/1540036.png?1610107882"/> EV.COMBAT</h1> | ||
|
||
[![](https://img.shields.io/badge/ON-TECHNICPACK.NET-cyan?style=for-the-badge)](https://www.technicpack.net/modpack/evcomb) | ||
|
||
## General Information | ||
|
||
Evolved Combat is a Minecraft modpack based on Minecraft 1.12.2. It is our humble recreation of the famous Hexxit modpack but on a newer version of Minecraft. It ensures to deliver the same style of gameplay by implementing a collection of unique combat and battle modifications into the game. Alongside with some well known mods for adventure and discovery fun, it creates a challenging roleplaying modpack. | ||
|
||
## What is this Repository for? | ||
|
||
This repository has two main purposes: | ||
|
||
First of all, this repository holds all binary files, configurations and assets of the modpack server. This makes it way easier to maintain the modpack, pushing new versions and backuping old versions of the modpack. | ||
|
||
Also, we are using [GitHub Actions](https://github.com/evolvedpacks/pack-client-evolved-combat/actions) to build and deploy releases of the modpack. Everytime a new version is created by setting a new [tag](https://github.com/evolvedpacks/pack-client-evolved-combat/tags), a CD *([Continous Deployment](https://en.wikipedia.org/wiki/Continuous_deployment))* process is started which creates a release bundle of the modpack server *(one as zip file and another one as tar.gz)*, creates a [Release](https://github.com/evolvedpacks/pack-client-evolved-combat/releases) in this repository where the bundles can then be downloaded from, and pushes the latest zip bundle to a CDN file server which then is utilized by technicpack.net to download the modpack bundle via the technic launcher. | ||
Also, a [Docker](https://docs.microsoft.com/en-us/dotnet/architecture/microservices/container-docker-introduction/docker-defined) image is created which can be pulled to set up a server instance using the Docker engine. The images are hosted on [DockerHub](https://hub.docker.com/r/evolvedpacks/evi/tags?page=1&ordering=last_updated), so you can simply pull them from there, for example by using the `docker pull` command: | ||
``` | ||
$ docker pull evolvedpacks/evc:latest | ||
``` | ||
|
||
And all of this happens fully automatically without having to lift a finger. | ||
|
||
If you are interested in how all of this is configured, take a look in the [workflow configuration file](https://github.com/evolvedpacks/pack-server-evolved-combat/blob/master/.github/workflows/tags-cd.yml) where all job steps are specified in. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Configuration file | ||
|
||
options { | ||
# Allow Starting Health Tweaks | ||
B:allowStartingHealthTweaks=false | ||
|
||
# Blue Heart Canister Bauble Type (Requires Restart) | ||
# Valid values: | ||
# AMULET | ||
# RING | ||
# BELT | ||
# TRINKET | ||
# HEAD | ||
# BODY | ||
# CHARM | ||
S:blueCanisterBaubleType=BELT | ||
|
||
# How often do blue hearts Drop? (1.0 = 100 % and 0.0 means 0%) | ||
D:blueDropRate=1.0 | ||
|
||
# How often do wither bones Drop? (1.0 = 100 % and 0.0 means 0%) | ||
D:boneDropRate=0.15 | ||
|
||
# Can Equip Heart Canisters | ||
B:canEquipHeartCanisterWithoutAmulet=true | ||
|
||
# Green Heart Canister Bauble Type (Requires Restart) | ||
# Valid values: | ||
# AMULET | ||
# RING | ||
# BELT | ||
# TRINKET | ||
# HEAD | ||
# BODY | ||
# CHARM | ||
S:greenCanisterBaubleType=CHARM | ||
|
||
# How often do green hearts Drop? (1.0 = 100 % and 0.0 means 0%) | ||
D:greenDropRate=1.0 | ||
|
||
# What Type of Bauble is the Heart Amulet? | ||
# Valid values: | ||
# AMULET | ||
# RING | ||
# BELT | ||
# TRINKET | ||
# HEAD | ||
# BODY | ||
# CHARM | ||
S:heartCanisterBaubleType=AMULET | ||
|
||
# The maximum stacksize for heart canisters, also the maximum amount of full hearts you can get per heart container type | ||
I:heartStackSize=10 | ||
|
||
# Orange Heart Canister Bauble Type(Requires Restart) | ||
# Valid values: | ||
# AMULET | ||
# RING | ||
# BELT | ||
# TRINKET | ||
# HEAD | ||
# BODY | ||
# CHARM | ||
S:orangeCanisterBaubleType=BODY | ||
|
||
# How often do orange hearts Drop? (1.0 = 100 % and 0.0 means 0%) | ||
D:orangeDropRate=1.0 | ||
|
||
# Red Heart Canister Bauble Type (Requires Restart) | ||
# Valid values: | ||
# AMULET | ||
# RING | ||
# BELT | ||
# TRINKET | ||
# HEAD | ||
# BODY | ||
# CHARM | ||
S:redCanisterBaubleType=HEAD | ||
|
||
# How often do red hearts Drop? (1.0 = 100 % and 0.0 means 0%) | ||
D:redDropRate=0.05 | ||
|
||
# Starting Health of Player (Default:20) | ||
I:startingHealth=20 | ||
} | ||
|
||
|
Oops, something went wrong.