Player Auto Build 2-fix2


自动建造蓝图幽灵(含地砖/填海)、自动拆除标记的实体与悬崖;动作按离玩家由近到远执行。每位玩家独立配置,可选「协助其他玩家建造」。Factorio 2.1,无依赖。

a month ago
2.0 - 2.1
288
Cheats

Changelog

Version: 1.3.4
Date: 12.11.2026
  Features:
    - Added runtime settings: search radius, scan limit, actions per update, build/deconstruct toggles.
    - Added zh-CN locale.
    - Added "Assist other players" setting: builds your own ghosts first, then other players' (off by default, your own are always prioritized).
  Changes:
    - Split control.lua into modules (scripts/queue, build, deconstruct, core, config, helpers).
    - Player updates are staggered across ticks by player index, so multiplayer does not spike on a single tick.
    - Settings are now per-player (runtime-per-user); each player has an isolated action queue.
    - Actions are now executed nearest-first relative to the player, instead of in queue order.
    - Scans pick the nearest not-yet-queued entities, so large blueprints expand from the player outwards.
    - Updated for Factorio 2.1.
  Bugfixes:
    - Fixed auto build/deconstruct not working without a character (sandbox/god mode).
    - Queue de-duplication now compares prototypes, not only positions.
    - Queue now checks item counts, not just item presence.
    - Fixed de-duplication key for tile proxies (they have no unit_number).
    - Fixed multiplayer: another player's inventory or build distance could gate your queued actions.
  Tests:
    - Added automated in-game tests (factorio-test): 10 cases.
Version: 1.2.6
Date: 16.10.2025
  Bugfixes:
    - icon not found error fixed (game update changed path)
Version: 1.2.5
Date: 16.11.2024
  Bugfixes:
    - Fixed health was wrong.
    - Removed forgotten debug prints.
Version: 1.2.4
Date: 14.11.2024
  Bugfixes:
    - Fixed last changes was missing a line which caused an error.
Version: 1.2.3
Date: 14.11.2024
  Features:
    - Concretes, stones etc are working now. You can destruct concretes and also ghost build them, yayyy!!
  Bugfixes:
    - Fixed entities without health could cause error.
    - Fixed sometimes items from inventory didn't get removed.
  Changes:
    - Only code based changes and preparing for the upgrade function.
Version: 1.2.2
Date: 11.11.2024
  Bugfixes:
    - Fixed marked entities were added multipe time
Version: 1.2.1
Date: 11.11.2024
  Bugfixes:
    - Fixed error caused by accessing to remote view
Version: 1.2.0
Date: 10.11.2024
  Features:
    - Now it also works without player character gamemode (like sandbox).
  Changes:
    - Lots of changes for performance boost.
  Bugfixes:
    - Cliff itemname was wrong which caused error.
    - Neighbour cliffs didn't rotate after it was destroyed.
Version: 1.1.0
Date: 09.11.2024
  Changes:
    - Updated mod to work in Factorio 2 (Space Age not tested)
    - Cliff will be only removed if you have cliff explosives in the inventory now. It was not a bug, but was cheaty-like.
Version: 1.0.0
Date: 18.11.2021
  Changes:
    - Mod continued by MaZy (player-auto-build Author was 'William Newbery (SyncViews)')
    - Added deconstruction
    - Added cliff removeable
    - Performance fixes