Nexus Kingdoms

by A_R_E_S

Complete OARC kingdom system combining mandatory kingdom names and unique colors, an unlimited-score leaderboard, building-based territory zones, and Nexus server support for compact kingdom spawn distances.

Utilities
3 hours ago
2.0
0

Changelog

Version: 1.0.6
Date: 2026-07-17
  Bugfixes:
    - Moved the OARC near/far spawn-distance minimum overrides to settings-updates.lua.
    - Factorio finalizes setting prototypes before data-updates.lua, so version 1.0.5 changed the values too late and OARC still rejected near 8 / far 24.
    - The Nexus scenario values near 8, far 24 and minimum existing-chunk distance 6 can now be validated during OARC initialization.
Version: 1.0.5
Date: 2026-07-17
  Bugfixes:
    - Relaxed OARC 2.1.24's runtime setting prototype minimum for near spawn distance from 50 to 8 chunks.
    - Relaxed OARC 2.1.24's runtime setting prototype minimum for far spawn distance from 250 to 24 chunks.
    - Allows the Nexus scenario override (near 8, far 24) to pass OARC's settings validation during a new world reset.
  Compatibility:
    - Defaults and maximum values are unchanged; this only permits the compact Nexus server configuration.
Version: 1.0.4
Date: 2026-07-17
  Changes:
    - Removed automatic enemy-decorative cleanup and its runtime map setting.
    - Retained /nexus-clean-enemy-decals as an admin-only fallback for old or exceptional locations.
    - Nexus server deployments should now keep OARC kingdom spawns close to the central 600% starting area, preventing nearby enemy nests and decals from being generated in the first place.
  Compatibility:
    - No saved zone, name or leaderboard data is migrated from the removed cleanup queue because cleanup jobs were temporary only.
Version: 1.0.3
Date: 2026-07-17
  Changes:
    - Automatic cleanup now performs fast local passes followed by one delayed extended pass.
    - The extended automatic cleanup radius defaults to 48 chunks, covering the intermediate spawn surroundings while leaving distant enemy regions untouched.
    - Added a runtime-global cleanup radius setting with a range of 24 to 100 chunks.
    - Changing the cleanup radius setting automatically queues cleanup for existing OARC spawns and connected players.
  Performance:
    - Only the delayed pass uses the extended radius; early retry passes continue using OARC's configured safe, warning and danger radius.
Version: 1.0.2
Date: 2026-07-17
  Bugfixes:
    - Automatic enemy decorative cleanup now also triggers from OARC's player-spawned event, using the player's actual surface and position after teleportation.
    - Added a debounced cleanup pass after OARC finishes processing chunks near a new spawn.
    - Spawn event payload parsing now accepts surface names, indexes, LuaSurface references and fallback player positions.
    - Equivalent automatic cleanup jobs are coalesced to avoid repeated full-area scans during spawn generation.
    - Updating the mod queues cleanup around connected players as a fallback for already-created test spawns.
  Diagnostics:
    - Automatic cleanup results and unusable OARC event payloads are written to the Factorio log.
Version: 1.0.1
Date: 2026-07-17
  Bugfixes:
    - Expanded enemy decorative cleanup from only OARC's safe radius to the full configured safe, warning and danger area.
    - Cleanup now removes only orphaned nest and worm decoratives while preserving visuals around surviving enemy spawners and worms.
    - Added delayed cleanup retries after a new OARC spawn is created.
    - Existing OARC spawns are queued for cleanup when updating to this version.
    - Filters decorative names against loaded prototypes to avoid failures from unavailable decorative types.
Version: 1.0.0
Date: 2026-07-17
  Features:
    - Combined Nexus Kingdom Names 1.1.7, Nexus Kingdom Leaderboard 1.1.2 and Nexus Kingdom Zones 1.1.3 into one mod.
    - Added automatic cleanup of vanilla enemy nest and worm decoratives after OARC creates a new spawn.
    - Added the admin command /nexus-clean-enemy-decals with an optional radius in chunks.
    - Added a combined nexus_kingdoms remote interface.
  Compatibility:
    - Requires Oarc Multiplayer Spawn 2.1.24.
    - Declares the three former standalone Nexus mods incompatible to prevent duplicate handlers and commands.