Merge branch 'beta' of ../mcdune into migration-main
28
.github/workflows/lobby.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: Build Guild Lobby companion
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main, beta]
|
||||
paths: ['DuneLobby/**', 'worlds/**', '.github/workflows/lobby.yml']
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: '8.14'
|
||||
- run: gradle -p DuneLobby build
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Dune-Guild-Lobby
|
||||
path: |
|
||||
DuneLobby/build/libs/*.jar
|
||||
worlds/Dune-Guild-Lobby-1.1.0.zip
|
||||
DuneLobby/README.md
|
||||
DuneLobby/VALIDATION.md
|
||||
if-no-files-found: error
|
||||
83
DuneLobby/README.md
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# Spacing Guild lobby world
|
||||
|
||||
A separate **Minecraft Java / Paper 1.21.4 / Java 21** End-dimension lobby. The rebuilt 1.1.0 world is already built and saved in [`../worlds/Dune-Guild-Lobby-1.1.0.zip`](../worlds/Dune-Guild-Lobby-1.1.0.zip); the deterministic builder and runtime companion are here. It does not replace a planet world.
|
||||
|
||||

|
||||
|
||||
The image above is an actual Minecraft 1.21.4 client capture of the rebuilt world, using vanilla rendering. Version 1.1.0 replaces the simplified 1.0.0 draft. It has opaque interior walls, enclosed connecting halls and flat ceilings; no outside or sky views. The original AI overview remains in previews as a historical reference, not evidence of the delivered build. The independently decoded block plan is in previews/actual-1.1.0/.
|
||||
|
||||
## Rooms
|
||||
|
||||
| Room | Centre X/Z | Contents |
|
||||
|---|---|---|
|
||||
| Central spawn | 0 / 0 | Safe arrival at **0.5, 81, 10.5**, facing north; monumental amber Navigator tank on a broad stepped dais, upper galleries and Guild liaison |
|
||||
| Starport / teleport | -78 / -58 | Dune II inspired square arrival apron, grounded frigate, control tower and **five raised launch pads** with striped edges, lights and destination consoles |
|
||||
| Official Exchange | -66 / 40 | CHOAM counters, commodities, storage and Exchange Broker |
|
||||
| News | 62 / -42 | Illustrated dispatch panel, reading benches and interactive news lecterns |
|
||||
| Rules | 62 / 37 | Charter panel, benches and interactive rules lecterns |
|
||||
| Smuggler exchange | -66 / 101 | Enclosed dim side passage, framed paintings, screens, brown awnings, pipes, crates and worn copper; separate **water** and **spice** seller NPCs |
|
||||
|
||||
All rooms connect by enclosed corridors. Launch consoles ask for confirmation. There are no Nether portals: the starport is a landing/launch design.
|
||||
|
||||
## Install the already built world
|
||||
|
||||
1. Use a **separate lobby Paper backend**. Stop that server before copying files. Leave existing planet servers and worlds in place.
|
||||
2. Extract the ZIP into the server directory. It contains `guild_lobby/`, `plugins/DuneLobby-1.1.0.jar`, and these setup instructions. Do not extract over an existing `guild_lobby`; preserve it separately first.
|
||||
3. Install [ImageFrame from Spigot](https://www.spigotmc.org/resources/106031/). The tested version is **2026.1.5.0**, which lists Minecraft 1.21.4 support. With Python available, `python DuneLobby/tools/install_imageframe.py /path/to/lobby-server` downloads that exact dependency and verifies its SHA256. The third-party JAR is not vendored in this repository/package. Dependency source: <https://github.com/LOOHP/ImageFrame> (GPL-3.0).
|
||||
4. Start Paper. DuneLobby loads `guild_lobby` as **THE_END**, preserves the saved blocks and restores the 25 ImageFrame paintings. Artwork is included in DuneLobby's JAR, so no remote artwork hosting is required. ImageFrame map IDs are allocated for this server rather than trusting IDs from another world. Keep ImageFrame installed to render the pictures.
|
||||
5. `/lobby` returns to central spawn. Console `dunelobby verify` checks spawn clearance, room/pad/vendor accessibility, NPCs and artwork. Console `dunelobby artwork` restores decorations if required; it reuses registered image maps instead of creating duplicates.
|
||||
|
||||
DuneLobby creates a world only when **console** runs `dunelobby build`, and refuses if a folder with that name already exists. This command is for reproducing a new world, not installing the included map. No planet file or existing lobby structure is regenerated on startup. To replace a 1.0.0 lobby, stop the server, preserve that old guild_lobby folder, and import the new ZIP; merely updating the JAR will not replace the draft geometry.
|
||||
|
||||
Keep Paper's default primary world as a small bootstrap world; the plugin loads the End lobby as a secondary world and routes joins/respawns there. Do not use `guild_lobby` as `level-name`, since that loads it as the primary overworld before the plugin can select THE_END. Example **lobby backend** settings:
|
||||
|
||||
```properties
|
||||
level-name=lobby_bootstrap
|
||||
level-type=minecraft:flat
|
||||
generator-settings={"layers":[],"biome":"minecraft:the_void","structures":{}}
|
||||
generate-structures=false
|
||||
allow-nether=false
|
||||
spawn-protection=0
|
||||
```
|
||||
|
||||
For an existing multiworld server instead of a dedicated backend, set `join-at-lobby: false` and `respawn-at-lobby: false` in `plugins/DuneLobby/config.yml` to preserve other plugins' routing. The shipped ZIP is a **Paper multiworld import**, not a standalone singleplayer save or a schematic. DuneLobby supplies the void generator and prevents new End terrain around the build.
|
||||
|
||||
## Network and economy
|
||||
|
||||
- Optional DuneEss: launch consoles call the player's existing `/duneess travel <planet>`, preserving configured fares, permissions and Arrakis checks. The Navigator liaison opens `/duneess travel`.
|
||||
- Without DuneEss: consoles teleport to an already loaded planet world, or request a Velocity/Bungee `Connect` using the names in the lobby config. Requests have no delivery acknowledgment and charge no fare. Configure and test the destinations on your own network; no live server deployment is performed by this package.
|
||||
- The Exchange Broker opens `/dune exchange` when DuneCore is installed. Without DuneCore it explains that the official market needs that integration; no fake Solaris balances are created.
|
||||
- Both smuggler sellers work without DuneCore/Vault: one drinking water potion for 4 emeralds, one orange-dye spice sample for 8 emeralds (configurable). **These are lobby barter goods**, deliberately not tagged finite Arrakis water or redeemable DuneCore spice. This avoids minting Solaris or faction rewards outside the existing economy. They are stationary, named, invulnerable villagers with custom merchant menus.
|
||||
- News and rules lecterns display the text in the companion config. Run `dunelobby reload` after edits. Illustrated noticeboards are static artwork, not a live website feed.
|
||||
|
||||
Velocity example (adapt the backend address):
|
||||
|
||||
```toml
|
||||
[servers]
|
||||
lobby = "127.0.0.1:25570"
|
||||
# Keep existing planet entries.
|
||||
try = ["lobby"]
|
||||
|
||||
[advanced]
|
||||
bungee-plugin-message-channel = true
|
||||
```
|
||||
|
||||
Use your existing modern forwarding configuration and forwarding secret. Do not install DuneTerrain on a dedicated lobby backend, since it is intended to create a selected planet. DuneCore/DuneEss remain optional and their shared economy/database setup is unchanged.
|
||||
|
||||
## Protection and build
|
||||
|
||||
Visitors cannot break/place blocks, manipulate frames, use ordinary container blocks or damage entities in the lobby. Explosions do not damage blocks, hostile spawns are suppressed, and falling below the build returns the player to spawn. Operators have `dunelobby.build` for maintenance; other worlds are unaffected. This companion does not implement a general-purpose region protection system for other plugins' console edits.
|
||||
|
||||
Build the companion with `gradle -p DuneLobby build` using Java 21 and Gradle 8.14+. Typographic boards are reproducible with `python DuneLobby/tools/prepare_boards.py` (Pillow). Existing project artwork is copied unchanged from `docs/artwork`. The build embeds the local artwork; it downloads no artwork.
|
||||
|
||||
Design references: [1984 Navigator / heighliner production artwork](https://www.duneinfo.com/arrakis/navigators/), [Dune II Starport](https://dunerts.wiki.gg/wiki/Starport_(Dune_II)). Reference designs are interpreted in blocks; the original game sprites and film stills are not included as new assets.
|
||||
|
||||
## Validation
|
||||
|
||||
See `VALIDATION.md` for the recorded build, actual saved-world checks and limitations. The package includes `manifest.json` with file hashes. No live network, paid Solaris transfer or real player account is used in local validation.
|
||||
|
||||
## Rendering and compatibility
|
||||
|
||||
There are 25 ImageFrame paintings (1,024 map tiles), plus framed item displays and lit copper/blackstone borders. Local artwork is embedded in the companion JAR. No client mod or shader is required. The visual check used the installed Java client against a loopback-only test server. Computer control was then stopped by the user; no further app input was issued.
|
||||
|
||||
The companion disables the End dragon-fight controller using the tested Paper 1.21.4 ServerLevel.setDragonFight API through a narrow reflection adapter. This prevents a boss bar, dragon and exit-portal generation after a real player joins. Other Paper versions require validation; incompatible versions report an explicit error instead of silently claiming the lobby is ready.
|
||||
31
DuneLobby/VALIDATION.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Guild lobby 1.1.0 validation — 2026-10-18
|
||||
|
||||
This rebuild supersedes the simplified 1.0.0 draft. The current package is `worlds/Dune-Guild-Lobby-1.1.0.zip` (21,383,329 bytes), SHA256 `f66c0bc3192a1b1010b28e7123af60133b7ec32a2eb5fc62ca88e6d36a2bc5cf`.
|
||||
|
||||
## Changes and visual evidence
|
||||
|
||||
- Monumental Navigator tank, broad stepped dais, gold floor medallion, upper galleries, carved blackstone columns, short diagonal connections and furnished rooms replace the sparse grid layout.
|
||||
- All connecting halls and room boundaries are opaque interiors with flat ceilings. There are no exterior/sky views. The outer enclosure is opaque too.
|
||||
- Twenty-five ImageFrame paintings use 1,024 map tiles; fifteen separate item displays decorate the official market. Water and spice sellers remain separate NPCs in the dim, screened smuggler market.
|
||||
- `previews/actual-1.1.0/navigator-chamber.jpg` is an actual installed Minecraft Java 1.21.4 client window capture, using vanilla rendering. It was displayed to the user before their approval. It is not an AI rendering. The historical concept remains separately labelled.
|
||||
- The real client joined the local loopback test server. An End dragon-controller issue discovered during that check was corrected: the companion disables the controller through the tested Paper 1.21.4 adapter, preventing the boss bar, dragon and vanilla exit portal from appearing.
|
||||
- Computer control was stopped by the user after the visual check. No further app input was issued. The previously captured game image was exported as an artifact through file operations.
|
||||
|
||||
## Checks completed
|
||||
|
||||
1. Java 21 / Gradle 8.14 build passed against Paper API 1.21.4. There is no separate unit-test suite; these checks run the real server and decode the saved world.
|
||||
2. Built a fresh world on Paper 1.21.4 build 232 with ImageFrame 2026.1.5.0. The builder performed 565,328 block placements.
|
||||
3. Restarted with the final companion, restored all 25 image maps and verified the saved world without regenerating its blocks.
|
||||
4. Runtime flood-fill and environment checks passed: six rooms, both seller approaches, five launch pads, four named NPCs, 1,024 artwork frames, clear supported spawn, opaque flat ceiling/enclosure and no active dragon battle controller.
|
||||
5. After clean shutdown, an independent Anvil/NBT reader confirmed data version 4189, spawn 0/81/10, 386,882 non-air blocks in the inspected height range (including enclosure), four villagers, 1,024 glowing painting frames, fifteen item frames, six text labels, and no Ender Dragon. It checked the flat ceiling and outer walls directly from saved blocks. Results and an actual-block plan are in `previews/actual-1.1.0/`.
|
||||
6. ZIP integrity check passed. The package includes a per-file SHA256 manifest, the actual saved End chunks, companion JAR and setup/dependency installer. Locks, UUID identity files, player data and the server executable are excluded. Local test servers were shut down.
|
||||
|
||||
Final runtime output:
|
||||
|
||||
```text
|
||||
GUILD_VERIFY PASS walkable=13791 artwork=1024 []
|
||||
```
|
||||
|
||||
## Limits
|
||||
|
||||
The screenshot verifies the Navigator interior; it is not a claim of pixel-for-pixel equivalence to the earlier AI art. Other room geometry, paint placement and connectivity were checked from the saved world and running server. Merchant clicks, paid Solaris transfers, remote proxy destinations and production concurrency were not exercised. No live server was deployed. The smuggler merchants use emerald barter and sample goods, separate from redeemable faction rewards. Paper versions other than the tested 1.21.4 require validation because the dragon-controller adapter is version-specific. Install the new world folder to replace a 1.0.0 draft; updating only the JAR deliberately leaves existing blocks intact.
|
||||
BIN
DuneLobby/artwork/arrakis-cover.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
DuneLobby/artwork/exchange.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
DuneLobby/artwork/guild-navigator.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
DuneLobby/artwork/news.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
DuneLobby/artwork/rules.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
DuneLobby/artwork/shai-hulud-encounter.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
DuneLobby/artwork/sietch-panorama.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
DuneLobby/artwork/smuggler-spice-mission.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
DuneLobby/artwork/smuggler-water-camp.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
DuneLobby/artwork/spice-expedition.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
DuneLobby/artwork/world-0.png
Normal file
|
After Width: | Height: | Size: 537 KiB |
BIN
DuneLobby/artwork/world-1.png
Normal file
|
After Width: | Height: | Size: 513 KiB |
BIN
DuneLobby/artwork/world-2.png
Normal file
|
After Width: | Height: | Size: 613 KiB |
BIN
DuneLobby/artwork/world-3.png
Normal file
|
After Width: | Height: | Size: 597 KiB |
BIN
DuneLobby/artwork/world-4.png
Normal file
|
After Width: | Height: | Size: 556 KiB |
8
DuneLobby/build.gradle.kts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
plugins { java }
|
||||
group = "com.example"
|
||||
version = "1.1.0"
|
||||
repositories { mavenCentral(); maven("https://repo.papermc.io/repository/maven-public/") }
|
||||
dependencies { compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT") }
|
||||
java { toolchain.languageVersion.set(JavaLanguageVersion.of(21)) }
|
||||
tasks.withType<JavaCompile> { options.encoding = "UTF-8" }
|
||||
tasks.processResources { from("artwork") { into("artwork") } }
|
||||
12
DuneLobby/previews/README.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
## Delivered 1.1.0 interior
|
||||
|
||||
ctual-1.1.0/navigator-chamber.jpg is the actual installed Minecraft Java 1.21.4 client, captured during local visual verification. It is not an AI rendering. ctual-1.1.0/saved-world-plan.png and JSON are decoded from the saved blocks. The approved revision uses opaque interiors and flat ceilings; the older roofless concept below is retained only as historical design material.
|
||||
|
||||
# Lobby previews
|
||||
|
||||
- `guild-lobby-concept.png`: built-in ImageGen concept rendering, generated 2026-10-18. This is a visual design reference, not a Minecraft screenshot.
|
||||
- `saved-world-plan.png` and `.json`: rendered and inspected from the actual saved Anvil world by `tools/inspect_world.py`; no image-generation model is used for the plan.
|
||||
|
||||
Final ImageGen prompt (reference image was the preceding five-room starport concept):
|
||||
|
||||
> Update this Minecraft Dune Spacing Guild lobby rendering with a SIXTH room, a shady SMUGGLER EXCHANGE. Preserve every existing room: central spawn with amber Guild Navigator tank, Dune II-inspired STARPORT / TELEPORT upper left with square landing and launch pads and block-built frigate, official EXCHANGE left, NEWS upper right, RULES right, purple End atmosphere and gold/blackstone architecture. Widen framing or pull back as needed to show all six distinct connected rooms clearly. Add the new smugglers' den as a substantial enclosed annex in the lower foreground below the official Exchange, attached via a narrow dim side corridor branching off the official Exchange. It must be visibly different: lower vaulted ceiling (removed for cutaway), dark worn stone, rusty copper pipes, patchwork brown cloth awnings/screens, stacked barrels and crates, low amber lanterns, discreet violet accents. TWO separate Minecraft villager seller NPCs behind separate screened market counters: WATER SELLER next to blue glass water vessels and a cauldron, SPICE SELLER beside orange spice samples and sacks represented by brown blocks and barrels. Small clear labels over counters 'WATER' and 'SPICE'. Shady illicit back-room atmosphere but navigable and readable. Clearly label the new annex 'SMUGGLER EXCHANGE' with matching clean external architectural callout. Keep five other callouts correctly pointing to their rooms. Floor of annex is fully supported and bounded, no unsafe holes; visible corridor connection. High-quality architectural Minecraft shader concept overview, block-built geometry and pixel textures, no photoreal smooth creatures. Retain wall artwork in framed maps. One wide coherent elevated isometric roofless cutaway, clean presentation, no HUD or watermark.
|
||||

Staff