Repository navigation
Create: Distant Stock v0.3.63 · Dock-Only Enrollment & Short-ID Joins
v0.3.63 — Explicit Distant Dock Enrollment, 8-Character Network ID Joins, Faster Handshake
Reverts unsafe behavior introduced in v0.3.62. Creating or joining a Distant Stock network must never enroll a Create logistics network merely because the terminal previously selected it, nor should the warehouse picker list or enroll local warehouses outside the joined network.
Fixed enrollment and isolation
- The only interactive warehouse enrollment path is to hold a portable requester already joined to a formal Distant Stock network and right-click a physical Distant Dock already bound to the intended local Create warehouse.
- Verify the actual local Create warehouse identity, Create administrative permission, valid Distant Stock membership and no pre-existing membership in a different formal network before attaching.
- Both the command (
/distantstock network create) and GUI network creation create only the outer network; cross-server join-code requests and responses grant terminal membership only. Stale 0.3.62 messages that try to enroll a warehouse are rejected. - Warehouse lists and server-authoritative selection handlers accept only members of the terminal's current formal Distant Stock network. Joining a different outer network clears a stale selected warehouse; the server no longer queries its unrelated inventory.
- Leaving a local Create warehouse by command requires Create administrator privileges.
Dual join codes and responsiveness
- The first 8 hexadecimal characters of a network UUID are a valid join code in
XXXXXXXXorXXXX-XXXXform (case-insensitive), in addition to the existing random invitation code. Short-ID collisions with existing codes are guarded; ambiguous codes are rejected. - If the discovered network catalog identifies exactly one authority for that UUID prefix, send the request directly to that peer, without broadcasting to unrelated nodes.
- Join request and acceptance tasks jump ahead of bulk inventory/telemetry tasks in the bounded async outbound queue. A congested durable Router can still delay delivery; this is an acceleration, not a fixed-time guarantee.
Security notice: The eight-character ID is public in network listings and UI. Once accepted as a join credential, resetting the original random invitation code does not revoke the public ID shortcut. This is intentional per the requested behavior and is unsuitable for private invite-only access.
Upgrade and verification
- Update both ES2 and VL4 servers and all matching modded clients to
Create-Distant-Stock-0.3.63+mc1.21.1.jar. - Leave Transerver 0.1.1 unchanged on game servers and standalone Router.
- Keep all worlds, configurations, node identity, queues, escrow and parcel data. Do not wipe inbox/outbox/dead-letter folders. Existing 0.3.62 mis-enrollments are intentionally not auto-detached to avoid destroying legitimate saved memberships. Inspect each warehouse and detach an incorrect local membership only as its Create owner, after backup.
- Verify network join -> terminal only -> right-click correctly bound dock as the Create administrator -> warehouse appears in the correct network and no other warehouses appear. Then verify remote inventory and a small real parcel delivery on ES2/VL4.
Tests
- 300/300 required GameTests passed: actual Distant Dock owner interaction, unauthorized stranger denial, strict warehouse listing, command and GUI separation of network from warehouse membership, rejected stale member-style join messages, eight-character ID and random-code resolution, stale terminal warehouse cleanup.
- Wire codec, async sender priority, ownership and focused resource checks passed.
- Online ES2/VL4 actual cargo delivery has not been verified in this local development environment. Historical unrelated Ponder stale NBT verification issue remains.
The ZIP includes both JARs, SHA-256 sums, and detailed Chinese deployment notes (UPDATE.md).