Network Doctor (commands)
The Network Doctor is a set of commands for server admins and modpack developers. It tells you which storage network costs how much server time, why a block does or does not join a network, which config the server really uses, and it can export everything to JSON and CSV.
All commands start with /simple_storage_remastered doctor and need permission level 2 (operator). They work from the server console too.
| Command | What it does |
|---|---|
doctor top [count] | The heaviest networks by average time per tick |
doctor at [pos] [dimension] | One network in detail |
doctor block, doctor block at <pos> [dimension], doctor block <id> | Can this block join a network, and why (not)? |
doctor config | The effective server config and the tags that decide connectivity |
doctor reset | Clears the timing windows |
doctor export | Writes a JSON and a CSV report |
Every reply starts with a gold [Doctor]. Positions are clickable for players: a click suggests a teleport command, shift-click inserts the matching doctor at command into the chat box. In the console, positions carry the dimension instead. Dimensions are shown as overworld, the_nether, the_end for vanilla, else as the full id.
The example outputs below show the format; the numbers are made up.
What is measured
Timings cover the last 30 seconds of each network. Counted: Inventory Connector checks (scans, rebuilds), cable connector checks, the change scan over all inventories, terminal list rebuilds and sync, and hoppers, level emitters, Ejectors, Disposals and Exporters working on this network. Not counted: player clicks in terminals, wireless terminals and Builder's Reach, item moves by other mods' pipes and hoppers, and work on other threads. (doctor at prints this as a footnote.)
doctor top
/simple_storage_remastered doctor top
/simple_storage_remastered doctor top 20Lists the networks with the highest average time per tick. count is 1–100, default 5.
[Doctor] Heaviest storage networks (last 30 s · 3 of 3)
1. [120, 64, -340] 412 inv · 11,227 slots · 0.84 ms/t (peak 3.10)
2. [-15, 70, 88] 96 inv · 2,592 slots · 0.21 ms/t (peak 0.95)
3. [400, 12, 400] 4 inv · 108 slots · 0.01 ms/t (peak 0.04)
Total: 3 networks, 1.06 ms/t (2.1% of a 50 ms tick)With no network loaded: "No storage networks are loaded."
doctor at
/simple_storage_remastered doctor at
/simple_storage_remastered doctor at 120 64 -340
/simple_storage_remastered doctor at 120 64 -340 minecraft:the_netherShows one network. Without a position it uses the block you look at (up to 32 blocks). Any block of the network works: the connector, a cable, a terminal or a connected inventory. Without a target: "Look at a block or give a position." Not part of a network: "No network at … Look at a connector, cable, terminal or connected inventory."
[Doctor] Network at [120, 64, -340] (Inventory Connector, overworld)
Inventories: 412 (3 duplicates removed: 2 double-chest halves or shared storages, 1 reached twice) (18 labelled by glow frames)
Slots: 8,301 / 11,227 used (74%) · unique items: 1,204
Blocks: 230 cables · 2 cable connectors · 1 interface · 1 link
Skipped: 2 [118, 64, -338] machine, not storage, [122, 65, -341] blacklisted (blockedBlocks)
Attached: 3 terminals · 1 crafting terminal · 0 hoppers · 2 level emitters · 4 filter blocks
Cost: 0.84 ms/t avg · 3.10 ms peak · 2 rescans/min · 0 rebuilds/min (last 30 s)
Sync: 2 players watching · 4.5 packets/s · 1.2 KB/s
Cap: off
Counted: Inventory Connector checks (scans, rebuilds), …The lines
| Line | Meaning |
|---|---|
| Inventories | How many inventories are in the network. Duplicates removed: double-chest halves or shared storages, inventories reached twice, and inventories leading back into a network. Labelled by glow frames: inventories with a Frame Label. |
| Slots | Used / total slots, the fill percentage and the number of different items |
| Blocks | Cables, cable connectors, and if present interfaces, proxies, links and other Inventory Connectors reached by a link. "(cable scan stopped at the cable limit)" when invConnectorMaxCables was hit |
| Skipped | Blocks next to the network that were left out, with the reason (first 6, then "+N more") |
| Attached | Terminals, crafting terminals, hoppers, level emitters and filter blocks (Ejector, Disposal, Exporter) |
| Cost | Average ms per tick, peak ms, rescans and rebuilds per minute |
| Sync | Players watching a terminal, sync packets per second and KB/s |
| Cap | doctorMaxInventories and how many inventories are over it, or "off" |
| Tidy running | Shown during a Tidy run: "planning (N / M inventories read)" or "N / M moves" |
Skip reasons
| Reason | Why |
|---|---|
| skip tag | in #simple_storage_remastered:inventory_connector_skip |
| blacklisted (blockedBlocks) | listed in blockedBlocks |
| blacklisted (blockedMods) | its mod is in blockedMods |
| machine, not storage | in #simple_storage_remastered:not_storage or notStorageBlocks |
| excluded by the Inventory Configurator | set to Skip with the Inventory Configurator |
| not an inventory | exposes no item inventory |
| over cap | beyond doctorMaxInventories |
| unloaded | in an unloaded chunk |
| out of range | beyond invConnectorScanRange |
Hints
When the doctor sees a likely cause, it adds a yellow Hint line:
| Hint | Text |
|---|---|
| rescans | "N rescans/min is high; a hopper chain or other block updates next to the connector may be touching the network every tick" |
| rebuilds | "the member list changed N times a minute; inventories keep appearing or disappearing (moving blocks, block breakers, chunk borders), and every open terminal regroups after each change" |
| over cap | "inventories over the cap (doctorMaxInventories) are not part of the network: N" |
| unloaded | "part of the network is in unloaded chunks and is missing until they load" |
| sync | "N sync packets/s; items change constantly while players watch a terminal" |
| blacklisted | "some inventories are blacklisted for the Inventory Connector; an Inventory Cable Connector facing one still connects it" |
| cables truncated | "the cable scan stopped at invConnectorMaxCables (N); blocks further away are not connected" |
| slow | "most of the time goes to checking every inventory for changes; fewer, larger inventories make the network cheaper" |
doctor block
/simple_storage_remastered doctor block
/simple_storage_remastered doctor block at 118 64 -338
/simple_storage_remastered doctor block at 118 64 -338 minecraft:the_nether
/simple_storage_remastered doctor block minecraft:furnaceAnswers "why is my machine not showing up?". doctor block checks the block you look at, block at a placed block at a position (it must be loaded: "… is not loaded."), and block <id> a block type by id (tab completion lists all blocks; an unknown id gives "Unknown block: …"). A placed block gives the most exact answer.
[Doctor] Block minecraft:furnace at [118, 64, -338]
A machine, not storage (#simple_storage_remastered:not_storage or the notStorageBlocks config): the Inventory Connector never connects it.
An Inventory Cable Connector facing it still connects it: the blacklist only applies to the Inventory Connector's scan.
Verdict: only through an Inventory Cable Connector[Doctor] Block minecraft:barrel at [121, 64, -340]
Exposes an item inventory on every side (down, up, north, south, west, east) through the Fabric Transfer API (ItemStorage.SIDED).
Joins when it touches an Inventory Connector, a connected inventory or a trim, up to 16 blocks from the connector.
Part of the network at [120, 64, -340].
Verdict: can join a networkFindings it can report
- A storage network block (connector, cable, terminal...): part of the network itself.
- In
#simple_storage_remastered:trims: carries the scan on, holds no items. - In
#simple_storage_remastered:inventory_connector_skip, listed inblockedBlocks, its mod inblockedMods, or a machine (not storage). - In
#simple_storage_remastered:inventory_configurator_skip: the Inventory Configurator cannot configure it. - Exposes an item inventory on every side, or only on some sides, through the loader's inventory API (Fabric Transfer API, or the NeoForge/Forge item handler capability) ("The Inventory Connector reads the side that touches the network"), or on no side ("it cannot join a network").
- A vanilla container block; has a block entity (check a placed one); has no block entity (usually not an inventory).
- Vanilla chest (both halves merged), or part of a multiblock merged with N other blocks; the number of multiblock handlers registered.
- Excluded with the Inventory Configurator, or configured with it (with its priority).
onlyTrimsis on: it has to touch the connector or a trim.- Joins up to N blocks from the connector; an Inventory Cable Connector facing it connects it over any cable distance.
- Part of the network at a position, or not part of any loaded network.
Verdicts
| Verdict | Colour |
|---|---|
| can join a network | green |
| only through an Inventory Cable Connector | yellow |
| unknown until placed | yellow |
| cannot join a network | red |
| excluded by its configuration | red |
| storage network block | aqua |
| trim, connects inventories but holds none | aqua |
doctor config
/simple_storage_remastered doctor configLists the effective server config (what the server really uses after loading and clamping). Values that differ from the default are yellow, followed by "(default …)". Then blockedBlocks (with "blockedBlocks resolves to N loaded blocks"), blockedMods and notStorageBlocks.
After that, the block tags that decide connectivity, each with its size and the first 16 entries:
[Doctor] Effective server config (values that differ from the default in yellow)
invConnectorScanRange = 24 (default 16)
wirelessRange = 32
…
blockedBlocks = create:belt
blockedBlocks resolves to 1 loaded blocks
blockedMods = []
notStorageBlocks = []
[Doctor] Block tags that decide connectivity
#simple_storage_remastered:inventory_connector_skip (1) the Inventory Connector never connects these
#simple_storage_remastered:not_storage (5) machines the Inventory Connector never treats as storage
…
Multiblock handlers registered: 1The tags listed are inventory_connector_skip, not_storage, trims, inventory_configurator_skip, remote_activate and tidy_skip; see Tags.
doctor reset
/simple_storage_remastered doctor resetClears the timing windows of every loaded network, so the next top or at only shows what happened after the reset. Reply: "Cleared the timing windows (networks: N)."
doctor export
/simple_storage_remastered doctor exportWrites a full report of every loaded network to <world>/simple_storage_remastered/doctor/:
doctor-YYYYMMDD-HHMMSS.json: the generation time, the 30 s window, the network count, the total average ms per tick, the top 5 networks and every network in detail.doctor-YYYYMMDD-HHMMSS.csvwith the columnsrank,dimension,x,y,z,inventories,slots,slots_used,avg_ms,peak_ms,rescans_per_min,rebuilds_per_min,players_watching,packets_per_s,kb_per_s.
Reply: "Exported N networks to … and …" (shift-click a path to insert it). If writing fails: "Could not write the export: …". Exports written before v6.0.0 stay in <world>/obscuras_storage/doctor.
Automatic warnings
Without any command, the server log gets a warning (at most once per network every 10 minutes) when a network averages at least doctorWarnMs (default 5 ms) per tick, or has more inventories than doctorWarnInventories (default off):
[Network Doctor] Storage network at 120 64 -340 in minecraft:overworld: 6.20 ms/tick average (peak 14.00 ms) over the last 30 s, 412 inventories, 11,227 slots, 2 rescans/min (warn at doctorWarnMs = 5.0, doctorWarnInventories = 0). Run /simple_storage_remastered doctor at 120 64 -340 for details.For everyone: the Inventory Configurator summary
Every player (no operator rights needed) gets a one-line summary of a network in chat when they left-click its Inventory Connector with the Inventory Configurator (no timings):
[Network] 412 inventories · 11,227 slots (74% full) · 3 terminals · 3 duplicates merged