CC: Tweaked · Late game

AE2 / Refined Storage Automated Stock-Keeper & Dashboard

This late-game CC: Tweaked setup acts as a centralized automated stock-keeper and visual command center for your Applied Energistics 2 or Refined Storage digital network. Using an Advanced Peripherals bridge, an Advanced Computer continuously compares current item quantities against a configurable list of thresholds, queuing up background crafting jobs whenever reserves dip too low. Simultaneously, it drives a massive wall of Advanced Monitors to render real-time inventory metrics, active crafting CPUs, and live throughput graphs without lagging your server.

Footprint
6x3x5 blocks
Power
Moderate continuous FE/AE draw (check JEI for exact bridge idle cost)
Throughput
Polls 100+ items per scan cycle every 2-5 seconds
Difficulty
advanced

Flow diagram

How items, fluids and energy move through the setup, left to right.

Swipe sideways to see the whole diagram

Digital Storage Data &Autocrafting InstructiPeripheral API CallsNetworking Cable DataMonitor UI & Graph RenAudio Alerts for StallEmergency Redstone CutME Controller / RSControllerSTORAGECrafting CPU / RSCrafterMACHINEME Bridge / RS BridgeLOGISTICSWired Modem (Full)LOGISTICSAdvanced ComputerCONTROL5x3 Advanced MonitorArrayOUTPUTSpeakerOUTPUTRedstone IntegratorCONTROL
MachineStorageLogisticsOutputControlSignal

Materials

ItemCount
Advanced Computer1
Advanced Monitor15
ME Bridge (or RS Bridge)1
Wired Modem5
Networking Cable16
Speaker1
Redstone Integrator1
Disk Drive1
Floppy Disk1
ME Glass Cable (or Refined Storage Cable)4

Build it step by step

  1. 1Construct the Wall Monitor

    Place 15 Advanced Monitors in a 5-wide by 3-tall vertical rectangle on your control room wall. They will automatically merge into a single large display screen. Make sure the front face is unobstructed so you can interact with touchscreen buttons later.

  2. 2Connect the Storage Bridge

    Place your ME Bridge or RS Bridge behind the monitor wall and connect it directly to your digital storage network using ME Glass Cable or Refined Storage Cable. Verify that your storage network has adequate power and an available channel if using Applied Energistics 2.

  3. 3Set Up the Control Station

    Place the Advanced Computer and Disk Drive on a desk near the monitor wall, and tuck the Speaker and Redstone Integrator behind the wall. The Disk Drive will allow you to back up your stock threshold configuration file onto a Floppy Disk.

  4. 4Wire the CC: Tweaked Network

    Attach Wired Modems to the back of the Advanced Computer, the monitor array, the storage bridge, the Speaker, and the Redstone Integrator. Connect all five modems together using Networking Cable, then right-click each modem so its outer ring turns red, printing the peripheral names in your chat.

  5. 5Write the Stock Configuration File

    Boot up the Advanced Computer and create a table file named 'stock_config.lua' using the built-in edit program. List the exact registry names of items you want to maintain (such as 'minecraft:iron_ingot' or 'ae2:fluix_crystal'), along with their minimum threshold quantity and desired crafting batch size.

  6. 6Install the Stock-Keeper & Dashboard Script

    Create a 'startup.lua' script that wraps the bridge peripheral and enters a parallel loop: one coroutine handles touchscreen clicks and draws the live GUI, while the second polls item counts every few seconds. When an item falls below its threshold and is not already being crafted, the script calls the bridge's craftItem function and logs the throughput change for the graph.

How it works

Traditional automated stocking in AE2 or Refined Storage requires dozens of individual ME Level Emitters, Crafting Cards, and Interfaces, which quickly drains channels, power, and physical space. By replacing that hardware with a single Advanced Peripherals ME Bridge or RS Bridge, the Advanced Computer can query the entire digital storage database directly through Lua tables. During each polling cycle, the script checks two conditions before ordering a craft: whether the current stored count is less than the configured target, and whether the bridge reports that the item is currently crafting. This prevents the computer from spamming duplicate jobs across all of your Crafting CPUs.

To render the dashboard smoothly without freezing the stock-keeping logic, the computer runs CC: Tweaked's parallel API or an event-driven timer loop. As item counts are polled, the computer stores a rolling history of total network items and net changes per minute in memory. It then scales the 5x3 Advanced Monitor text size down to 0.5, giving a massive pixel canvas to draw color-coded bar charts, CPU utilization percentages, and a scrolling log of active crafting tasks using the paintutils or window APIs. If a crafting job remains stuck for too long due to missing raw ingredients, the computer fires an alert tone through the Speaker and toggles the Redstone Integrator to light up a warning lamp.

Upgrades and scaling

  • Attach an Ender Modem to the Advanced Computer and craft a Pocket Computer so you can view your storage dashboard and trigger manual crafting jobs wirelessly from anywhere in the world.
  • Add a Chat Box peripheral from Advanced Peripherals to broadcast low-resource warnings directly to your player chat or allow you to request crafting batches via chat commands.
  • Connect an Energy Detector inline with your main base power line and wire it into the Networking Cable so your dashboard also plots real-time FE/t generation and consumption alongside item counts.

Common mistakes

  • Forgetting to right-click the Wired Modems to activate them; if the modem ring is not glowing red, the Advanced Computer will return 'nil' when trying to wrap the bridge or monitor.
  • Polling the ME or RS Bridge in an unthrottled 'while true do' loop without a sleep timer, which can flood the peripheral queue, cause server tick lag, or trigger a 'too long without yielding' script crash.
  • Ordering the exact deficit amount instead of a sensible batch size, or failing to check 'isItemCrafting' first, which immediately locks up every Crafting CPU in your network with tiny overlapping jobs.
  • Using display names instead of exact registry IDs (like 'minecraft:redstone') in your Lua configuration table, causing the bridge query to return zero items and endlessly request crafts.

FAQ

Why does my bridge say it cannot craft an item even though I have the materials?

The bridge only triggers existing network patterns; you must first encode a crafting or processing pattern for that item and place it inside an ME Pattern Provider or RS Crafter, and ensure you have at least one free Crafting CPU with enough storage bytes.

How do I stop the monitor from flickering every time the graph updates?

Use CC: Tweaked's built-in 'window' API to create an off-screen buffer window on the monitor, set its visibility to false while drawing your text and bars, and then set visibility back to true at the end of the frame to flush all changes at once.

Does the ME Bridge require an AE2 channel and network power to function?

Yes, when connected to Applied Energistics 2, the ME Bridge acts as a standard network node that consumes one channel and draws a small amount of passive AE power from the network, plus additional power when executing peripheral calls (check JEI or the in-game guide for your modpack's exact power multiplier).

More CC: Tweaked designs

CC: Tweaked · End gameAR Smart-Base HUD & Global Chat-Box Command CenterTransform your late-game base into a fully responsive smart facility using CC: Tweaked and the Advanced Peripherals addon. This setup reads global chat commands, tracks your physical coordinates, and projects live base telemetry directly onto your screen via Augmented Reality glasses. Build this to control factory production, monitor energy reserves, and lock down security from anywhere in the world without opening a single GUI.Advanced6 steps
CC: Tweaked · Early gameAutomated Chunk-Mining Turtle Quarry & Sorting DockThis early-game setup utilizes a Mining Turtle from CC: Tweaked to automatically excavate an entire 16x16 chunk down to bedrock. It features a self-sustaining docking station that automatically pulls coal or charcoal from the mined materials to keep the turtle fueled while sorting valuable ores from bulk cobblestone. Building this saves hours of manual branch mining and requires zero Forge Energy infrastructure.Beginner6 steps
CC: Tweaked · Mid gameGPS-Guided Turtle Crop & Tree Harvesting FacilityThis mid-game agricultural facility utilizes a localized CC: Tweaked GPS satellite cluster to guide autonomous Wireless Farming and Felling Turtles across open-air fields and orchards. By relying on three-dimensional trilateration rather than rigid wall markers, your turtles can navigate seamlessly, return to base to refuel on their own, and recover automatically even if the server restarts mid-harvest. Build this setup to establish a resilient, self-sustaining supply of food, wood, and biofuel feedstocks without spending costly redstone flux or crafting high-tier magic blocks.Intermediate7 steps
CC: Tweaked · Late gameFail-Safe Nuclear Reactor Control Room & Bundled Cable GridThis late-game control room uses CC: Tweaked, More Red, and Advanced Peripherals to automatically manage a nuclear reactor and prevent catastrophic meltdowns. By continuously reading your main energy bank capacity, the system dynamically throttles reactor control rods to match base demand while conserving fuel. A dedicated fail-safe bundled cable grid provides instant physical emergency shutdown capabilities and visual status alerts across a massive multi-monitor command center.Advanced7 steps
CC: Tweaked · Mid gameCentralized Wired Modem Storage & Auto-Crafting TerminalThis setup turns a cheap vault of vanilla chests into a fully digital storage and auto-crafting system using CC: Tweaked's wired peripheral network. By bridging a central Crafty Turtle and an Advanced Computer with Networking Cables, you gain a searchable touchscreen terminal capable of instant item retrieval, automated sorting, and on-demand crafting without needing expensive endgame storage mods.Intermediate6 steps