sebinside / CraftBlock

CraftBlock stands for "Craft Attack 3 Skyblock" and is an expert skyblock modpack for Minecraft.
GNU Lesser General Public License v2.1
41 stars 17 forks source link

Add server pack #70

Closed voruti closed 3 years ago

voruti commented 3 years ago

~The complete server/ folder can be zipped and added as server pack to CurseForge.~

~The server/world/ folder is just a 1:1 copy of the template/ folder. If a change is made in the template, the server world has to be updated as well...~

~On a new release the following has to be updated:~ ~- In server/server-setup-config.yaml the modpackUrl field must contain the direct link to download the new/latest release.~

Edit: GitHub Actions does all of this now.

One thing that must be followed: The release file for the client (eg. CraftBlock-1.2.0.zip) must match the Git tag name! So if the Git tag is prefixed with a "v" (eg. v1.2.0), then the client file also has to contain the "v" (→ CraftBlock-v1.2.0.zip)!

A release would look like this: https://github.com/voruti/CraftBlock/releases/tag/v1.2.13

voruti commented 3 years ago

~To eliminate to need of updating the server pack on every new release, https://github.com/voruti/GithubLatestAsset could be used. I have an instance of the program running on my server, which would result in the following URL https://github.redno.de/sebinside/CraftBlock, which will always redirect to the latest release file.~

Edit: Fixed with GitHub Actions

J0B10 commented 3 years ago

Oh hell. Might squash / interactively rebase your commits 🙄