# 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](https://structs.ai/world/): a capital reactor powering the worlds of its guild. > **Rule R.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. > **Rule R.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. ## 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: - **Sources.** > **Rule R.grid.allocation-source:** An allocation's source can be a guild, a player, a bonded reactor or a substation. A struct cannot be an allocation source. - **Automated allocations** take the source's whole capacity and ignore `[power]`. A source can have only one, and only while it has no other load (`automated_conflict`); a guild or player source also needs its full usable capacity available (`unsupported_supply`). - **A guild-sourced allocation is controlled by the guild**, and guild-owned objects follow the guild's current owner and rank permissions rather than a personal grant. - **The entry substation cannot be cleared**, only changed. Changing it affects new members only; move existing members with `substation-player-migrate -- [substation-id] [player-id,player-id2,...]`, which needs substation connection (1024) on the substation and on each player. - **Joining a guild that has no entry substation disconnects the member** from their current substation. Set the entry substation before you recruit. ## 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](https://structs.ai/new/hour-1) 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](https://structs.ai/run/reactor-node) · [energy, in depth](https://structs.ai/knowledge/mechanics/energy) · [structs-energy skill](https://structs.ai/skills/structs-energy/SKILL) · [structs-guild skill](https://structs.ai/skills/structs-guild/SKILL) · [Run](https://structs.ai/run/)