Author SHA1 Message Date
ahmza 06fa58b898 added emf and etf for fresh animation support (client side mods)
Publish Packwiz site / publish (push) Successful in 2m37s
2026-09-10 20:22:33 +01:00
ahmza 6e4659970f Add Velocity forwarding support
Publish Packwiz site / publish (push) Successful in 1m28s
2026-09-05 00:31:51 +01:00
ahmza acbcb24bf6 Retire Playground Packwiz channel
Publish Packwiz site / publish (push) Successful in 1m25s
2026-09-05 00:12:51 +01:00
ahmza 340b91aad7 Build Packwiz hashes in published images
Publish Packwiz site / publish (push) Successful in 1m53s
2026-09-04 23:27:12 +01:00
ahmza 70cb26e762 Split registry and GitOps credentials
Publish Packwiz site / publish (push) Successful in 1m30s
2026-09-04 12:52:25 +00:00
ahmza a41e119720 Move publishing to organization namespace
Publish Packwiz site / publish (push) Canceled after 0s
2026-09-04 12:46:31 +00:00
ahmza 4749e800a3 Publish Packwiz site as immutable image
Publish Packwiz site / publish (push) Failing after 20s
2026-09-04 12:04:31 +00:00
ahmza 033211c830 Remove Create Vibrant Vaults 2026-09-02 21:08:05 +01:00
ahmza f10e63fb9b Promote tested Forever mod additions 2026-09-02 21:06:00 +01:00
ahmza fe7749f8ee Fix Forever icon permissions 2026-08-31 22:07:38 +01:00
ahmza 47b3971989 Add Carry On 2026-08-31 22:07:32 +01:00
ahmza 18940c1f69 Package VeinMiner configuration 2026-08-31 00:18:56 +01:00
42 changed files with 945 additions and 113 deletions
+8
View File
@@ -0,0 +1,8 @@
# The image receives only the generated site and its runtime configuration.
# In particular, never send the repository's .git directory to Docker.
**
!Dockerfile
!sws.toml
!.build/
!.build/site/
!.build/site/**
+34 -15
View File
@@ -27,15 +27,12 @@ Stable:
https://mc.ahmza.com/forever/stable/pack.toml
```
### Playground
### Creative Playground Server
Disposable environment for testing mods, updates and configuration changes before considering them for Forever World.
Development:
```text
https://mc.ahmza.com/playground/dev/pack.toml
```
`agsmc-playground` is a disposable creative superflat server that consumes the
Forever stable pack. It does not have an independent Packwiz publication
channel. Upcoming pack changes are validated on `agsmc-forever-staging` through
the Forever development endpoint.
## Repository Structure
@@ -43,6 +40,10 @@ https://mc.ahmza.com/playground/dev/pack.toml
mc-modpacks/
├── .gitea/
│ └── workflows/
├── scripts/
│ └── build-site.sh
├── Dockerfile
├── sws.toml
├── forever/
│ ├── pack.toml
│ ├── index.toml
@@ -50,13 +51,6 @@ mc-modpacks/
│ ├── config/
│ ├── defaultconfigs/
│ └── README.md
├── playground/
│ ├── pack.toml
│ ├── index.toml
│ ├── mods/
│ ├── config/
│ ├── defaultconfigs/
│ └── README.md
└── deploy/
└── kubernetes/
```
@@ -168,6 +162,31 @@ Packwiz is responsible for modpack contents and side filtering.
Pterodactyl is responsible for Java, server process management and resources.
Kubernetes/SWS provides static hosting for the published Packwiz repositories.
The publishing workflow runs [`scripts/build-site.sh`](../scripts/build-site.sh),
which exports committed Git revisions into the documented URL layout. Source
packs intentionally keep `no-internal-hashes = true`; the workflow runs
`packwiz refresh --build` only against the exported copies under `.build/site`
so the image contains installer-ready hashes without committing generated hash
churn. It then builds the multi-architecture image
`tea.ahmza.com/ahmza.com/mcpacks-site`.
The workflow finally commits that image's immutable OCI digest to
`apps/mcpacks/deployment.yaml` in the `ahmza.com/k8s-starter-pack` repository.
Argo CD notices that commit and performs the rollout; the workflow does not
hold Kubernetes credentials or change the cluster directly.
The publishing workflow uses two Gitea Actions repository secrets belonging
to `ci-bot`:
- `REGISTRY_TOKEN` can push packages owned by the `ahmza.com` organization
- `GITOPS_TOKEN` can read and write `ahmza.com/k8s-starter-pack`
Keeping these credentials separate ensures that the package token cannot modify
Git repositories and the GitOps token cannot publish packages.
The `latest` image tag exists only to bootstrap the first Argo CD sync and for
human inspection. Normal rollouts use the exact content digest recorded in the
GitOps manifest, making the running version auditable and rollback-friendly.
## Rollback
-4
View File
@@ -1,4 +0,0 @@
on:
push:
branches:
- main
+153
View File
@@ -0,0 +1,153 @@
name: Publish Packwiz site
on:
push:
branches:
- main
tags:
- "forever-v*"
# A branch push and release tag can happen close together. Serializing them
# prevents two jobs from racing to update the GitOps deployment manifest.
concurrency:
group: mcpacks-publish
cancel-in-progress: false
env:
REGISTRY: tea.ahmza.com
IMAGE_NAME: ahmza.com/mcpacks-site
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out all pack history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch current main and release tags
# A tag-triggered checkout points HEAD at that tag. Fetching main
# explicitly ensures /dev still contains today's development branch.
run: git fetch origin main:refs/remotes/origin/main --tags --force
- name: Set up Go for Packwiz
uses: actions/setup-go@v5
with:
go-version: "1.23.x"
cache: false
- name: Install pinned Packwiz
# Packwiz has no stable binary release channel. Pinning the source
# revision makes image builds reproducible instead of following latest.
run: go install github.com/packwiz/packwiz@dfd8b68a4796c763e25bad50265ea1f1233e24f1
- name: Assemble static Packwiz site
env:
EVENT_REF: ${{ gitea.ref }}
EVENT_SHA: ${{ gitea.sha }}
run: |
chmod +x scripts/build-site.sh
# A branch job must publish exactly the commit that triggered it,
# even if a newer main commit arrives while this job is queued. A
# tag job uses current main for /dev while exporting the tag itself
# to /releases in scripts/build-site.sh.
case "$EVENT_REF" in
refs/tags/*) dev_ref=origin/main ;;
*) dev_ref=$EVENT_SHA ;;
esac
PACKWIZ_BIN="$(go env GOPATH)/bin/packwiz" \
./scripts/build-site.sh "$dev_ref"
test -s .build/site/forever/dev/pack.toml
grep -q '^hash = "[0-9a-f]\{64\}"$' \
.build/site/forever/dev/pack.toml
# Building distribution metadata must not alter tracked source packs.
git diff --exit-code -- forever
- name: Verify tagged release output
if: startsWith(gitea.ref, 'refs/tags/')
env:
RELEASE_TAG: ${{ gitea.ref_name }}
run: |
version=${RELEASE_TAG#forever-}
test -s ".build/site/forever/releases/$version/pack.toml"
test -s .build/site/forever/stable/pack.toml
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ci-bot
password: ${{ secrets.REGISTRY_TOKEN }}
# The SWS runtime image already publishes amd64 and arm64 variants and
# this Dockerfile has no target-architecture RUN commands, so Buildx can
# create both variants without slow QEMU emulation.
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push immutable site image
id: build
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
build-args: |
VCS_REF=${{ gitea.sha }}
# latest bootstraps the first deployment and is convenient for
# inspection. Kubernetes runs the immutable manifest digest emitted
# by this step, never this mutable tag.
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
- name: Check out cluster GitOps repository
uses: actions/checkout@v4
with:
repository: ahmza.com/k8s-starter-pack
ref: main
token: ${{ secrets.GITOPS_TOKEN }}
path: _gitops
- name: Record the deployed image in Git
env:
# A digest identifies the actual multi-architecture image contents.
# This changes for a release build even when its tag points at the
# same Git commit previously built by the main-branch workflow.
IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build.outputs.digest }}
run: |
python3 - "$IMAGE" <<'PY'
from pathlib import Path
import sys
manifest = Path("_gitops/apps/mcpacks/deployment.yaml")
image = sys.argv[1]
prefix = " image: "
repository = "tea.ahmza.com/ahmza.com/mcpacks-site"
lines = manifest.read_text().splitlines()
matches = [
i for i, line in enumerate(lines)
if line.startswith(prefix + repository)
]
if len(matches) != 1:
raise SystemExit(f"expected one mcpacks image line, found {len(matches)}")
lines[matches[0]] = f"{prefix}{image}"
manifest.write_text("\n".join(lines) + "\n")
PY
cd _gitops
if git diff --quiet -- apps/mcpacks/deployment.yaml; then
echo "GitOps manifest already references $IMAGE"
exit 0
fi
git config user.name "gitea-actions[bot]"
git config user.email "gitea-actions[bot]@tea.ahmza.com"
git add apps/mcpacks/deployment.yaml
git commit -m "Deploy mcpacks ${GITEA_SHA}"
git push origin HEAD:main
-4
View File
@@ -1,4 +0,0 @@
on:
push:
tags:
- "forever-v*"
+19
View File
@@ -0,0 +1,19 @@
# syntax=docker/dockerfile:1
# scripts/build-site.sh prepares .build/site before this image is built. The
# runtime contains neither Git nor a shell-based synchronizer: published files
# are immutable and can only change by building a new, traceable image.
# Pin both the tested SWS release and its multi-architecture manifest digest so
# rebuilding an old pack revision cannot silently pick up a different runtime.
FROM ghcr.io/static-web-server/static-web-server:2.44.0@sha256:2c1a7c3e0feaea5859307403b74e1c575f3ec1499094fc077344173d11abaae2
ARG VCS_REF=unknown
LABEL org.opencontainers.image.source="https://tea.ahmza.com/ahmza.com/mcpacks" \
org.opencontainers.image.revision="$VCS_REF" \
org.opencontainers.image.description="Static Packwiz repositories for AGS Minecraft servers"
COPY sws.toml /etc/sws.toml
COPY .build/site /public
ENV SERVER_CONFIG_FILE=/etc/sws.toml
EXPOSE 80/tcp
CMD ["--config-file", "/etc/sws.toml"]
+2 -2
View File
@@ -14,7 +14,7 @@
"pid_limit"
],
"docker_images": {
"Java 21": "ghcr.io/ptero-eggs/yolks:java_21"
"Java 21": "ghcr.io/pterodactyl/yolks:java_21"
},
"file_denylist": [],
"startup": "bash ./start-packwiz.sh {{SERVER_MEMORY}}",
@@ -64,7 +64,7 @@
},
{
"name": "Packwiz Auto Sync",
"description": "Run packwiz-installer before every server start. 1 = enabled, 0 = disabled. Recommended: Forever=0 after deployment if you want explicit promotions; Playground=1.",
"description": "Run packwiz-installer before every server start. 1 = enabled, 0 = disabled. Use 1 for servers that track stable or dev; use 0 only for manually pinned deployments.",
"env_variable": "PACKWIZ_AUTO_SYNC",
"default_value": "1",
"user_viewable": true,
+15 -2
View File
@@ -22,18 +22,23 @@ The core gameplay additions currently centre around:
- Create
- Create: Bells & Whistles
- Create: Blocks & Bogies
- Create: Connected
- Create: Copycats+
- Create: Dragons Plus
- Create: Enchantment Industry
- Create: Slice & Dice
- Critters and Companions
- Farmer's Delight
- Handcrafted
- Sophisticated Backpacks
Exploration and mining quality-of-life additions include:
- Nature's Compass
- VeinMiner
Create's native stock links, stock tickers, packagers and physical transport remain the intended storage and logistics system. The pack deliberately avoids adding a separate digital storage network unless future gameplay demonstrates a clear need.
Create's native stock links, stock tickers, packagers and physical transport remain the intended storage and logistics system. Sophisticated Backpacks provides portable field storage that feeds into those fixed systems rather than replacing them. The pack deliberately avoids adding a separate digital storage network unless future gameplay demonstrates a clear need.
Additional mods provide mapping, building, controller support, connected textures, dynamic lighting, performance, diagnostics and other client quality-of-life improvements.
@@ -59,6 +64,8 @@ This automatically excludes client-only mods such as Iris and Sodium.
Some optional client-oriented mods are intentionally installed server-side where their server functionality is useful and does not create an undesirable world dependency.
Proxy Compatible Forge provides authenticated Velocity modern forwarding for the proxied Forever and Playground backends. Its forwarding secret is runtime configuration and must never be committed. Forwarding must remain disabled on the directly accessible Forever staging server.
## Development
Current development builds are published at:
@@ -83,6 +90,8 @@ Forever World releases use repository tags:
forever-v1.0.0
forever-v1.0.1
forever-v1.1.0
forever-v1.1.1
forever-v1.1.2
```
A tagged release is published to both:
@@ -94,7 +103,7 @@ A tagged release is published to both:
Release tags and release directories are immutable.
Major mod additions, Minecraft migrations and other potentially disruptive changes should be tested on Playground or a feature branch before being introduced here.
Major mod additions, Minecraft migrations and other potentially disruptive changes should be tested on the Forever staging server or a feature branch before being introduced here.
## Updating a Mod
@@ -124,3 +133,7 @@ Before introducing or removing a content mod, consider:
The objective is not zero world dependencies; Create and other content mods deliberately become part of the world.
The objective is to keep those dependencies intentional.
## Mods I would like to add
- https://modrinth.com/mod/better-stats - No NeoForge 1.21.1 support
+89
View File
@@ -0,0 +1,89 @@
[settings]
#General Settings
#Maximum distance from where Blocks and Entities can be picked up
# Default: 2.5
# Range: 0.0 ~ 1.7976931348623157E308
maxDistance = 2.5
#Pickup distance scales with player reach
scaleDistance = true
#Max width of entities that can be picked up in survival mode
# Default: 1.5
# Range: 0.0 ~ 10.0
maxEntityWidth = 1.5
#Max height of entities that can be picked up in survival mode
# Default: 2.5
# Range: 0.0 ~ 10.0
maxEntityHeight = 2.5
#Size of entities is considered relative to player scale
relativePlayerScale = true
#Slowness multiplier for blocks
# Default: 1.0
# Range: 0.0 ~ 1.7976931348623157E308
blockSlownessMultiplier = 1.0
#Slowness multiplier for entities
# Default: 1.0
# Range: 0.0 ~ 1.7976931348623157E308
entitySlownessMultiplier = 1.0
#Maximum stack limit for entities
# Default: 10
# Range: > 1
maxEntityStackLimit = 10
#More complex Tile Entities slow down the player more
heavyTiles = true
#Allow all blocks to be picked up, not just Tile Entites. White/Blacklist will still be respected.
pickupAllBlocks = false
#Whether Blocks and Entities slow the creative player down when carried
slownessInCreative = true
#Whether hostile mobs should be able to picked up in survival mode
pickupHostileMobs = false
#Larger Entities slow down the player more
heavyEntities = true
#Allow babies to be carried even when adult mob is blacklisted (or not whitelisted)
allowBabies = false
#Use Whitelist instead of Blacklist for Blocks
useWhitelistBlocks = false
#Use Whitelist instead of Blacklist for Entities
useWhitelistEntities = false
#Use Whitelist instead of Blacklist for Stacking
useWhitelistStacking = false
#Whether the player can hit blocks and entities while carrying or not
hitWhileCarrying = false
#Whether the player drops the carried object when hit or not
dropCarriedWhenHit = false
#Use custom Pickup Scripts. Having this set to false, will not allow you to run scripts, but will increase your performance
useScripts = false
#Allows entities to be stacked on top of each other
stackableEntities = true
#Whether entities' size matters when stacking or not. This means that larger entities cannot be stacked on smaller ones
entitySizeMattersStacking = true
#Usually all the block state information is retained when placing a block that was picked up. But some information is changed to a modified property, like rotation or orientation. In this list, add additional properties that should NOT be saved and instead be updated when placed. Format: modid:block[propertyname]. Note: You don't need to add an entry for every subtype of a same block. For example, we only add an entry for one type of slab, but the change is applied to all slabs.
placementStateExceptions = ["minecraft:chest[type]", "minecraft:stone_button[face]", "minecraft:vine[north,east,south,west,up]", "minecraft:creeper_head[rotation]", "minecraft:glow_lichen[north,east,south,west,up,down]", "minecraft:oak_sign[rotation]", "minecraft:oak_trapdoor[half]"]
#Whether Players can be picked up. Creative players can't be picked up in Survival Mode
pickupPlayers = true
#Whether players in Survival Mode can pick up unbreakable blocks. Creative players always can.
pickupUnbreakableBlocks = false
[whitelist]
#Whitelist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config
#Entities that CAN be picked up (useWhitelistEntities must be true)
allowedEntities = []
#Blocks that CAN be picked up (useWhitelistBlocks must be true)
allowedBlocks = []
#Entities that CAN have other entities stacked on top of them (useWhitelistStacking must be true)
allowedStacking = []
[blacklist]
#Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config
#Blocks that cannot be picked up
forbiddenTiles = ["#forge:immovable", "#forge:relocation_not_supported", "#neoforge:immovable", "#neoforge:relocation_not_supported", "minecraft:end_portal", "minecraft:piston_head", "#c:relocation_not_supported", "minecraft:end_gateway", "minecraft:tall_grass", "minecraft:large_fern", "minecraft:peony", "minecraft:rose_bush", "minecraft:lilac", "minecraft:sunflower", "minecraft:*_bed", "minecraft:*_door", "minecraft:big_dripleaf_stem", "minecraft:waterlily", "minecraft:cake", "minecraft:nether_portal", "minecraft:tall_seagrass", "animania:block_trough", "animania:block_invisiblock", "colossalchests:*", "ic2:*", "bigreactors:*", "forestry:*", "tconstruct:*", "rustic:*", "botania:*", "astralsorcery:*", "quark:colored_bed_*", "immersiveengineering:*", "embers:block_furnace", "embers:ember_bore", "embers:ember_activator", "embers:mixer", "embers:heat_coil", "embers:large_tank", "embers:crystal_cell", "embers:alchemy_pedestal", "embers:boiler", "embers:combustor", "embers:catalzyer", "embers:field_chart", "embers:inferno_forge", "storagedrawers:framingtable", "skyresources:*", "lootbags:*", "exsartagine:*", "aquamunda:tank", "opencomputers:*", "malisisdoors:*", "industrialforegoing:*", "minecolonies:*", "thaumcraft:pillar*", "thaumcraft:infernal_furnace", "thaumcraft:placeholder*", "thaumcraft:infusion_matrix", "thaumcraft:golem_builder", "thaumcraft:thaumatorium*", "magneticraft:oil_heater", "magneticraft:solar_panel", "magneticraft:steam_engine", "magneticraft:shelving_unit", "magneticraft:grinder", "magneticraft:sieve", "magneticraft:solar_tower", "magneticraft:solar_mirror", "magneticraft:container", "magneticraft:pumpjack", "magneticraft:solar_panel", "magneticraft:refinery", "magneticraft:oil_heater", "magneticraft:hydraulic_press", "magneticraft:multiblock_gap", "refinedstorage:*", "mcmultipart:*", "enderstorage:*", "betterstorage:*", "practicallogistics2:*", "wearablebackpacks:*", "rftools:screen", "rftools:creative_screen", "create:*", "magic_doorknob:*", "iceandfire:*", "ftbquests:*", "waystones:*", "contact:*", "framedblocks:*", "securitycraft:*", "forgemultipartcbe:*", "integrateddynamics:cable", "mekanismgenerators:wind_generator", "cookingforblockheads:cabinet", "cookingforblockheads:corner", "cookingforblockheads:counter", "cookingforblockheads:oven", "cookingforblockheads:toaster", "cookingforblockheads:milk_jar", "cookingforblockheads:cow_jar", "cookingforblockheads:fruit_basket", "cookingforblockheads:cooking_table", "cookingforblockheads:fridge", "cookingforblockheads:sink", "chipped:*", "irons_spellbooks:*", "create*:*", "bellsandwhistles:*", "simple_pipes:*", "libmultipart:*", "quark:tiny_potato", "ait:*", "vampirism:*", "extrastorage:*", "relics:researching_table", "sophisticatedstorage:*chest", "powah:*", "advancementtrophies:trophy", "mekanismgenerators:heat_generator", "mna:filler_block", "create_enchantment_industry:*", "graveyard:*", "immersivepetroleum:*", "tardis:interior_door", "cuffed:*", "littletiles:*", "butchersdelight:*", "irons_spellbooks:*", "extended_drawers:*", "functionalstorage:*", "sophisticatedstorage:*", "sophisticatedbackpacks:*", "farmersdelight:*", "modern_industrialization:*_cable", "modern_industrialization:item_pipe", "modern_industrialization:*_item_pipe", "modern_industrialization:fluid_pipe", "modern_industrialization:*_fluid_pipe", "yigd:*", "domum_ornamentum:*", "connectiblechains:*", "cobblemon:*", "snowrealmagic:*", "forbidden_arcanus:black_hole", "domum_ornamentum:*", "sgjourney:*", "copycats:*", "expandedstorage:*", "replication:*", "snowrealmagic:*", "coloreditemframes:*", "replication:*"]
#Entities that cannot be picked up
forbiddenEntities = ["#c:capturing_not_supported", "#c:teleporting_not_supported", "minecraft:end_crystal", "minecraft:ender_dragon", "minecraft:ghast", "minecraft:fireball", "minecraft:small_fireball", "minecraft:whither_skull", "minecraft:shulker", "minecraft:leash_knot", "minecraft:armor_stand", "minecraft:whither_skull_dangerous", "minecraft:dragon_fireball", "minecraft:item_frame", "minecraft:painting", "minecraft:shulker_bullet", "minecraft:evoker_fangs", "minecraft:glow_item_frame", "minecraft:tnt", "minecraft:trident", "minecraft:arrow", "minecraft:spectral_arrow", "minecraft:interaction", "minecraft:marker", "minecraft:block_display", "minecraft:item_display", "minecraft:text_display", "animania:hamster", "animania:ferret*", "animania:hedgehog*", "animania:cart", "animania:wagon", "mynko:*", "pixelmon:*", "mocreatures:*", "quark:totem", "vehicle:*", "securitycraft:*", "taterzens:npc", "easy_npc:*", "bodiesbodies:dead_body", "littletiles:*", "connectiblechains:*", "cobblemon:*", "create:*", "swem:*", "toms_mobs:*", "simulated:*", "aeronautics:*", "offroad:*", "coloreditemframes:*", "wan_ancient_beasts:*"]
#Entities that cannot have other entities stacked on top of them
forbiddenStacking = ["minecraft:horse", "minecraft:ender_dragon"]
[customPickupConditions]
#Custom Pickup Conditions. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Custom-Pickup-Condition-Config
#Custom Pickup Conditions for Blocks
customPickupConditionsBlocks = []
#Custom Pickup Conditions for Entities
customPickupConditionsEntities = []
+1
View File
@@ -0,0 +1 @@
[]
+69
View File
@@ -0,0 +1,69 @@
[
{
"name": "Ores",
"blocks": [
"#c:ores"
],
"tools": [
"#minecraft:pickaxes"
],
"override": {
"cooldown": null,
"mustSneak": null,
"delay": null,
"maxChain": null,
"needCorrectTool": null,
"searchRadius": null,
"permissionRestricted": null,
"decreaseDurability": null,
"hungerPerBlock": null,
"miningSpeedModifier": null
}
},
{
"name": "Logs",
"blocks": [
"#minecraft:logs",
"minecraft:mushroom_stem",
"minecraft:brown_mushroom_block",
"minecraft:red_mushroom_block"
],
"tools": [
"#minecraft:axes"
],
"override": {
"cooldown": null,
"mustSneak": null,
"delay": null,
"maxChain": null,
"needCorrectTool": null,
"searchRadius": null,
"permissionRestricted": null,
"decreaseDurability": null,
"hungerPerBlock": null,
"miningSpeedModifier": null
}
},
{
"name": "Leaves",
"blocks": [
"#minecraft:leaves"
],
"tools": [
"#minecraft:hoes",
"minecraft:shears"
],
"override": {
"cooldown": null,
"mustSneak": null,
"delay": null,
"maxChain": null,
"needCorrectTool": null,
"searchRadius": null,
"permissionRestricted": null,
"decreaseDurability": null,
"hungerPerBlock": null,
"miningSpeedModifier": null
}
}
]
+33
View File
@@ -0,0 +1,33 @@
{
"cooldown": 20,
"mustSneak": false,
"delay": 0,
"maxChain": 64,
"needCorrectTool": true,
"searchRadius": 1,
"permissionRestricted": false,
"mergeItemDrops": true,
"autoUpdate": false,
"decreaseDurability": true,
"hungerPerBlock": 0.0,
"miningSpeedModifier": 0.0,
"debug": false,
"client": {
"allow": true,
"require": false,
"translucentBlockHighlight": true,
"allBlocks": false,
"overrides": {
"cooldown": null,
"mustSneak": null,
"delay": null,
"maxChain": null,
"needCorrectTool": null,
"searchRadius": null,
"permissionRestricted": null,
"decreaseDurability": null,
"hungerPerBlock": null,
"miningSpeedModifier": null
}
}
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+111
View File
@@ -1,5 +1,20 @@
hash-format = "sha256"
[[files]]
file = "config/carryon-common.toml"
[[files]]
file = "config/veinminer/blocks.json"
[[files]]
file = "config/veinminer/groups.json"
[[files]]
file = "config/veinminer/settings.json"
[[files]]
file = "icon.png"
[[files]]
file = "mods/3dskinlayers.pw.toml"
metafile = true
@@ -12,10 +27,18 @@ metafile = true
file = "mods/architectury-api.pw.toml"
metafile = true
[[files]]
file = "mods/armor-poser.pw.toml"
metafile = true
[[files]]
file = "mods/axiom.pw.toml"
metafile = true
[[files]]
file = "mods/baguettelib.pw.toml"
metafile = true
[[files]]
file = "mods/bellsandwhistles.pw.toml"
metafile = true
@@ -28,10 +51,18 @@ metafile = true
file = "mods/betterf3.pw.toml"
metafile = true
[[files]]
file = "mods/blocks-bogies.pw.toml"
metafile = true
[[files]]
file = "mods/bluemap.pw.toml"
metafile = true
[[files]]
file = "mods/carry-on.pw.toml"
metafile = true
[[files]]
file = "mods/chunky.pw.toml"
metafile = true
@@ -48,6 +79,10 @@ metafile = true
file = "mods/clumps.pw.toml"
metafile = true
[[files]]
file = "mods/comforts.pw.toml"
metafile = true
[[files]]
file = "mods/connector.pw.toml"
metafile = true
@@ -68,10 +103,26 @@ metafile = true
file = "mods/copycats.pw.toml"
metafile = true
[[files]]
file = "mods/corpse-x-curios-api-compat.pw.toml"
metafile = true
[[files]]
file = "mods/corpse.pw.toml"
metafile = true
[[files]]
file = "mods/create-connected.pw.toml"
metafile = true
[[files]]
file = "mods/create-dragons-plus.pw.toml"
metafile = true
[[files]]
file = "mods/create-enchantment-industry.pw.toml"
metafile = true
[[files]]
file = "mods/create.pw.toml"
metafile = true
@@ -92,10 +143,18 @@ metafile = true
file = "mods/dynamic-fps.pw.toml"
metafile = true
[[files]]
file = "mods/entity-model-features.pw.toml"
metafile = true
[[files]]
file = "mods/entityculling.pw.toml"
metafile = true
[[files]]
file = "mods/entitytexturefeatures.pw.toml"
metafile = true
[[files]]
file = "mods/farmers-delight.pw.toml"
metafile = true
@@ -108,6 +167,14 @@ metafile = true
file = "mods/forgified-fabric-api.pw.toml"
metafile = true
[[files]]
file = "mods/freecam.pw.toml"
metafile = true
[[files]]
file = "mods/fzzy-config.pw.toml"
metafile = true
[[files]]
file = "mods/geckolib.pw.toml"
metafile = true
@@ -120,6 +187,10 @@ metafile = true
file = "mods/immediatelyfast.pw.toml"
metafile = true
[[files]]
file = "mods/immersive-paintings.pw.toml"
metafile = true
[[files]]
file = "mods/iris.pw.toml"
metafile = true
@@ -136,6 +207,22 @@ metafile = true
file = "mods/jei.pw.toml"
metafile = true
[[files]]
file = "mods/just-enough-professions-jep.pw.toml"
metafile = true
[[files]]
file = "mods/just-enough-resources-jer.pw.toml"
metafile = true
[[files]]
file = "mods/justenoughbreeding.pw.toml"
metafile = true
[[files]]
file = "mods/kotlin-for-forge.pw.toml"
metafile = true
[[files]]
file = "mods/kotlin-lang-forge.pw.toml"
metafile = true
@@ -160,10 +247,22 @@ metafile = true
file = "mods/natures-compass.pw.toml"
metafile = true
[[files]]
file = "mods/ok-zoomer.pw.toml"
metafile = true
[[files]]
file = "mods/proxy-compatible-forge.pw.toml"
metafile = true
[[files]]
file = "mods/resourceful-lib.pw.toml"
metafile = true
[[files]]
file = "mods/screenshot-viewer.pw.toml"
metafile = true
[[files]]
file = "mods/searchables.pw.toml"
metafile = true
@@ -176,10 +275,22 @@ metafile = true
file = "mods/simple-voice-chat.pw.toml"
metafile = true
[[files]]
file = "mods/slice-and-dice.pw.toml"
metafile = true
[[files]]
file = "mods/sodium.pw.toml"
metafile = true
[[files]]
file = "mods/sophisticated-backpacks.pw.toml"
metafile = true
[[files]]
file = "mods/sophisticated-core.pw.toml"
metafile = true
[[files]]
file = "mods/sound-physics-remastered.pw.toml"
metafile = true
+13
View File
@@ -0,0 +1,13 @@
name = "Armor Poser"
filename = "ArmorPoser-neoforge-1.21.1-6.2.4.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/PFwYNrHb/versions/KlLmtvb1/ArmorPoser-neoforge-1.21.1-6.2.4.jar"
hash-format = "sha512"
hash = "7ec92a95f818795f515b8ff8b41fba670936a5b420c72b5d7eb74a8879d0afc805c54c57c9a22dc5fc053b4f898231724df443c93d22cfd85cfcf4133a11ee6c"
[update]
[update.modrinth]
mod-id = "PFwYNrHb"
version = "KlLmtvb1"
+13
View File
@@ -0,0 +1,13 @@
name = "BaguetteLib"
filename = "baguettelib-1.21.1-NeoForge-2.0.6.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/OfKzpbRU/versions/OpiO7Pem/baguettelib-1.21.1-NeoForge-2.0.6.jar"
hash-format = "sha512"
hash = "0dc4c79e7c6af81a871fa0ff87461c3b58b0a213a4ae86ccafd8e6ff48786f600cd62a7a88a34e57def6921d090a909e8d33e33676b53e8dbd564b9357fdfc21"
[update]
[update.modrinth]
mod-id = "OfKzpbRU"
version = "OpiO7Pem"
+13
View File
@@ -0,0 +1,13 @@
name = "Create: Blocks & Bogies"
filename = "create_bb-1.0.8-1.21.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/j4ARnQwY/versions/nC19ZMKK/create_bb-1.0.8-1.21.1.jar"
hash-format = "sha512"
hash = "9f40b8c13f3acad65c479ae763c9cb1d27edf8c391746719409b72f01b1d7396a0d39db907fb7e5c3d97b57b24a27b6b5e2f16cc454c3d73e874dd30ec548e1b"
[update]
[update.modrinth]
mod-id = "j4ARnQwY"
version = "nC19ZMKK"
+13
View File
@@ -0,0 +1,13 @@
name = "Carry On"
filename = "carryon-neoforge-1.21.1-2.2.6.13.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/joEfVgkn/versions/PV8oLZ1q/carryon-neoforge-1.21.1-2.2.6.13.jar"
hash-format = "sha512"
hash = "e097b11d6f14e0957bab6c0276b81542e786cb86b9c31d9f25975f8c9fb04a734188b8790683298bbc5c695dc3de7d6e947616a20ad26d4a728a3beb0bb78667"
[update]
[update.modrinth]
mod-id = "joEfVgkn"
version = "PV8oLZ1q"
+13
View File
@@ -0,0 +1,13 @@
name = "Comforts"
filename = "comforts-neoforge-9.0.5+1.21.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/SaCpeal4/versions/3kpPjcTc/comforts-neoforge-9.0.5%2B1.21.1.jar"
hash-format = "sha512"
hash = "e9de2952545e9e773a6e78fc501e8cd231ea19750c30404355b71df9928eb5bd0921a4429aeca9d0fa10e67717f77fcf7a2aae117ac953b8f7de246b0ad685e4"
[update]
[update.modrinth]
mod-id = "SaCpeal4"
version = "3kpPjcTc"
@@ -0,0 +1,13 @@
name = "Corpse x Curios API Compat"
filename = "corpsecurioscompat-1.21.1-NeoForge-4.0.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/pJGcKPh1/versions/Ix4uAd2i/corpsecurioscompat-1.21.1-NeoForge-4.0.1.jar"
hash-format = "sha512"
hash = "3a75b28b4bf25d775c399c8b5eff1f186020957332f3698d4e313cd0c0785c8b5814ca7fd7194e8b938e276073bab99e8d22aa2c5c10ca78763945db825059fe"
[update]
[update.modrinth]
mod-id = "pJGcKPh1"
version = "Ix4uAd2i"
+13
View File
@@ -0,0 +1,13 @@
name = "Corpse"
filename = "corpse-neoforge-1.21.1-1.1.13.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/WrpuIfhw/versions/Zwf8nv8y/corpse-neoforge-1.21.1-1.1.13.jar"
hash-format = "sha512"
hash = "473aafd82008c1e041e3b4a5a177507d555c8bc9dd1f121f252f1e81bc0c69c79a91cb64be0df343babcb3d4db76efbaa7aa2adaeaae29337808a368bc290ad0"
[update]
[update.modrinth]
mod-id = "WrpuIfhw"
version = "Zwf8nv8y"
+13
View File
@@ -0,0 +1,13 @@
name = "Create: Dragons Plus"
filename = "CreateDragonsPlus-1.11.7b.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/dzb1a5WV/versions/zQDQbNih/CreateDragonsPlus-1.11.7b.jar"
hash-format = "sha512"
hash = "4b86f50641b95532d8662e333b1805f0938bf49d1fd9ee7bd4920dca7a4c3707e11f95d44d6a6ce250acc0d534f08ffd2a7891308d587c4d63ce63be3377ae83"
[update]
[update.modrinth]
mod-id = "dzb1a5WV"
version = "zQDQbNih"
@@ -0,0 +1,13 @@
name = "Create: Enchantment Industry"
filename = "create-enchantment-industry-2.4.2.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/JWGBpFUP/versions/qUpvzZ83/create-enchantment-industry-2.4.2.jar"
hash-format = "sha512"
hash = "16bd3dcd82159d6793bd9cc24dcb911b90e838c67f781581afea8c6af21f53106ac54de7f2dffe1a8576cf8908e68658538a1c76d3c44691109a24bc60460436"
[update]
[update.modrinth]
mod-id = "JWGBpFUP"
version = "qUpvzZ83"
@@ -0,0 +1,13 @@
name = "[EMF] Entity Model Features"
filename = "entity_model_features-3.3.5-1.21-neoforge.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/4I1XuqiY/versions/szv0UmJn/entity_model_features-3.3.5-1.21-neoforge.jar"
hash-format = "sha512"
hash = "68761183a2dffee099800d3769eaa3f2c8f156b2c30102f20422b48914be914d9a929ca95837cf01c2d076679b291e338318938ae4fc927927925061aace2480"
[update]
[update.modrinth]
mod-id = "4I1XuqiY"
version = "szv0UmJn"
@@ -0,0 +1,13 @@
name = "[ETF] Entity Texture Features"
filename = "entity_texture_features-7.2.1-1.21-neoforge.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/BVzZfTc1/versions/XEJeKpgJ/entity_texture_features-7.2.1-1.21-neoforge.jar"
hash-format = "sha512"
hash = "8158242ce79b38a613de7696221eae24c9a451040143fbe43f8d8a37329d7debcb6164c0d42177d2f7db306e54f2d7bbd99eee74add39ad3871c70754edd8cb7"
[update]
[update.modrinth]
mod-id = "BVzZfTc1"
version = "XEJeKpgJ"
+13
View File
@@ -0,0 +1,13 @@
name = "Freecam"
filename = "freecam-neoforge-1.3.0+mc1.21.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/XeEZ3fK2/versions/ROfcbxxe/freecam-neoforge-1.3.0%2Bmc1.21.jar"
hash-format = "sha512"
hash = "06cfa2acdde8320ca19edf3f49e7a3860cc079bbad02fda493459109d745da237e19ff6a28d879d4c863ea4cd24d83b193ec82dd351540ad27991e239f1e7a72"
[update]
[update.modrinth]
mod-id = "XeEZ3fK2"
version = "ROfcbxxe"
+13
View File
@@ -0,0 +1,13 @@
name = "Fzzy Config"
filename = "fzzy_config-0.7.6+1.21+neoforge.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/hYykXjDp/versions/MAPG6cXE/fzzy_config-0.7.6%2B1.21%2Bneoforge.jar"
hash-format = "sha512"
hash = "6071890aba7f2273c9fd508914acc7850de9d986423760f9ce416875ffa04eea2ad71a7a6f4d5f90f0625a672f6f54606778d11151b155f3fd98c223c61a4a6d"
[update]
[update.modrinth]
mod-id = "hYykXjDp"
version = "MAPG6cXE"
+13
View File
@@ -0,0 +1,13 @@
name = "Immersive Paintings"
filename = "immersive_paintings-neoforge-1.21.1-0.7.8.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/6txNkua3/versions/DeOfrXC3/immersive_paintings-neoforge-1.21.1-0.7.8.jar"
hash-format = "sha512"
hash = "f08e759ab6bbdd8b2d00ae3e1cc7044dfe3efa86d34fbbf7553d097ad1be358818d6569902b122cff2654c3a0942eb1a7406cf17ca537386b7d382aa8454b326"
[update]
[update.modrinth]
mod-id = "6txNkua3"
version = "DeOfrXC3"
@@ -0,0 +1,13 @@
name = "Just Enough Professions (JEP)"
filename = "JustEnoughProfessions-neoforge-1.21.1-4.0.5.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/kB56GtWA/versions/Avs9oGLn/JustEnoughProfessions-neoforge-1.21.1-4.0.5.jar"
hash-format = "sha512"
hash = "2d9ecd7dbe8a676447009a6943b99f54bb732d084d220c09b79636293e67596f8e0ac1d1a849ad1077126b5e9da4aff31c5bfd81836459190c63b974500c8363"
[update]
[update.modrinth]
mod-id = "kB56GtWA"
version = "Avs9oGLn"
@@ -0,0 +1,13 @@
name = "Just Enough Resources (JER)"
filename = "JustEnoughResources-NeoForge-1.21.1-1.6.0.17.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/uEfK2CXF/versions/TgNFki8j/JustEnoughResources-NeoForge-1.21.1-1.6.0.17.jar"
hash-format = "sha512"
hash = "9a4f8c32e65d5f9451edcf1a584b22b9f590dab2cfb3efb68ef2b4c042d8ff39dcfdaddba0a9d615c7af4ecfa1cefda417c8972d7dcb54e574837ec81d6939b0"
[update]
[update.modrinth]
mod-id = "uEfK2CXF"
version = "TgNFki8j"
+13
View File
@@ -0,0 +1,13 @@
name = "Just Enough Breeding (JEBr)"
filename = "justenoughbreeding-neoforge-1.21.1-3.2.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/9Pk89J3g/versions/lVl2kVwh/justenoughbreeding-neoforge-1.21.1-3.2.1.jar"
hash-format = "sha512"
hash = "d1e9970f615d7a0986f030259d7d16cc4ba8cbd89bb81d1a1fbf6da2d3a9c7a0376957e1b418bcd82c9e45dcbdb6eb05fde2e20cc3f5225db33d0436759baee6"
[update]
[update.modrinth]
mod-id = "9Pk89J3g"
version = "lVl2kVwh"
+13
View File
@@ -0,0 +1,13 @@
name = "Kotlin for Forge"
filename = "kotlinforforge-5.12.0-all.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/ordsPcFz/versions/uhJhCT7X/kotlinforforge-5.12.0-all.jar"
hash-format = "sha512"
hash = "b8c3942f4d33179edf3f102f3d870b99dd436f8b8236dbbd31aa51b888162c692cfd88927295f24dc8b4375232f4c6c17360c5d6c4823f93cbcd7cf4bdc8bd14"
[update]
[update.modrinth]
mod-id = "ordsPcFz"
version = "uhJhCT7X"
+13
View File
@@ -0,0 +1,13 @@
name = "Ok Zoomer - It's Zoom!"
filename = "ok_zoomer-neo-10.0.0-beta.13.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/aXf2OSFU/versions/AkPuuAgJ/ok_zoomer-neo-10.0.0-beta.13.jar"
hash-format = "sha512"
hash = "a7abed243ef8f535dbd24dc6e8a211cc42d28ff2c72322f04dc289e2de6fde4ca00ee2dd3943fad7aa24dc3af497b379c05e10f827ed24a737a73bdb1b142c6e"
[update]
[update.modrinth]
mod-id = "aXf2OSFU"
version = "AkPuuAgJ"
@@ -0,0 +1,13 @@
name = "Proxy Compatible Forge"
filename = "proxy-compatible-forge-1.3.1.jar"
side = "server"
[download]
url = "https://cdn.modrinth.com/data/vDyrHl8l/versions/qiZ49HIW/proxy-compatible-forge-1.3.1.jar"
hash-format = "sha512"
hash = "dba5b70fedcb0f5fdc014801ab43e6d048f24b531de8aea5b70ea223760b66ae9fba3033c2ccd9d78793b9ea2f9d3b47ae1f4caa95aa129d989f97e63636b4ab"
[update]
[update.modrinth]
mod-id = "vDyrHl8l"
version = "qiZ49HIW"
+13
View File
@@ -0,0 +1,13 @@
name = "Screenshot Viewer"
filename = "screenshot_viewer-1.3.4-neoforge-mc1.21.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/laNoi025/versions/efjk3jeu/screenshot_viewer-1.3.4-neoforge-mc1.21.1.jar"
hash-format = "sha512"
hash = "3aa3959a518a0a5eeede72ba699d9b1974486736b8c0c6c5a624ca286f4f73dce5cea80a3e207b7e96dfe22a65a803aa5e240beb535f343459757cc474836029"
[update]
[update.modrinth]
mod-id = "laNoi025"
version = "efjk3jeu"
+13
View File
@@ -0,0 +1,13 @@
name = "Create Slice & Dice"
filename = "sliceanddice-4.3.3-neoforge.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/GmjmRQ0A/versions/N67LJgrN/sliceanddice-4.3.3-neoforge.jar"
hash-format = "sha512"
hash = "3bdbd282ae5aa11ef6c186b752497541730b50fb400c4962230bcd7734cfe4e8daa2ee565387450dfe0eb6deaa0fa44bf81f99c788bac09b1a60d8f1991db37f"
[update]
[update.modrinth]
mod-id = "GmjmRQ0A"
version = "N67LJgrN"
@@ -0,0 +1,13 @@
name = "Sophisticated Backpacks"
filename = "sophisticatedbackpacks-1.21.1-3.25.78.2107.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/TyCTlI4b/versions/6apvKKGZ/sophisticatedbackpacks-1.21.1-3.25.78.2107.jar"
hash-format = "sha512"
hash = "c2c9bc314068eb4a216dc8cd0826e7763ffa49f948595c9454a42ac80b1d0bd8e83a40752c6ee374ca5cdaafbf34be0577105b77947d7c2e60e1e7695630f7b7"
[update]
[update.modrinth]
mod-id = "TyCTlI4b"
version = "6apvKKGZ"
+13
View File
@@ -0,0 +1,13 @@
name = "Sophisticated Core"
filename = "sophisticatedcore-1.21.1-1.4.90.2299.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/nmoqTijg/versions/zvRSOlro/sophisticatedcore-1.21.1-1.4.90.2299.jar"
hash-format = "sha512"
hash = "aa335c59b20d93aedb88e59ec85c04121fa682fab1ea4a080d7b88d7b545db83ef7c019f2334f0aee5605da2a6997c442e58a295cf9656b57bba986bf2427104"
[update]
[update.modrinth]
mod-id = "nmoqTijg"
version = "zvRSOlro"
+2 -2
View File
@@ -1,6 +1,6 @@
name = "Forever-AGS"
name = "agsmc-forever"
author = "ahmza"
version = "1.1.0"
version = "1.1.2"
pack-format = "packwiz:1.1.0"
[index]
-84
View File
@@ -1,84 +0,0 @@
# Playground
Playground is the experimental Minecraft environment.
Unlike Forever World, this pack is intentionally disposable and exists for testing mods, updates and configuration changes without risking the permanent world.
## Purpose
Use Playground for:
- evaluating new mods
- testing major mod updates
- testing Minecraft/NeoForge upgrades
- experimenting with world generation
- testing compatibility between mods
- testing configuration changes
- reproducing crashes
- validating potential Forever World changes
The world may be reset or replaced at any time.
## Platform
The Minecraft and NeoForge versions may change depending on what is being tested.
Packwiz remains the source of truth for the pack.
## Deployment
Development builds are published at:
```text
https://mc.ahmza.com/playground/dev/pack.toml
```
The Pterodactyl server should normally use:
```text
PACKWIZ_AUTO_SYNC=1
```
so restarting Playground synchronises it with the latest published pack.
## Development
Playground changes can normally be committed directly to `main`:
```bash
cd playground
packwiz add <mod>
packwiz refresh
git add .
git commit -m "Test <mod> in Playground"
git push
```
Feature branches may be used for larger experiments, but are not required for routine testing.
## Promotion to Forever World
A mod working in Playground does not automatically make it suitable for Forever World.
Before promotion consider:
- stability
- maintenance activity
- compatibility
- world-save impact
- dependencies
- performance
- removal behaviour
- future Minecraft upgrade prospects
Mods considered suitable should then be added independently to the Forever pack and tested against the Forever staging server.
## Persistence
Nothing in Playground should be considered permanent.
Worlds, configs and mods may be removed or reset as required.
If something matters, move it into the appropriate version-controlled configuration before relying on it.
+71
View File
@@ -0,0 +1,71 @@
#!/bin/sh
# Assemble the exact URL layout documented in .gitea/README.md from committed
# Git revisions. Using git archive, rather than copying the working tree, keeps
# uncommitted experiments and ignored pack exports out of published images.
set -eu
repo_root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
cd "$repo_root"
dev_ref=${1:-HEAD}
packwiz_bin=${PACKWIZ_BIN:-packwiz}
build_root="$repo_root/.build"
site_root="$build_root/site"
work_root="$build_root/work"
if ! command -v "$packwiz_bin" >/dev/null 2>&1; then
echo "Packwiz executable not found: $packwiz_bin" >&2
exit 1
fi
rm -rf "$site_root" "$work_root"
mkdir -p "$site_root/forever/releases" "$work_root"
export_pack() {
revision=$1
pack=$2
destination=$3
scratch="$work_root/export"
rm -rf "$scratch"
mkdir -p "$scratch" "$(dirname -- "$destination")"
if ! git cat-file -e "$revision:$pack/pack.toml" 2>/dev/null; then
return 1
fi
git archive "$revision" "$pack" | tar -x -C "$scratch"
mv "$scratch/$pack" "$destination"
# Source packs intentionally omit internal hashes. Generate the distributable
# index only in the ephemeral image-build tree, never in the Git checkout.
(
cd "$destination"
"$packwiz_bin" refresh --build
)
}
# main is always the development source, including when this script runs for a
# release-tag event whose checked-out commit is intentionally older than main.
export_pack "$dev_ref" forever "$site_root/forever/dev"
# Each forever-vX.Y.Z tag becomes an immutable URL. Version-aware Git sorting
# also identifies the newest release to copy to the stable channel.
release_tags=$(git tag --list 'forever-v*' --sort=-version:refname \
| grep -E '^forever-v[0-9]+\.[0-9]+\.[0-9]+$' || true)
for tag in $release_tags; do
version=${tag#forever-}
export_pack "$tag" forever "$site_root/forever/releases/$version"
echo "Published Forever release $version"
done
latest_tag=$(printf '%s\n' "$release_tags" | sed -n '/./{p;q;}')
if [ -n "$latest_tag" ]; then
export_pack "$latest_tag" forever "$site_root/forever/stable"
echo "Promoted ${latest_tag#forever-} to Forever stable"
else
echo "No forever-vX.Y.Z tag exists; /forever/stable is not published yet" >&2
fi
rm -rf "$work_root"
+26
View File
@@ -0,0 +1,26 @@
[general]
# Listen on the Pod network. Kubernetes' Service and ingress-nginx provide the
# stable internal address and public TLS endpoint in front of this process.
host = "0.0.0.0"
port = 80
root = "/public"
log-level = "info"
# Packwiz clients need files, not browsable directory indexes or SPA fallback
# behavior. A missing pack/release must remain a real 404 rather than silently
# returning an unrelated document.
directory-listing = false
# ingress-nginx handles response compression. Disabling it here avoids doing
# the same CPU work twice for large TOML indexes.
compression = false
compression-static = false
# Development and stable paths can change, so do not emit SWS's long-lived
# static-asset cache policy. Release paths remain immutable by convention.
cache-control-headers = false
# Kubernetes probes this endpoint without depending on any particular pack
# having been published yet.
health = true