Compare commits

..
Author SHA1 Message Date
unimatrixgit
9e8f23810a Include requested Sigma goats in the ATM update capsule
Some checks failed
ATM RIA Copy and Sigma Goats / atm-ria-copy (push) Successful in 2m38s
DuneRealms Resourcepack CI / resourcepack (push) Has been cancelled
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-05 16:52:06 +01:00
unimatrixgit
986bf4d57e Add private RIA copy actions and prefilled voucher redemption 2026-12-05 16:52:00 +01:00
unimatrixgit
903e21dbe6 Allow goats in Sigma mountain biomes 2026-12-05 16:49:58 +01:00
unimatrixgit
1309c4d338 Allow paid home returns from local Nether and End dimensions
All checks were successful
Home Dimension Return Overlay / home-dimension (push) Successful in 1m17s
DuneRealms Plugin CI / plugins (push) Successful in 10m24s
2026-12-05 16:08:49 +01:00
unimatrixgit
2c6aedaf8a Package scoped station and iron door overlays for retained variants
Some checks failed
Station Origins and Iron Doors Overlay / station-and-doors (push) Successful in 2m9s
DuneRealms Plugin CI / plugins (push) Has been cancelled
DuneRealms Resourcepack CI / resourcepack (push) Has been cancelled
2026-12-05 15:53:23 +01:00
unimatrixgit
0e790bd154 Allow manual interaction with iron doors in DuneEss 2026-12-05 15:51:00 +01:00
unimatrixgit
aa9ed1ce9f Preserve Origin World across composter and workstation outputs 2026-12-05 15:40:13 +01:00
unimatrixgit
c5550fd96c Package profile-safe Multiverse Builder overlays
Some checks failed
Compact Dune Menu Overlay / compact-menu-links (push) Successful in 3m4s
Profile-safe Lobby Builder / builder-safety (push) Successful in 2m9s
Reviewed Lobby Multiverse Core / multiverse-core (push) Successful in 13s
DuneRealms Plugin CI / plugins (push) Has been cancelled
DuneRealms Resourcepack CI / resourcepack (push) Failing after 17s
2026-12-05 14:52:45 +01:00
unimatrixgit
06aecf855e Include profile-safe Multiverse Builder transfers 2026-12-05 14:49:00 +01:00
unimatrixgit
c87803a3e8 Isolate shared inventories during Multiverse Builder transfers 2026-12-05 14:45:48 +01:00
unimatrixgit
22a2b38211 Record the reviewed Lobby Multiverse configuration and vendor license 2026-12-05 14:33:37 +01:00
unimatrixgit
f4f8312f71 Include shared profile protection for Lobby Builder 2026-12-05 14:33:18 +01:00
unimatrixgit
534cfb1959 Stage pinned Multiverse Core for Lobby world transfers 2026-12-05 14:33:18 +01:00
unimatrixgit
8251851bc8 Protect shared profiles from stale Lobby Builder snapshots 2026-12-05 14:28:33 +01:00
unimatrixgit
35d153b516 Keep read-only cards aligned at the same compact size
All checks were successful
Compact Dune Menu Overlay / compact-menu-links (push) Successful in 3m20s
DuneRealms Plugin CI / plugins (push) Successful in 11m33s
2026-12-05 10:22:50 +01:00
unimatrixgit
61000857d0 Keep complete monetary labels visible on compact cards
All checks were successful
Compact Dune Menu Overlay / compact-menu-links (push) Successful in 3m25s
DuneRealms Plugin CI / plugins (push) Successful in 11m36s
2026-12-05 09:56:49 +01:00
unimatrixgit
b4dd9e42c3 Compact Dune menu cards and repair service navigation
Some checks failed
Compact Dune Menu Overlay / compact-menu-links (push) Successful in 3m16s
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-05 09:42:29 +01:00
unimatrixgit
31dbf92e9c Verify the exact quest arc assets in the complete pack
Some checks failed
Quest Arc Presentation Overlay / quest-story-arcs (push) Successful in 1m12s
DuneRealms Plugin CI / plugins (push) Has been cancelled
DuneRealms Resourcepack CI / resourcepack (push) Failing after 27s
2026-12-05 07:43:45 +01:00
unimatrixgit
c35522facd Package only quest journal classes and artwork for retained builds
Some checks failed
DuneRealms Plugin CI / plugins (push) Failing after 10m24s
Quest Arc Presentation Overlay / quest-story-arcs (push) Successful in 1m20s
2026-12-05 07:31:45 +01:00
unimatrixgit
2fff101b68 Group quest journal missions into illustrated story arcs 2026-12-05 07:29:24 +01:00
unimatrixgit
c470f2e983 Reject stale armor and wings at anvil pickup
Some checks failed
Elytra Anvil Overlay / elytra-anvil (push) Successful in 2m28s
DuneRealms Plugin CI / plugins (push) Has been cancelled
DuneRealms Resourcepack CI / resourcepack (push) Failing after 54s
2026-12-05 01:42:12 +01:00
unimatrixgit
70cc6a9f70 Build the exact elytra anvil overlay in CI
Some checks failed
Elytra Anvil Overlay / elytra-anvil (push) Successful in 1m35s
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-05 01:36:42 +01:00
unimatrixgit
0b9cbc4b8e Assemble the anvil merge on retained planetary JARVIS builds 2026-12-05 01:36:18 +01:00
unimatrixgit
be735f3c4f Merge chestplates and elytra in the native anvil 2026-12-05 01:32:55 +01:00
unimatrixgit
0330ec9653 Pin and build the Tweaks & Ladders staff consolidation candidate
All checks were successful
DuneStaff Build / dune-staff (push) Successful in 1m42s
DuneRealms Plugin CI / plugins (push) Successful in 10m43s
2026-12-04 22:44:58 +01:00
unimatrixgit
6362575c34 Draft the unified next-beta DuneStaff plugin 2026-12-04 22:40:02 +01:00
unimatrixgit
c3a36b2a30 Preserve actual workstation origins across native bulk crafting
Some checks failed
Native Workstation Origin Overlay / native-workstation (push) Successful in 1m27s
DuneRealms Plugin CI / plugins (push) Successful in 9m48s
DuneRealms Resourcepack CI / resourcepack (push) Failing after 18s
2026-12-04 21:32:12 +01:00
unimatrixgit
74c8cd95fc Pin the actual published input archives for the Lobby pack
Some checks failed
Lobby Pack Session Overlay / lobby-pack-session (push) Successful in 2m10s
DuneRealms Resourcepack CI / resourcepack (push) Has been cancelled
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:59:45 +01:00
unimatrixgit
399162e55e Merge commit '693037a982' into feat/lobby-pack-session-20261204
Some checks failed
Lobby Pack Session Overlay / lobby-pack-session (push) Has been cancelled
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:54:39 +01:00
unimatrixgit
acb09368f1 Preserve installed menu methods when enabling proxy pack readiness 2026-12-04 20:54:39 +01:00
unimatrixgit
24a1c246e0 Reproduce the universal Lobby pack from reviewed fleet assets 2026-12-04 20:51:38 +01:00
unimatrixgit
693037a982 Add naturally spawning cold pigs on Sigma
Some checks failed
Sigma Cold Pigs Overlay / sigma-cold-pigs (push) Successful in 1m18s
DuneRealms Resourcepack CI / resourcepack (push) Has been cancelled
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:50:06 +01:00
unimatrixgit
1a1f6c8d09 Merge commit '5bb36a4eb2' into fix/woodcutter-origin-20261204
Some checks failed
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:48:05 +01:00
unimatrixgit
dfc181d7d8 Exercise signed pack claims and revocation 2026-12-04 20:45:32 +01:00
unimatrixgit
f6b97434ee Carry Lobby pack acknowledgement across Velocity backend transfers 2026-12-04 20:43:30 +01:00
unimatrixgit
5bb36a4eb2 Package a scoped Guild and Cookbook overlay for each retained variant
Some checks failed
Guild and Cookbook Overlay / guild-cookbook (push) Successful in 2m27s
DuneRealms Resourcepack CI / resourcepack (push) Has been cancelled
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:35:31 +01:00
unimatrixgit
2e339864b9 Include WoodCutting producer patch source
All checks were successful
DuneRealms Plugin CI / plugins (push) Successful in 9m2s
2026-12-04 20:32:29 +01:00
unimatrixgit
f9484ff164 Stamp sawmill outputs at their WoodCutting producer
Some checks failed
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:32:18 +01:00
unimatrixgit
343084a60e Route Guild contacts to the passage menu and display native Cookbook recipes
Some checks failed
DuneRealms Plugin CI / plugins (push) Has been cancelled
2026-12-04 20:26:53 +01:00
165 changed files with 5549 additions and 100 deletions

View file

@ -0,0 +1,47 @@
name: ATM RIA Copy and Sigma Goats
on:
workflow_dispatch:
push:
branches: ['fix/atm-ria-copy-*']
jobs:
atm-ria-copy:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test ATM controls and preserve Sigma ecology
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneMenus test jar
gradle --no-daemon -p DuneTerrain test jar
mkdir atm-ria-copy
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_ria_copy import ATM, COPY
from plugin_wild_update import read_archive, write_archive
compiled=read_archive(Path('DuneMenus/build/libs/DuneMenus.jar').read_bytes())
Path('atm-ria-copy/donor.zip').write_bytes(write_archive({p:compiled[p] for p in (ATM,COPY)}))
PY
cp tools/{plugin_ria_copy.py,plugin_wild_update.py,plugin_sigma_goats.py,SigmaGoatMerge.java} atm-ria-copy/
printf '%s\n' "$GITHUB_SHA" > atm-ria-copy/SOURCE_COMMIT
(cd atm-ria-copy && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-ATM-RIA-Copy-Sigma-Goats
path: atm-ria-copy
if-no-files-found: error

View file

@ -0,0 +1,52 @@
name: Compact Dune Menu Overlay
on:
workflow_dispatch:
push:
branches: ['fix/compact-menu-links-*']
jobs:
compact-menu-links:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test menu routes and package only scoped UI classes
shell: bash
run: |
set -euo pipefail
for module in DuneRealmsGUI DuneMenus DuneLobby; do
gradle --no-daemon -p "$module" test jar
done
mkdir compact-menu-links
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_menu_polish import CLASSES
from plugin_wild_update import read_archive, write_archive
for module, jar in {"gui":"DuneRealmsGUI/build/libs/DunerealmsGUI.jar", "menus":"DuneMenus/build/libs/DuneMenus.jar", "lobby":"DuneLobby/build/libs/DuneRealms-Lobby.jar"}.items():
source = read_archive(Path(jar).read_bytes())
entries = list(CLASSES[module])
if module in ("gui", "menus"): entries.append("com/dunerealms/" + module + "/MenuPolish.class")
Path("compact-menu-links/" + module + ".zip").write_bytes(write_archive({e:source[e] for e in entries}))
PY
cp tools/{plugin_menu_polish.py,plugin_wild_update.py,CompactMenuMerge.java} compact-menu-links/
printf '%s\n' "$GITHUB_SHA" > compact-menu-links/SOURCE_COMMIT
(cd compact-menu-links && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Compact-Menu-Links
path: compact-menu-links
if-no-files-found: error

View file

@ -2,7 +2,7 @@ name: DuneStaff Build
on:
workflow_dispatch:
push:
branches: ['feat/staff-tools-*']
branches: ['feat/staff-tools-*', 'feat/tweaks-ladders-staff-*']
jobs:
dune-staff:
@ -24,7 +24,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Build standalone staff plugin
- name: Build staff plugin and run its tests
shell: bash
run: |
set -euo pipefail

View file

@ -0,0 +1,47 @@
name: Elytra Anvil Overlay
on:
workflow_dispatch:
push:
branches: ['feat/anvil-elytra-merge-*']
jobs:
elytra-anvil:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test JARVIS and build the anvil overlay
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p JarvisConnector test jar
mkdir elytra-anvil
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_elytra_anvil import ADDED, CHANGED, entry
from plugin_wild_update import read_archive, write_archive
source = read_archive(Path("JarvisConnector/build/libs/jarvistranslator.jar").read_bytes())
Path("elytra-anvil/donor.zip").write_bytes(write_archive({entry(name): source[entry(name)] for name in (*CHANGED, *ADDED)}))
PY
cp tools/{ElytraAnvilOverlay.java,plugin_elytra_anvil.py,plugin_wild_update.py} elytra-anvil/
printf '%s\n' "$GITHUB_SHA" > elytra-anvil/SOURCE_COMMIT
(cd elytra-anvil && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Elytra-Anvil
path: elytra-anvil
if-no-files-found: error

View file

@ -0,0 +1,54 @@
name: Guild and Cookbook Overlay
on:
workflow_dispatch:
push:
branches: ['fix/guild-navigator-*']
jobs:
guild-cookbook:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test and package exact overlay donors
shell: bash
run: |
set -euo pipefail
for module in DuneRealmsGUI DuneNPC DuneLobby; do
gradle --no-daemon -p "$module" test jar
done
mkdir guild-cookbook
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_guild_cookbook import CLASSES
from plugin_wild_update import read_archive, write_archive
for module, jar in (
("gui", "DuneRealmsGUI/build/libs/DunerealmsGUI.jar"),
("npc", "DuneNPC/build/libs/DuneRealms-NPC.jar"),
("lobby", "DuneLobby/build/libs/DuneRealms-Lobby.jar"),
):
entries = read_archive(Path(jar).read_bytes())
Path(f"guild-cookbook/{module}.zip").write_bytes(write_archive({entry: entries[entry] for entry in CLASSES[module]}))
PY
cp tools/{GuildCookbookMerge.java,plugin_guild_cookbook.py,plugin_wild_update.py} guild-cookbook/
printf '%s\n' "$GITHUB_SHA" > guild-cookbook/SOURCE_COMMIT
(cd guild-cookbook && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Guild-Cookbook
path: guild-cookbook
if-no-files-found: error

View file

@ -0,0 +1,47 @@
name: Home Dimension Return Overlay
on:
workflow_dispatch:
push:
branches: ['fix/home-dimension-return-*']
jobs:
home-dimension:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test DuneEss and extract the dimension route class
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneEss test jar
mkdir home-dimension
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_home_dimension import ROUTES
from plugin_wild_update import read_archive, write_archive
source = read_archive(Path("DuneEss/build/libs/DuneRealms-Essentials.jar").read_bytes())
Path("home-dimension/donor.zip").write_bytes(write_archive({ROUTES: source[ROUTES]}))
PY
cp tools/{HomeDimensionOverlay.java,plugin_home_dimension.py,plugin_wild_update.py} home-dimension/
printf '%s\n' "$GITHUB_SHA" > home-dimension/SOURCE_COMMIT
(cd home-dimension && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Home-Dimension-Return
path: home-dimension
if-no-files-found: error

View file

@ -0,0 +1,51 @@
name: Profile-safe Lobby Builder
on:
workflow_dispatch:
push:
branches: ['fix/compact-menu-links-*']
jobs:
builder-safety:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test inventory isolation and package the scoped classes
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneRealms-minecraft-only test jar
gradle --no-daemon -p DuneStaff test jar
mkdir lobby-builder-safety
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_builder_multiverse import CORE, BUILDER, CORE_CLASSES, LEASE, BUILDER_CLASSES
from plugin_wild_update import read_archive, write_archive
for name, jar, entries in [
("core", "DuneRealms-minecraft-only/build/libs/DuneRealms-Core.jar", [CORE+n for n in CORE_CLASSES+[LEASE]]),
("builder", "DuneStaff/build/libs/DuneStaff.jar", [BUILDER+n for n in BUILDER_CLASSES])
]:
compiled=read_archive(Path(jar).read_bytes())
Path("lobby-builder-safety/"+name+".zip").write_bytes(write_archive({n:compiled[n] for n in entries}))
PY
cp tools/{plugin_builder_multiverse.py,plugin_wild_update.py,BuilderProfileCoreOverlay.java} lobby-builder-safety/
printf '%s\n' "$GITHUB_SHA" > lobby-builder-safety/SOURCE_COMMIT
(cd lobby-builder-safety && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Lobby-Builder-Safety
path: lobby-builder-safety
if-no-files-found: error

View file

@ -0,0 +1,49 @@
name: Lobby Pack Session Overlay
on:
workflow_dispatch:
push:
branches: ['feat/lobby-pack-session-*']
jobs:
lobby-pack-session:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test proof handling and package the scoped proxy and GUI artifacts
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneRealmsGUI test jar
gradle --no-daemon -p DunePackProxy jar
mkdir lobby-pack-session
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_network_pack_menu import NEW, PATCHED
from plugin_wild_update import read_archive, write_archive
installed = read_archive(Path("DuneRealmsGUI/build/libs/DunerealmsGUI.jar").read_bytes())
Path("lobby-pack-session/gui-donor.zip").write_bytes(write_archive({entry: installed[entry] for entry in PATCHED + NEW}))
PY
cp DunePackProxy/build/libs/DunePackProxy.jar lobby-pack-session/
cp tools/{NetworkPackMenuMerge.java,plugin_network_pack_menu.py,plugin_wild_update.py,build_network_pack.py} lobby-pack-session/
printf '%s\n' "$GITHUB_SHA" > lobby-pack-session/SOURCE_COMMIT
(cd lobby-pack-session && sha256sum -- *.zip *.jar *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Lobby-Pack-Session
path: lobby-pack-session
if-no-files-found: error

View file

@ -0,0 +1,29 @@
name: Reviewed Lobby Multiverse Core
on:
workflow_dispatch:
push:
branches: ['fix/compact-menu-links-*']
jobs:
multiverse-core:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- name: Verify the official Core input and package Lobby configuration
shell: bash
run: |
set -euo pipefail
python3 tools/test_multiverse_core.py -v
python3 tools/stage_multiverse_core.py multiverse-core-lobby "$GITHUB_SHA"
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Multiverse-Core-Lobby
path: multiverse-core-lobby
if-no-files-found: error

View file

@ -0,0 +1,47 @@
name: Native Workstation Origin Overlay
on:
workflow_dispatch:
push:
branches: ['fix/native-workstation-outputs-*']
jobs:
native-workstation:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test JARVIS and build the producer overlay
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p JarvisConnector test jar
mkdir native-workstation
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_native_workstation import ENTRY, NEW
from plugin_wild_update import read_archive, write_archive
source = read_archive(Path("JarvisConnector/build/libs/jarvistranslator.jar").read_bytes())
Path("native-workstation/donor.zip").write_bytes(write_archive({entry: source[entry] for entry in [ENTRY, *NEW]}))
PY
cp tools/{NativeWorkstationMerge.java,plugin_native_workstation.py,plugin_wild_update.py} native-workstation/
printf '%s\n' "$GITHUB_SHA" > native-workstation/SOURCE_COMMIT
(cd native-workstation && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Native-Workstation-Origin
path: native-workstation
if-no-files-found: error

View file

@ -0,0 +1,51 @@
name: Quest Arc Presentation Overlay
on:
workflow_dispatch:
push:
branches: ['feat/quest-story-arcs-*']
jobs:
quest-story-arcs:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test the journal and package only quest arc classes and art
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneRealmsGUI test jar
mkdir quest-story-arcs
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from quest_arc_artwork import CATALOG, OVERLAY, artwork, gui_entries
from plugin_wild_update import read_archive, write_archive
source = read_archive(Path("DuneRealmsGUI/build/libs/DunerealmsGUI.jar").read_bytes())
Path("quest-story-arcs/donor.zip").write_bytes(write_archive({entry: source[entry] for entry in gui_entries()}))
assets = artwork(Path("."))
art = {f"{OVERLAY}/{name}": data for name, data in assets.items()}
art[CATALOG] = Path(CATALOG).read_bytes()
Path("quest-story-arcs/artwork.zip").write_bytes(write_archive(art))
PY
cp tools/{quest_arc_artwork.py,plugin_wild_update.py} quest-story-arcs/
printf '%s\n' "$GITHUB_SHA" > quest-story-arcs/SOURCE_COMMIT
(cd quest-story-arcs && sha256sum -- *.zip *.py SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Quest-Story-Arcs
path: quest-story-arcs
if-no-files-found: error

View file

@ -0,0 +1,49 @@
name: Sigma Cold Pigs Overlay
on:
workflow_dispatch:
push:
branches: ['fix/sigma-cold-pigs-*']
jobs:
sigma-cold-pigs:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test Terrain and package the reviewed donor class
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p DuneTerrain test jar
mkdir sigma-cold-pigs
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_sigma_cold_pigs import ENTRY
from plugin_wild_update import read_archive, write_archive
jars = list(Path("DuneTerrain/build/libs").glob("*.jar"))
assert len(jars) == 1
entries = read_archive(jars[0].read_bytes())
Path("sigma-cold-pigs/donor.zip").write_bytes(write_archive({ENTRY: entries[ENTRY]}))
PY
cp tools/{SigmaColdPigMerge.java,plugin_sigma_cold_pigs.py,plugin_wild_update.py} sigma-cold-pigs/
printf '%s\n' "$GITHUB_SHA" > sigma-cold-pigs/SOURCE_COMMIT
(cd sigma-cold-pigs && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Sigma-Cold-Pigs
path: sigma-cold-pigs
if-no-files-found: error

View file

@ -0,0 +1,51 @@
name: Station Origins and Iron Doors Overlay
on:
workflow_dispatch:
push:
branches: ['fix/station-origins-*']
jobs:
station-and-doors:
runs-on: dune-ci
steps:
- name: Check out exact revision
shell: bash
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -euo pipefail
git init .
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '9.2.1'
- name: Test both plugins and extract exact overlay donors
shell: bash
run: |
set -euo pipefail
gradle --no-daemon -p JarvisConnector test jar
gradle --no-daemon -p DuneEss test jar
mkdir station-and-doors
PYTHONPATH=tools python3 - <<'PY'
from pathlib import Path
from plugin_station_and_doors import donor_archive
output = Path("station-and-doors")
for role, jar in (
("station", "JarvisConnector/build/libs/jarvistranslator.jar"),
("ess", "DuneEss/build/libs/DuneRealms-Essentials.jar"),
):
(output / (role + "-donor.zip")).write_bytes(donor_archive(role, Path(jar)))
PY
cp tools/{StationAndDoorOverlay.java,plugin_station_and_doors.py,plugin_wild_update.py} station-and-doors/
printf '%s\n' "$GITHUB_SHA" > station-and-doors/SOURCE_COMMIT
(cd station-and-doors && sha256sum -- *.zip *.py *.java SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Station-Origins-Iron-Doors
path: station-and-doors
if-no-files-found: error

View file

@ -90,6 +90,7 @@ public final class DuneEss extends JavaPlugin implements CommandExecutor, TabCom
command.setExecutor(this);
command.setTabCompleter(this);
getServer().getPluginManager().registerEvents(this, this);
getServer().getPluginManager().registerEvents(new IronDoorInteraction(), this);
basics=new EssentialsBasics(this);
basics.register();
StaffItemTools.start(this);

View file

@ -0,0 +1,21 @@
package com.example.duneess;
import java.util.Set;
import org.bukkit.World;
/** Dimension returns on one backend, preserving the Guild boundary between planets. */
final class HomeDimensionRoutes {
private static final Set<String> MAIN_WORLDS = Set.of(
"arrakis", "caladan", "giedi_prime", "kaitain", "sigma_draconis_iv", "lobby_base");
private HomeDimensionRoutes() {}
static boolean canReturn(World source, Object destination) {
if (source == null || !(destination instanceof World target)) return false;
if (source.equals(target)) return true;
String main = target.getName();
if (target.getEnvironment() != World.Environment.NORMAL || !MAIN_WORLDS.contains(main)) return false;
return source.getEnvironment() == World.Environment.NETHER && source.getName().equals(main + "_nether")
|| source.getEnvironment() == World.Environment.THE_END && source.getName().equals(main + "_the_end");
}
}

View file

@ -0,0 +1,45 @@
package com.example.duneess;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.SoundCategory;
import org.bukkit.block.BlockFace;
import org.bukkit.block.data.Bisected;
import org.bukkit.block.data.type.Door;
import org.bukkit.event.Event;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.EquipmentSlot;
/** Give iron doors a manual interaction while retaining their redstone behavior. */
final class IronDoorInteraction implements Listener {
@EventHandler(priority = EventPriority.HIGHEST)
public void interact(PlayerInteractEvent event) {
if (event.getAction() != Action.RIGHT_CLICK_BLOCK || event.getHand() != EquipmentSlot.HAND
|| event.useInteractedBlock() == Event.Result.DENY) return;
var clicked = event.getClickedBlock();
if (clicked == null || clicked.getType() != Material.IRON_DOOR
|| !(clicked.getBlockData() instanceof Door door)) return;
var player = event.getPlayer();
if (player.getGameMode() == GameMode.SPECTATOR) return;
if (player.isSneaking() && (!player.getInventory().getItemInMainHand().isEmpty()
|| !player.getInventory().getItemInOffHand().isEmpty())) return;
var other = clicked.getRelative(door.getHalf() == Bisected.Half.TOP ? BlockFace.DOWN : BlockFace.UP);
if (other.getType() != Material.IRON_DOOR || !(other.getBlockData() instanceof Door otherDoor)
|| otherDoor.getHalf() == door.getHalf()) return;
boolean open = !door.isOpen();
door.setOpen(open);
otherDoor.setOpen(open);
clicked.setBlockData(door, false);
other.setBlockData(otherDoor, false);
clicked.getWorld().playSound(clicked.getLocation().add(.5, .5, .5),
open ? "minecraft:block.iron_door.open" : "minecraft:block.iron_door.close",
SoundCategory.BLOCKS, 1, 1);
event.setUseInteractedBlock(Event.Result.DENY);
event.setUseItemInHand(Event.Result.DENY);
}
}

View file

@ -50,7 +50,7 @@ final class PersonalHomeTravel implements Listener {
private void begin(Player p,Location destination,String mode){
boolean rescue=mode.equals("rescue");
if(!valid(destination)){p.sendMessage("That saved home is unavailable or outside the world's playable bounds.");return;}
if(!p.getWorld().equals(destination.getWorld())){p.sendMessage("Travel to that world through the Guild first, then use /home.");return;}
if(rescue?!p.getWorld().equals(destination.getWorld()):!HomeDimensionRoutes.canReturn(p.getWorld(),destination.getWorld())){p.sendMessage("Travel to that world through the Guild first, then use /home.");return;}
String id=p.getUniqueId().toString();if(waiting.containsKey(p.getUniqueId())||journal.contains(id)){p.sendMessage("Your home journey is already being completed.");return;}
var connector=Bukkit.getPluginManager().getPlugin("JarvisTranslator");if(connector==null||!connector.isEnabled()){p.sendMessage("Central home travel is unavailable. No payment was made.");return;}
UUID token=UUID.randomUUID(),world=p.getWorld().getUID();waiting.put(p.getUniqueId(),token);Location target=destination.clone();
@ -91,7 +91,7 @@ final class PersonalHomeTravel implements Listener {
if(!state.equals("pending")){journal.set(id,null);persist();return;}
if(!stage.equals("reserve"))return;
Player current=Bukkit.getPlayer(UUID.fromString(id));Location target=journal.getLocation(id+".destination");
if(current==null||!current.isOnline()||current.isDead()||!valid(target)||rescue&&!safe(target)||!current.getWorld().equals(target.getWorld())){stage(id,"cancel");return;}
if(current==null||!current.isOnline()||current.isDead()||!valid(target)||(rescue?!safe(target)||!current.getWorld().equals(target.getWorld()):!HomeDimensionRoutes.canReturn(current.getWorld(),target.getWorld()))){stage(id,"cancel");return;}
// Keep the busy latch until the actual native result. Crash recovery re-delivers the same destination.
current.teleportAsync(target).whenComplete((success,failure)->Bukkit.getScheduler().runTask(plugin,()->{
boolean arrived=Boolean.TRUE.equals(success)&&failure==null;

View file

@ -0,0 +1,34 @@
package com.example.duneess;
import org.bukkit.World;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.*;
class HomeDimensionRoutesTest {
@Test void onlyReturnsToTheOwningMainWorld() {
var sigma = world("sigma_draconis_iv", World.Environment.NORMAL);
var end = world("sigma_draconis_iv_the_end", World.Environment.THE_END);
var giedi = world("giedi_prime", World.Environment.NORMAL);
var nether = world("giedi_prime_nether", World.Environment.NETHER);
var build = world("lobby_arrakis", World.Environment.NORMAL);
assertTrue(HomeDimensionRoutes.canReturn(end, sigma));
assertTrue(HomeDimensionRoutes.canReturn(nether, giedi));
assertTrue(HomeDimensionRoutes.canReturn(giedi, giedi));
assertFalse(HomeDimensionRoutes.canReturn(end, giedi));
assertFalse(HomeDimensionRoutes.canReturn(nether, sigma));
assertFalse(HomeDimensionRoutes.canReturn(sigma, end));
assertFalse(HomeDimensionRoutes.canReturn(end, nether));
assertFalse(HomeDimensionRoutes.canReturn(build, sigma));
assertFalse(HomeDimensionRoutes.canReturn(end, null));
assertFalse(HomeDimensionRoutes.canReturn(world("sigma_draconis_iv_the_end", World.Environment.CUSTOM), sigma));
}
private static World world(String name, World.Environment environment) {
var world = mock(World.class);
when(world.getName()).thenReturn(name);
when(world.getEnvironment()).thenReturn(environment);
return world;
}
}

View file

@ -0,0 +1,84 @@
package com.example.duneess;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.SoundCategory;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.block.data.Bisected;
import org.bukkit.block.data.type.Door;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.EquipmentSlot;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.mockito.ArgumentMatchers.*;
import static org.mockito.Mockito.*;
class IronDoorInteractionTest {
private final IronDoorInteraction listener = new IronDoorInteraction();
private final PlayerInteractEvent event = mock(PlayerInteractEvent.class);
private final Player player = mock(Player.class);
private final Block upper = mock(Block.class);
private final Block lower = mock(Block.class);
private final Door top = mock(Door.class);
private final Door bottom = mock(Door.class);
private final World world = mock(World.class);
@BeforeEach void door() {
when(event.getAction()).thenReturn(Action.RIGHT_CLICK_BLOCK);
when(event.getHand()).thenReturn(EquipmentSlot.HAND);
when(event.useInteractedBlock()).thenReturn(Event.Result.DEFAULT);
when(event.getPlayer()).thenReturn(player);
when(player.getGameMode()).thenReturn(GameMode.SURVIVAL);
when(upper.getType()).thenReturn(Material.IRON_DOOR);
when(lower.getType()).thenReturn(Material.IRON_DOOR);
when(upper.getBlockData()).thenReturn(top);
when(lower.getBlockData()).thenReturn(bottom);
when(top.getHalf()).thenReturn(Bisected.Half.TOP);
when(bottom.getHalf()).thenReturn(Bisected.Half.BOTTOM);
when(upper.getRelative(BlockFace.DOWN)).thenReturn(lower);
when(lower.getRelative(BlockFace.UP)).thenReturn(upper);
when(upper.getWorld()).thenReturn(world);
when(lower.getWorld()).thenReturn(world);
when(upper.getLocation()).thenReturn(new Location(world, 1, 2, 1));
when(lower.getLocation()).thenReturn(new Location(world, 1, 1, 1));
}
@Test void topClickOpensBothHalvesWithoutChangingPower() {
when(event.getClickedBlock()).thenReturn(upper);
listener.interact(event);
verify(top).setOpen(true);
verify(bottom).setOpen(true);
verify(top, never()).setPowered(anyBoolean());
verify(bottom, never()).setPowered(anyBoolean());
verify(upper).setBlockData(top, false);
verify(lower).setBlockData(bottom, false);
verify(world).playSound(any(Location.class), eq("minecraft:block.iron_door.open"), eq(SoundCategory.BLOCKS), eq(1f), eq(1f));
verify(event).setUseItemInHand(Event.Result.DENY);
}
@Test void bottomClickClosesBothHalves() {
when(event.getClickedBlock()).thenReturn(lower);
when(bottom.isOpen()).thenReturn(true);
listener.interact(event);
verify(top).setOpen(false);
verify(bottom).setOpen(false);
verify(world).playSound(any(Location.class), eq("minecraft:block.iron_door.close"), eq(SoundCategory.BLOCKS), eq(1f), eq(1f));
}
@Test void protectedAndOffHandClicksNeverToggle() {
when(event.getClickedBlock()).thenReturn(upper);
when(event.useInteractedBlock()).thenReturn(Event.Result.DENY);
listener.interact(event);
when(event.useInteractedBlock()).thenReturn(Event.Result.DEFAULT);
when(event.getHand()).thenReturn(EquipmentSlot.OFF_HAND);
listener.interact(event);
verifyNoInteractions(top, bottom, world);
}
}

View file

@ -175,8 +175,12 @@ public final class DuneLobby extends JavaPlugin implements Listener, CommandExec
String role=e.getRightClicked().getPersistentDataContainer().get(roleKey,PersistentDataType.STRING);
if(role==null) return; e.setCancelled(true); if(e.getHand()!=EquipmentSlot.HAND) return;
switch(role) {
case "liaison" -> { if(Bukkit.getPluginCommand("duneess")!=null) e.getPlayer().performCommand("duneess travel"); else departure(e.getPlayer(),"arrakis"); }
case "exchange" -> { if(Bukkit.getPluginCommand("dune")!=null) e.getPlayer().performCommand("dune exchange"); else e.getPlayer().sendMessage(ChatColor.GOLD+"Koopkring market integration requires DuneCore on this backend."); }
case "liaison" -> {
if (!e.getPlayer().performCommand("dunerealmsgui:guildtravel")) {
e.getPlayer().sendMessage("The Spacing Guild menu is unavailable.");
}
}
case "exchange" -> { if(!e.getPlayer().performCommand("dunerealmsgui:exchange")) e.getPlayer().sendMessage("The Exchange service is temporarily unavailable."); }
case "water","spice" -> trade(e.getPlayer(),role);
}
}
@ -203,29 +207,11 @@ public final class DuneLobby extends JavaPlugin implements Listener, CommandExec
}
}
private void departure(Player player,String planet) {
TravelMenu menu=new TravelMenu(planet); ItemStack confirm=new ItemStack(Material.LIME_CONCRETE); ItemMeta meta=confirm.getItemMeta();
meta.setDisplayName("Confirm departure: "+planet); meta.setLore(List.of("DuneEss fares and access rules apply when installed.")); confirm.setItemMeta(meta);
menu.inventory.setItem(4,confirm);
com.example.dunegui.NativeMenus.show(this,player,"Guild departure",List.of(
new com.example.dunegui.NativeMenus.Choice("Confirm departure: "+planet,"DuneEss fares and access rules apply.",()->depart(player,planet)),
new com.example.dunegui.NativeMenus.Choice("Cancel","",player::closeInventory)));
}
private void departure(Player player,String planet) { depart(player,planet); }
private void depart(Player player,String planet) {
long now=System.currentTimeMillis(); if(now-travelCooldown.getOrDefault(player.getUniqueId(),0L)<5000) return;
travelCooldown.put(player.getUniqueId(),now);
Bukkit.getScheduler().runTask(this,()-> {
player.closeInventory();
if(Bukkit.getPluginCommand("duneess")!=null) { player.performCommand("duneess travel "+planet); return; }
World target=Bukkit.getWorld(planet);
if(target!=null) { player.teleport(target.getSpawnLocation()); return; }
String server=getConfig().getString("servers."+planet,"");
if(server.isBlank()) { player.sendMessage("No destination configured."); return; }
try {
ByteArrayOutputStream bytes=new ByteArrayOutputStream(); DataOutputStream out=new DataOutputStream(bytes); out.writeUTF("Connect"); out.writeUTF(server);
player.sendPluginMessage(this,"BungeeCord",bytes.toByteArray()); player.sendMessage("Guild departure requested. If you remain here, the destination or proxy is unavailable.");
} catch(IOException ex) { player.sendMessage("Guild departure could not be requested."); }
});
// Boarding remains with the authenticated current Guild quote and confirmation flow.
if (!player.performCommand("dunerealmsgui:guildtravel"))
player.sendMessage("The Spacing Guild menu is temporarily unavailable.");
}
@EventHandler public void drag(InventoryDragEvent e) { if(e.getView().getTopInventory().getHolder() instanceof TravelMenu) e.setCancelled(true); }
@EventHandler public void quit(PlayerQuitEvent e) { travelCooldown.remove(e.getPlayer().getUniqueId()); }

Some files were not shown because too many files have changed in this diff Show more