Update packwiz repo format

This commit is contained in:
Jonathan Ho
2025-05-31 12:06:27 -07:00
parent 90d81b583d
commit f19c9dfeda
13 changed files with 43 additions and 56 deletions

3
.gitattributes vendored
View File

@@ -1,2 +1 @@
# Disable Git line ending conversion, to prevent packwiz index hashes changing when committing from Windows *.toml -text
* -text

View File

@@ -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

3
.gitignore vendored
View File

@@ -1,3 +1,2 @@
# Exclude exported Modrinth modpacks
*.mrpack
packwiz.exe packwiz.exe
instance.zip

View File

@@ -1,9 +1,2 @@
# .packwizignore follows the same format as .gitignore, and can be used to exclude unwanted files from pack exports instance/
# See https://git-scm.com/docs/gitignore README.md
/.github/**
# Exclude README
/README.md
/*.zip

13
README.md Normal file
View File

@@ -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.

View File

@@ -161,3 +161,7 @@ metafile = true
file = "mods/zoomify.pw.toml" file = "mods/zoomify.pw.toml"
hash = "f327d51d9c2988a691892b1f8fb66efc2e21d2084e9c0cedbc2f26d93abadc66" hash = "f327d51d9c2988a691892b1f8fb66efc2e21d2084e9c0cedbc2f26d93abadc66"
metafile = true metafile = true
[[files]]
file = "servers.dat"
hash = "3da6892677cd3477cd9ecb60b4b478b0b5fbb8744270effaf59d6716e0d8f081"

View File

@@ -0,0 +1,2 @@
darkMojangStudiosBackground:true
skipMultiplayerWarning:true

Binary file not shown.

5
instance/instance.cfg Normal file
View File

@@ -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

14
instance/mmc-pack.json Normal file
View File

@@ -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
}

BIN
instance/mtr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "5b3f55a80f430a50e1758ea70d08599120342476565e171cb17c1b313aece5ba" hash = "9aa3561c6f8bae97ac8f0507c311f95291cdafc5a431487277088cc8a5efbad2"
[versions] [versions]
fabric = "0.16.14" fabric = "0.16.14"

BIN
servers.dat Normal file

Binary file not shown.