MC/JarvisConnector
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-28 14:37:25 +01:00
..
src Share planet artwork aliases with authoritative item metadata 2026-11-28 14:37:25 +01:00
.gitignore Fresh production baseline [skip ci] 2026-11-27 23:43:05 +00:00
build.gradle.kts Share planet artwork aliases with authoritative item metadata 2026-11-28 14:37:25 +01:00
README.md Fresh production baseline [skip ci] 2026-11-27 23:43:05 +00:00
settings.gradle.kts Fresh production baseline [skip ci] 2026-11-27 23:43:05 +00:00

JarvisTranslator

Build with Java 21 and Gradle. Output: build/libs/jarvistranslator.jar. The separate GUI delegates House, Mentat and world reads to this shared website API. Existing private DuneEss/website-bridge.yml is reused, no extra tunnel.

Native adapters register a fixed namespaced command and central domain key resolver. That resolver owns authority and redemption; the translator executes as console. No wildcard permissions are granted to players or groups. Assign a specific permission only when a direct player command is actually needed. Failures are not retried automatically. COMPLETED means native dispatch accepted the command, not confirmed delivery. Kit, cash, Rihla and Towny adapters are not registered in this release. /jarvistranslator reports the adapter count to ops.

GUI, DuneEss and terrain remain separate. Native plugins retain their own logic.

Local native databases and internal pluginkeys

Native server identity is native.server-key, or the canonical server directory name: lobby, caladan, giedi-prime, kaitain, sigma-draconis-iv, arrakis. Unknown identity stops native import. Each server keeps its own native storage; never copy a live H2 database or point servers at a shared faction database. The existing lobby remains an inspection catalogue. Planet projections contain local organisations and referenced company holdings. An active war adds its participants on involved servers. Withdrawn war records remain visible there to remove native war relations. Do not delete captured claims to clean up a temporary projection; native victory return and foreign-record cleanup still require their dedicated adapter.

PluginKey is an internal CI-owned command-and-field mapping. Its typed fields and multi-step templates run only after a domain resolver validates the original JARVIS key and actor. It is not a new public key, page, command-authority store, or permission grant. Native API adapters remain useful where commands require a player location or cannot preserve stable organisation UUIDs.

Reputation power mapping v1 uses one current Reputation level as one fixed native player power point. Missing Reputation grants no inferred power. Personal XP is untouched. Native time regeneration does not replace fixed power.

The company GUI uses the website's Guild/Company colour family; clan controls remain separate. Native plugin messages stay enabled while building and testing. The organisation panels use the dedicated native Clan, Company and POL screens in resource pack v4. Their authenticated game action endpoint checks current deeds, claim revisions, real planet positions and the shared boarding window. Home Blocks project one native claim; only this adapter's receipted old chunk may be removed during relocation. Upgraded estates require a separate scoped relocation and are never silently rewritten. Native claim commands stay blocked.

Organisation passage and active-war deployment use short-lived arrival receipts, rechecked at the destination. They do not read or debit the legacy game wallet. Cross-server arrival requires this translator on the destination server. Unsafe or unloaded destinations preserve the player's location. Existing game-capture evidence, quest event production and foreign wartime-record cleanup remain separate unfinished adapters.

dr_imperial_codex.yml is a native ExecutableItems definition, including its resource-pack model and click activator. The GUI builds it with the installed SCore API and reports the inventory-add event; no duplicate item generator is introduced. Existing EI IDs, variables, usage, durability and other metadata are preserved by formatItemLore, which replaces only name and lore on a clone. Keep native automatic lore refresh disabled for such centrally formatted items. ItemLoreCard has fixed fields for Menu, Equipment, Kit, Component, Ticket, Cash, Rihla, Deed and Quest. Missing values are omitted, never invented. /drgui lore is a non-withdrawable design archive, not an item or money issuer.

Bank account rule — agreed 21 November 2026

The game bank account is the dedicated exception for ingame business. The staff menu for that account must show its balance and use that same game account for its transactions, rather than the staff member's personal account. Resolve the account through the existing central JARVIS bank flow; if it is unavailable, leave the action unavailable instead of falling back to a personal account or creating a separate native-plugin balance.

The bank GUI layout has not yet been agreed. This account rule applies when that GUI and its pluginkey mappings are implemented.