Factorio Blueprint Printer

by DSLZL

Automatically builds ghost entities and excavate of items marked for demolition near the player

Utilities
a month ago
2.0
54
Owner:
DSLZL
Source:
https://github.com/DSLZL/FBP
Homepage:
N/A
License:
MIT
Created:
2 months ago
Latest Version:
0.2.1 (a month ago)
Factorio version:
2.0
Downloaded by:
54 users

Changelog

0.2.1 (2026-02-25)

Fixes

  • Quickbar and Text Consistency: Restored and clarified the semantics of the dual shortcut buttons. fbp-toggle is used for building/upgrading, and fbp-deconstruct-toggle is used for demolition and synchronized automatic tree and rock mining. fbp-open-config continues to serve as the configuration interface entry point; the README and bilingual locale are now synchronized.

  • Input Hijacking Fix: Adjusted the demolition process status management to prevent continuous forced selection during the automatic mining phase, which could lead to mouse/movement input being preempted.

  • Same-Coordinate Action Arbitration: Only one action is executed at the same coordinate in the same cycle, with priority being Place > Upgrade > Deconstruct, avoiding conflicts such as "demolishing immediately after placement".

  • Editor Mode Compatibility: Performed hard disable and status reset for the automatic process in the editor controller to reduce lag and prevent shortcut status from being falsely highlighted.

  • Upgrade Without Material Shortage (Non-Blocking): When an upgrade target is short of materials, the current target is skipped and subsequent upgradable targets are processed instead, avoiding bottlenecks and retries that could block the entire round.

0.2.0 (2026-02-17)

Refactoring

  • Codebase Reorganization: A major refactoring of control.lua has been performed. The single large file has been split into modular components in the scripts/ directory to improve maintainability and scalability.

  • Performance Optimization: Entity search and tick processing logic has been optimized to reduce the impact on updates per second (UPS).

0.1.12 (2026-02-17)

Fixes

  • API Compatibility: Fixed a crash issue in Factorio 2.0 caused by the removal of the max_health property from LuaEntityPrototype (now replaced by LuaEntity.max_health).

0.1.11 (2026-02-17)

Fixes

  • Collision Layer: Fixed the "Unknown collision-layer name" error caused by the change of the water-tile collision layer name in Factorio 2.0 (now corrected to water_tile).

0.1.10 (2026-02-17)

New Features

  • Advanced Debug Mode: Upgraded the debug mode switch to a multi-option setting.

  • Disabled: Turns off debug logging.

  • Personal Only: Displays logs only in your own console.

  • All Players: Displays debug logs for all players (suitable for administrator monitoring).

0.1.9 (2026-02-17)

Performance Optimizations

  • Scan Range Settings: Added a "Scan Radius" setting.

  • The default value is 100 grids, which users can adjust as needed (10-500).

  • This limitation effectively resolves the full-map scanning lag issue caused by unlimited building distance in "Editor Extensions" or "God Mode".

Experience Optimizations

  • Auto Upgrade Logic: The underlying implementation of Auto Upgrade has been refactored, now using the game engine's native "Fast Replace" mechanism.

  • Fixed the previous issue where players needed to stand at a specific angle or position to trigger an upgrade.

  • Now, as long as the player is within the building range, the upgrade process is silky smooth and retains the machine's orientation and some states.

Fixes

  • Debug Mode: Fixed an issue where the "Debug Mode" option was displayed as "Unknown key" in the configuration menu.

0.1.8 (2026-02-17)

New Features

  • Independent Auto Mine: Added an independent toggle for "Auto Mine". You can now specifically control whether marked trees and stones are automatically mined without enabling "Auto Demolition".

  • Smart Priority: Optimized the workflow. When both "Auto Demolition" and "Auto Mine" are enabled, the printer will prioritize demolishing player structures before mining trees and stones for improved safety.

Localization

  • Added Chinese and English translations for new features.

0.1.7 (2026-02-17)

Fixes

  • Permission Logic Fixes: Completely fixed a bug in permission checks during multiplayer games.

  • Previous versions might incorrectly display an "Administrator Only" error to non-administrator players (or players with personal settings disabled).

  • The logic has now been corrected: correctly identifying administrator identities, the global "Allow others to use" setting, and the player's personal on/off status.

  • Error Message Optimization: When blueprint printers are unusable due to disabled personal settings, a clear message "Blueprint printer is disabled in your user settings" will now be displayed instead of a misleading permission error.

0.1.6 (2026-02-13)

New Features

  • UI Refactoring: Merged several scattered shortcuts into a single "Blueprint Printer Toggle" button. Clicking the button toggles the function on/off or opens the new configuration GUI.

  • Auto Landfill: Added an automatic landfill function. When the blueprint includes water areas and you have land reclamation materials in your inventory, it will be automatically laid.

  • Auto Modules: Added the ability to automatically insert modules. After an entity is built, modules will be automatically inserted based on phantom requests.

Fixes

  • Durability Retention: Items now correctly inherit their Health percentage when placing entities.

  • Upgrade Logic: Fixed an issue that could cause automatic upgrades to freeze when materials were insufficient.

0.1.2 ~ 0.1.5 (2026-02-05)

New Features

  • Upgrade Planner Support: Officially supports Factorio's Upgrade Planner.

  • Ground Item Pickup: Added the ability to automatically pick up items marked for demolition on the ground.

Fixes

  • Container Digging: Fixed an issue that could cause a crash when automatically digging containers with full inventory.

  • Quality Support: Fixed the item quality matching logic in version 2.0.

  • Mouse Interference: Fixed an issue where the auto-mining logic could interfere with manual mouse operations.

0.1.1 (2026-01-29)

Initial Release

  • Core Functionality: Implemented automatic placement of phantoms and automatic removal of entities/tiles.

  • Dynamic Scanning: Implemented load-based dynamic scanning frequency adjustment.

  • Multiplayer Support: Added basic multiplayer access control (/fbp-check command).

  • Localization: Initial release supports Simplified Chinese (zh-CN).