GZ-Diplomacy [FIRST PUBLIC BETA]


0.3.14 #FIRST_PUBLIC_BETA - THE MOD IS PLAYABLE BETWEEN FRIENDS AND TRUSTED INDIVIDUALS - STILL W.I.P. - A (soon to be) fully featured Oarc-style multiplayer module for GIZMOD. Allows for multiple forces (teams) with their own tech trees, resources, spawn locations, private chat, and personalization settings per-team and per-player. Fully integrated with the GIZMOD modular ecosystem for maximum depth of gameplay and advanced multiplayer interaction.

Overhaul
6 hours ago
2.0
16

Changelog

Version: 0.3.15
Date: 2026-06-05
  Changes:
    - Public beta polish pass for the first visible mod portal release.
    - Added /gzd-support to print the GZ-Diplomacy bug report/support form link.
    - Added the support link to the player-facing Welcome text.
    - Updated package metadata/description for public beta scope.
    - No spawn, force, team, or relation logic changes.

Version: 0.3.14
Date: 2026-06-05
  Changes:
    - Rewrote the Welcome tab into a short player-facing getting-started guide for players unfamiliar with Oarc-style separate starts.
    - Removed internal scaffold/refresh notes from the Welcome tab.
    - Added guardrails for stale/dumb clicks: double prepare, leave with no team, create while already assigned, join own team.
    - Added admin mobility guardrails: disabled/blocked Join for own team and disabled/blocked Go/Join for teams without valid spawns.
    - Gizmod registration now advertises player-facing-welcome-guide and safe-action-guardrails.

Version: 0.3.13
Date: 2026-06-05
  Changes:
    - Nudged the team identity picker so the selected preview no longer renders a giant flag block.
    - Added dedicated scaled flag thumbnail sprites for GUI buttons.
    - Kept larger flag sprites available for future display use, but uses thumbnails in the picker and diplomacy team list.
    - Bumped Gizmod registration capability: compact-team-identity-picker.

Version: 0.3.12
Date: 2026-06-05
  Changes:
    - Added first-pass Russian locale file for major UI/settings/command labels.
    - Added first-pass Simplified Chinese locale file for major UI/settings/command labels.
    - Kept placeholders compatible with the English locale; community corrections welcome.

Version: 0.3.11
Date: 2026-06-05
  Changes:
    - Polished the team identity picker so flags and colors fit into compact one-row thumbnail pickers.
    - Made selected flag/color more obvious with a persistent preview label.
    - Cleaned admin mobility buttons in the Diplomacy table: Go = teleport-only, Join = join force + teleport.
    - Bumped Gizmod registration capabilities for team identity UI polish and admin mobility shortcuts.

Version: 0.3.10
Date: 2026-06-05
  Features:
    - Added selectable team flags during Create New Team flow using bundled flag thumbnails.
    - Added preset team color picker during Create New Team flow.
    - Team identity now persists flag index and team color on team records.
    - Diplomacy panel now shows actual team flag thumbnails instead of a placeholder square.
    - Added admin actions in Diplomacy: teleport to a team's spawn, or join that team and teleport instantly.
  Changes:
    - Registered all bundled flag sprites for GUI use.
    - Passed selected identity through spawn preview keep/found team pipeline.
Version: 0.3.7
Date: 2026-06-05
  Changes:
    - Added structured Gizmod debug event writer for GZ-Diplomacy.
    - Added global announcements for major diplomacy interactions: team creation, team join, team leave, team switch, joinability changes, and relation stance changes.
    - Added debug events for spawn preview keep/pass/cancel and player join/left-game hooks.
    - Added /gzd-gizdebug to request a Gizmod debug session and write a marker event.
    - Gizmod registration now includes a debug spec and advertises structured-debug-events / global-diplomacy-announcements.
    - Internal breadcrumbs remain as fallback while Gizmod write_debug_log receives structured payloads when enabled.
Version: 0.3.6
Date: 2026-06-05
  Changes:
    - Alpha pass 4/4: added state audit and reconciliation hardening for teams, players, forces, and relations.
    - Added /gzd-alpha-check, /gzd-reconcile, and /gzd-relations.
    - Bootstrap now performs a safe alpha repair pass and reapplies stored relation force flags.
    - Added remote API helpers: alpha_audit, reconcile, and reapply_relations.
    - Gizmod registration now advertises alpha-audit / alpha-reconcile / relation-reapply-hardening capabilities.
    - Stored diagnostics now keep last audit and last repair results for tester reports.
  Notes:
    - War declarations, congress/council mechanics, embargoes, trade sanctions, shared markets, treaty voting, and economy restrictions remain deferred after alpha.
Version: 0.3.5
Date: 2026-06-05
  Changes:
    - Alpha pass 3/4: wired basic diplomacy stance buttons in the Diplomacy tab.
    - Added Hostile / Neutral / Friendly relation state storage.
    - Applying a stance now updates Factorio force friend and cease-fire flags symmetrically.
    - New teams seed neutral relationships against existing teams.
    - Bootstrap reapplies stored relations after init/configuration changes.
    - Added relation debug breadcrumbs and updated Gizmod registration capabilities.
Version: 0.3.4
Date: 2026-06-05
  Bugfixes:
    - Q close now closes/cancels the active GZ-Diplomacy surface without immediately reopening the welcome window.
    - Bumped storage and Gizmod registration versions to 0.3.4.
Version: 0.3.3
Date: 2026-06-05
  Bugfixes:
    - Restored live Preparation status label updates after tab switching or leaving/reopening the Preparation tab.
    - Kept the static Welcome tab non-live and scroll-safe while allowing the non-scrolling Preparation tab to tick its activity ellipses/countdown text.
  Notes:
    - Top-left launcher/button consolidation belongs in the GIZMOD/core launcher pass; GZ-Diplomacy does not own the shared GZ/D/E button strip.
Version: 0.3.2
Date: 2026-06-05
  Changes:
    - Alpha pass 2/4: split the standalone window into Welcome, Preparation, and Diplomacy tabs.
    - Moved live spawn-buffer controls and queue status into a dedicated non-scrolling Preparation tab.
    - Reworked Welcome into a static explanation tab so scrolling is safe and cannot fight live refreshes.
    - Kept the Diplomacy tab as the team-state management surface.
    - Updated the Gizmod hub panel to use the operational Preparation panel rather than the static Welcome tab.
    - Tightened the standalone window budget around the 1366x768 layout target.
Version: 0.3.1
Date: 2026-06-05
  Changes:
    - Alpha pass 1/4: centralized team membership operations for create/join/leave/switch.
    - Enforced one-team-per-player membership cleanup when joining, leaving, switching, or removing players.
    - Added Leave Team and Switch Team flow to the Welcome tab for assigned players.
    - Updated direct team join to route through the centralized membership API and return failed joins to the origin DMZ.
    - Updated /gzd-reset-me and player removal cleanup to use the centralized membership path.
Version: 0.3.0
Date: 2026-06-05
  Changes:
    - Began the alpha interaction pass version line for functional diplomacy controls.
    - Bumped mod package, storage schema version marker, and Gizmod registration version to 0.3.0.
    - Kept the verified 0.2.33 hex-floor material mapping as the baseline for this pass.
Version: 0.2.33
Date: 2026-06-05
  Changes:
    - Corrected the origin DMZ hex floor material mapping for the 600x300 floor variants.
    - Restored the floor material span to 6x3 tiles and set material background scale to 0.32 so the asset resolves to 192x96 px in Factorio's 32 px tile space.
    - Restored deterministic shuffling to full 6x3 material cells so the full texture repeats without partial-cell shearing.
Version: 0.2.32
Date: 2026-06-05
  Changes:
    - Reworked the origin DMZ hex floor material back to a 2x1 patch mapping for the new 600x300 floor variants.
    - Set the hex floor material background scale to 1 so the full texture repeats at its declared size instead of being cut off by half-scale mapping.
    - Updated DMZ tile shuffling to choose one variant per 2x1 material patch instead of per 6x3 macro-cell.
Version: 0.2.31
Date: 2026-06-04
  Changes:
    - Added an inactive main Diplomacy tab to the standalone GZ-Diplomacy window.
    - Added player/force/leader/flag summary, compact relationship legend, team list, stance/effective columns, chat/vision placeholders, and an Actions column.
    - Kept relation selectors, chat/vision toggles, and action buttons intentionally disabled; this is UI scaffold only with no relationship scripting wired yet.
    - Widened the standalone diplomacy window slightly so the team table/action column has room.
Version: 0.2.30
Date: 2026-05-24
  Bugfixes:
    - Repaired scripts/spawn_preview.lua after the spawn queue cleanup left an orphaned block after ensure_spawn_queue().
    - Rebased the loader fix onto the 0.2.29 joinability package instead of the accidental 0.2.27 source.
Version: 0.2.29
Date: 2026-05-24
  Changes:
    - Added explicit player-facing team joinability checkbox in the assigned-team Diplomacy menu.
    - Team members can toggle whether their team appears in other players' Join Existing Team list.
    - Joinability toggle now routes through the teams API instead of mutating the team field directly.
    - Non-members cannot change another team's joinability.
    - Refreshes open Diplomacy menus after a joinability change so the join list updates immediately.
Version: 0.2.28
Date: 2026-05-24
  Changes:
    - Added assigned team respawn handling.
    - Team forces now receive their spawn position when team spawns are assigned and when members join.
    - on_player_respawned now returns team members to their assigned team spawn.
    - Undecided/unassigned respawns return to the origin DMZ and reopen the welcome flow.
    - Kept respawn movement on the current team-spawn pipeline only.
Version: 0.2.27
Date: 2026-05-24
  Changes:
    - Removed the abandoned holding-surface pipeline entirely.
    - Removed obsolete pending-move cleanup paths.
    - Removed empty placeholder modules.
    - Split the live team-spawn teleport path into scripts/team_spawn.lua.
    - Centralized spawn queue schema/default ownership in scripts/storage.lua.
    - Made storage.root() cheap by removing per-call settings refresh.
    - Updated internal storage and Gizmod registration versions to 0.2.27.
    - Removed obsolete Gizmod registration compatibility calls; current Gizmod register path fails visibly if unavailable.