Skip to content
STRUCTS.AICODEX
structstestnet-111 structsd v0.23.0 ✓ facts and rules verified 2026-11-27

Power your guild’s members

A new guild member has no Alpha and no power of their own. Their first power is the guild’s: a share of a substation fed by allocations from a reactor, a guild or a player. This runbook builds that path end to end. Every command and permission was checked against structsd v0.23.0. In the Codex this is the Alpha Relay Web: a capital reactor powering the worlds of its guild.

HOW MEMBERS GET CONNECTEDR.guild.entry-substation

Every guild join path connects the joining member to the guild's entry substation (or to a --substation-id override where the path allows one). Changing the entry substation affects only members who join afterwards; existing members must be moved.

Source: x/structs/keeper/guild_membership_cache.go:198-207,251-260,319-324 · all rules
A COMMON MISTAKER.grid.infusion-not-substation

Infusing a reactor raises only the reactor's share and the infuser's own capacity; it does not power any substation. Power reaches a substation only through an allocation into it. An automated allocation on the infused source resizes itself as that source's capacity changes, which is the one way an infusion flows through on its own.

Source: x/structs/keeper/infusion_cache.go:132-201 · all rules

Size it first

For members with no power of their own: members × 1075 W ÷ 0.9 (the substation passes on 90%) is what the substation must receive. Twenty members: 20 × 1,075 W ÷ 0.9 ≈ 23.9 kW. If that comes from the guild’s own reactor infusion, the infuser keeps 4% less than it stakes (96%), so stake about 23.9 ÷ 0.96 ≈ 24.9 kW, roughly 25 grams of Alpha (1 ualpha = 1 mW). Members who power themselves need less; a connection cap (step 6) keeps one member from taking more than their share.

Check the stake cap before a large infusion: structsd query structs reactor-stake-share [reactor-id]. Once 10 validators are bonded, a reactor cannot grow past 30% of bonded stake, and the infusion is rejected with 1613; spread across reactors if needed (and earn the diversity bonus).

The path

# Step Command Permission (bit)
1 Fund a source. Infuse a reactor for the guild’s own capacity. structsd tx structs reactor-infuse --owner-id=[guild-id] --from [key] --gas auto --gas-adjustment 1.5 -- [validator-address] [amount]ualpha token infuse (32) on the guild
2 Allocate it. Static (fixed power), dynamic (adjustable) or automated (all of the source’s capacity, resizing itself). structsd tx structs allocation-create --allocation-type automated --from [key] --gas auto --gas-adjustment 1.5 -- [source-id] [power] source allocation (256) on the source
3 Create the substation from that allocation. No Alpha, no charge — only gas. structsd tx structs substation-create --from [key] --gas auto --gas-adjustment 1.5 -- [owner-id] [allocation-id] allocation connection (2048) on the guild and on the allocation
4 Add more feeds (optional). structsd tx structs substation-allocation-connect --from [key] --gas auto --gas-adjustment 1.5 -- [allocation-id] [substation-id] allocation connection (2048) on the allocation
5 Make it the entry substation, so joining members land on it. structsd tx structs guild-update-entry-substation-id --from [key] --gas auto --gas-adjustment 1.5 -- [guild-id] [substation-id] guild substation update (65536) on the guild and substation connection (1024) on the substation
6 Cap each member’s share (optional; 0 means no cap, values in mW). structsd tx structs substation-update-connection-capacity-maximum --from [key] --gas auto --gas-adjustment 1.5 -- [substation-id] [maximum] update (4) on the substation

Notes on each step:

</div>

What each member gets

A member’s share is the substation’s usable capacity — 90% of what it receives — minus the substation’s own load, divided by the number of connected players, then capped by the connection maximum. That share is the member’s capacitySecondary, which is exactly the number a new player’s first hour depends on. For four members to each power the first-hour structs (1075 W each, if they have no power of their own), the substation needs to receive about 4.8 kW.

A member can move themselves: substation-player-connect -- [substation-id] [player-id] needs substation connection (1024) on the substation and on the player, and players hold every permission on themselves. To let members connect to your substation without asking, grant the bit to a guild rank: permission-guild-rank-set -- [substation-id] [guild-id] 1024 [rank].

When it overloads

Load can exceed capacity for a while — an allocation shrinks or disappears mid-block. At the end of each block the grid cascade destroys outgoing allocations from any object over capacity, within a per-block budget, until each fits; whatever it does not reach waits for the next block. Members’ shares shrink as feeds disappear, and members whose load no longer fits go offline (they cannot act until they shed load).

Watch: structsd query structs substation [substation-id] · structsd query structs allocation-all-by-destination [substation-id] · structsd query structs allocation-all-by-source [source-id] · each member’s structsd query structs player [player-id] (capacitySecondary against load + structsLoad).


Related: Run a reactor · energy, in depth · structs-energy skill · structs-guild skill · Run