diff --git a/.gitattributes b/.gitattributes index 3ccea25..f755d41 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1 @@ -# Disable Git line ending conversion, to prevent packwiz index hashes changing when committing from Windows -* -text +*.toml -text diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index 9ce326e..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy Pages - -on: - schedule: - - cron: '0 20 * * *' # runs daily at 04:00 UTC+8 - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v3 - - name: Upload artifact - uses: actions/upload-pages-artifact@v2 - with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 diff --git a/.gitignore b/.gitignore index dbebdc8..1440114 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -# Exclude exported Modrinth modpacks -*.mrpack packwiz.exe +instance.zip diff --git a/.packwizignore b/.packwizignore index 66546ca..4bc239b 100644 --- a/.packwizignore +++ b/.packwizignore @@ -1,9 +1,2 @@ -# .packwizignore follows the same format as .gitignore, and can be used to exclude unwanted files from pack exports -# See https://git-scm.com/docs/gitignore - -/.github/** - -# Exclude README -/README.md - -/*.zip +instance/ +README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..887ab37 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# Minecraft Transit Railway Let's Play Packwiz + +This modpack is for the [Minecraft Transit Railway](https://github.com/Minecraft-Transit-Railway/Minecraft-Transit-Railway) Let's Play server. + +## Installation + +1. Download the [Prism Launcher](https://prismlauncher.org/) (or any MultiMC-based launcher). +1. Click on "Add Instance", then "Import". +1. Paste in the following link and click "OK". + ``` + https://github.com/Minecraft-Transit-Railway/LetsPlay-Packwiz/archive/refs/heads/master.zip + ``` +1. Launch the imported instance by double-clicking on it. You may be prompted to sign in to your Minecraft account. diff --git a/index.toml b/index.toml index 7b08df6..d821cc8 100644 --- a/index.toml +++ b/index.toml @@ -161,3 +161,7 @@ metafile = true file = "mods/zoomify.pw.toml" hash = "f327d51d9c2988a691892b1f8fb66efc2e21d2084e9c0cedbc2f26d93abadc66" metafile = true + +[[files]] +file = "servers.dat" +hash = "3da6892677cd3477cd9ecb60b4b478b0b5fbb8744270effaf59d6716e0d8f081" diff --git a/instance/.minecraft/options.txt b/instance/.minecraft/options.txt new file mode 100644 index 0000000..f0e4482 --- /dev/null +++ b/instance/.minecraft/options.txt @@ -0,0 +1,2 @@ +darkMojangStudiosBackground:true +skipMultiplayerWarning:true diff --git a/instance/.minecraft/packwiz-installer-bootstrap.jar b/instance/.minecraft/packwiz-installer-bootstrap.jar new file mode 100644 index 0000000..84b934c Binary files /dev/null and b/instance/.minecraft/packwiz-installer-bootstrap.jar differ diff --git a/instance/instance.cfg b/instance/instance.cfg new file mode 100644 index 0000000..57d5929 --- /dev/null +++ b/instance/instance.cfg @@ -0,0 +1,5 @@ +InstanceType=OneSix +iconKey=mtr +name=MTR-LetsPlay +OverrideCommands=true +PreLaunchCommand=\"$INST_JAVA\" -jar packwiz-installer-bootstrap.jar https://raw.githubusercontent.com/Minecraft-Transit-Railway/LetsPlay-Packwiz/master/pack.toml diff --git a/instance/mmc-pack.json b/instance/mmc-pack.json new file mode 100644 index 0000000..1185859 --- /dev/null +++ b/instance/mmc-pack.json @@ -0,0 +1,14 @@ +{ + "components": [ + { + "important": true, + "uid": "net.minecraft", + "version": "1.20.4" + }, + { + "uid": "net.fabricmc.fabric-loader", + "version": "0.16.14" + } + ], + "formatVersion": 1 +} diff --git a/instance/mtr.png b/instance/mtr.png new file mode 100644 index 0000000..034e610 Binary files /dev/null and b/instance/mtr.png differ diff --git a/pack.toml b/pack.toml index 10ae753..eed6e12 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "5b3f55a80f430a50e1758ea70d08599120342476565e171cb17c1b313aece5ba" +hash = "9aa3561c6f8bae97ac8f0507c311f95291cdafc5a431487277088cc8a5efbad2" [versions] fabric = "0.16.14" diff --git a/servers.dat b/servers.dat new file mode 100644 index 0000000..09e6314 Binary files /dev/null and b/servers.dat differ