1
0
Fork 0
mirror of https://codeberg.org/xtex/xtex-mp-pack.git synced 2024-10-17 15:59:34 +00:00

release: 2.0

This commit is contained in:
xtex 2023-06-22 12:52:31 +08:00
parent 05c5f48847
commit fb7e66aab9
No known key found for this signature in database
GPG key ID: 978F2E760D9DB0EB
9 changed files with 111 additions and 8 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.zip
*.mrpack
*.mrpack
.env

View file

@ -1 +1,3 @@
.editorconfig
scripts/*
.env

45
README.md Normal file
View file

@ -0,0 +1,45 @@
# xtex's MP Pack
> Minecraft modpack focusing on multiplayer (Survival, Creative or PvP) performance and experience optimization.
[![License](https://img.shields.io/badge/license-Apache--2.0-green?style=flat-square)](https://codeberg.org/xtex/xtex-mp-pack/src/branch/main/LICENSE) ![Game Version](https://img.shields.io/modrinth/game-versions/HsMwyVxf?style=flat-square) ![Modrinth version](https://img.shields.io/modrinth/v/HsMwyVxf?style=flat-square) [![Modrinth](https://img.shields.io/badge/get--stable-modrinth-green?style=flat-square)](https://modrinth.com/modpack/xtex-mp-pack) [![exogit](https://img.shields.io/badge/get--staging-exogit-yellowgreen?style=flat-square)](https://git.exozy.me/xtex/xtex-mp-pack-staging) [![Codeberg](https://img.shields.io/badge/get--dev-codeberg-yellow?style=flat-square)](https://codeberg.org/xtex/xtex-mp-pack)
This Fabric-modpack is client-only.
## Download
#### Stable
The stable versions are available at [Modrinth](https://modrinth.com/modpack/xtex-mp-pack).
#### Staging (recommended)
> Use **at your own risk**. Some of your customized configurations may be erased during the update.
The staging version is the delayed version of the dev. It is hosted on [exogit](https://exozy.me) and will be synchronized with dev every 24h, so some temporary bugs may be fixed in time.
[packwiz bootstrap URL](https://git.exozy.me/xtex/xtex-mp-pack-staging/raw/branch/main/pack.toml) | [MultiMC](https://cloud.exozy.me/s/WT8gK647zSPGk5o)
#### Dev: packwiz installer
> Using this bootstrap URL means your client will always be in sync with the latest development branch **at your own risk**.
>
> To keep your own customized configurations, disable custom pre-launch command after first launch.
[packwiz bootstrap URL](https://codeberg.org/xtex/xtex-mp-pack/raw/branch/main/pack.toml) | [MultiMC](https://cloud.exozy.me/s/NTwiRnkPHFRTf5M)
## Credits
See the [CREDITS.md](https://codeberg.org/xtex/xtex-mp-pack/src/branch/main/CREDITS.md).
## License
This modpack is released under the Apache-2.0 license.
> Copyright 2023 xtex
>
> Licensed under the Apache License, Version 2.0 (the "License");
> you may not use this file except in compliance with the License.
> You may obtain a copy of the License at
>
> http://www.apache.org/licenses/LICENSE-2.0

View file

@ -8,6 +8,10 @@ hash = "1d067ac48a5ea90f6764bdf40331d6e4ba8ff8fd5d28182e074bd27d79a96ce8"
file = "LICENSE"
hash = "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4"
[[files]]
file = "README.md"
hash = "6ae7da12365c6c160fb415fc5f32f9e9db74e606f15f38bcebaf58c5d5f08256"
[[files]]
file = "ViaFabricPlus/settings.json"
hash = "c97448bb0414342e6d0e3b3036a76fc12316e3f6b87bd3386c47c9a410869a6f"
@ -40,6 +44,10 @@ hash = "fc273072f132ab4beba18bdee72e80cce7f82775d91219b39bbff41f9ac5158c"
file = "config/lambdynlights.toml"
hash = "83b8c0bbd7c92d6e668155d49f5266a1537988d76866e16ff310e2faa07ad2e3"
[[files]]
file = "config/languagereload.json"
hash = "5c5ba86bc16ccd01a3952e42624c5840317844a2edde38f73627bcb9a0954978"
[[files]]
file = "config/litematica.json"
hash = "ad6fdf495f150d0090f237808fea75a6088a666951de9e88f8ce368e2ac0d33b"
@ -392,7 +400,7 @@ metafile = true
[[files]]
file = "options.txt"
hash = "f8f286bfe93677ec707dc6c7467b44d5436dc10ce6c0c2d4cfda2c65bca35b0e"
hash = "972860cc3cbe817be2c4c25a96dccc0e8049fa275f193b8179f019808168be83"
[[files]]
file = "resourcepacks/bettersky.pw.toml"
@ -443,7 +451,3 @@ metafile = true
file = "shaderpacks/makeup-ultra-fast-shaders.pw.toml"
hash = "d607da4ce672251838256616b1c6db384f5f0b5d849e428ce05d852d6e9b81ae"
metafile = true
[[files]]
file = "update-credits.sh"
hash = "67fd50d573d753fbcff23549f00a969bf3ef892a53e5a088d75b3baffcfc4b53"

View file

@ -1,12 +1,12 @@
name = "xtex's MP Pack"
author = "xtex"
version = "2.0.0"
version = "2.0"
pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "bc958006a9d88397c62668fd983373fcdc08b8d44c739efc222faf605461c318"
hash = "409a58a60d3366afa6b90b7adf982a204a6604fbe2d1ccd7330f12cad7ea73ef"
[versions]
minecraft = "1.20.1"

11
scripts/publish.sh Normal file
View file

@ -0,0 +1,11 @@
#! /usr/bin/bash
version=$(grep '^version = "' pack.toml | sed -e 's/version = "//' | sed -e 's/"//')
rm -- *.mrpack *.zip
scripts/update-credits.sh
packwiz refresh
git add .
git commit -S -s -m "release: $version"

13
scripts/sync-readme.sh Executable file
View file

@ -0,0 +1,13 @@
#! /usr/bin/bash
# shellcheck source=/dev/null
source .env
{
printf "<details><summary>Credits</summary>\n\n"
cat CREDITS.md
echo "</details>"
printf "\n"
cat README.md
} | jo body=@/dev/stdin | curl -A "xtex-mp-pack scripts (HsMwyVxf)" \
-H "Authorization: $MODRINTH_TOKEN" \
-H "Content-Type: application/json" \
-X PATCH -d "$(cat /dev/stdin)" https://api.modrinth.com/v2/project/HsMwyVxf && echo "Modrinth README updated"

27
scripts/upload-to-mr.sh Executable file
View file

@ -0,0 +1,27 @@
#! /usr/bin/bash
# shellcheck source=/dev/null
source .env
version=$(grep '^version = "' pack.toml | sed -e 's/version = "//' | sed -e 's/"//')
payload=$(jo -p project_id=HsMwyVxf \
'file_parts=["file"]' featured=true 'loaders=["quilt"]' \
version_type=release \
"game_versions=[\"$(grep '^minecraft = "' pack.toml | sed -e 's/minecraft = "//' | sed -e 's/"//')\"]" \
dependencies=[] \
"version_number=$version" "name=$version")
echo "$payload"
rm -- *.mrpack
packwiz modrinth export
file=$(echo *.mrpack)
echo "$file"
curl -A "xtex-mp-pack scripts (HsMwyVxf)" \
-H "Authorization: $MODRINTH_TOKEN" \
-H "Content-Type: multipart/form-data" \
-X POST -F data="$payload" -F file="@$file" https://api.modrinth.com/v2/version
printf "\n"
echo Modrinth version uploaded