Mods.GTFO.EZ.Shared/SPEC
Mods.GTFO.EZ.Shared — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
In docs/ECOSYSTEM.md (the workspace's source), this repo is the engine kit that owns the GTFO.EZ family's common code (the Mods.*.Shared row of the platform table): the four family mods compile its pinned source.
GTFO.EZ.Shared is the source the four GTFO.EZ family mods (GTFO.EZ, AbsurdWeapons, AbsurdItems, AbsurdMoves) compile in as a git submodule: the team infinite health and ammo toggles that sync through the host, and the owner logic that makes one copy run however many family mods are installed. It is not shipped on its own. The finished product is one pinned, documented version (v22) that all four mods compile in their v22 release.
2. Scope boundary
2.1 In the product
- Insert/Delete team toggles synced and confirmed through the host.
- One-copy ownership by the highest
SharedOwner.ProtocolVersion. - One pinned, documented version consumed by all four mods.
2.2 Never in the product
- New shared features.
- Packaging it as a DLL or a Thunderstore package.
- GTFO.CrashTestDummies or GTFO.SkipDrop adopting it.
- Open-ended bug hunts or soaks.
3. Users and roles
- Mod authors (the four family repos): compile it in from
external/GTFO.EZ.Sharedand move the pin. - Players: see its toggles as whole-team effects announced in the event log.
4. Requirements
E1. Shared family source — GES-T24 — built
F1.1 Team infinite toggles — GES-T25 — built
- S1.1.1 Infinite health protects the whole team — GES-T12 — built. Evidence: 07d78df.
- S1.1.2 Infinite ammo fills and keeps everything full — GES-T13 — built. Evidence: 62cb97a.
- S1.1.3 Team sync confirms through the host — GES-T14 — built. Evidence: 39b34a4. Acceptance: Given a client press, when the host answers, then "whole team" is announced; with no answer in 2 s, only the presser has it and is told why.
- S1.1.4 A failed send drops the pending press — GES-T17 — built. Evidence: e428452.
F1.2 One shared copy — GES-T26 — built
- S1.2.1 Compiled-in submodule — GES-T27 — built
- S1.2.2 Newest copy owns — GES-T28 — built Acceptance: Given two family mods installed, when the game loads, then only the copy with the highest protocol version runs the shared features.
F1.3 Family messages and safe events — GES-T34 — built
- S1.3.1 One message API — GES-T35 — built. Evidence: bf30b4d (
MessageHelper.cs). - S1.3.2 Throw-safe network events — GES-T36 — built. Evidence: 7cb08ed (
RemoteEvents.cs).
F1.4 Family blast and helpers — GES-T39 — built
Code copied across family mods with no owner yet, found by GTFO.EZ.AbsurdItems' comb (R14, R35). Each consumer's switch to it is that consumer's own debt (GAI-T71, GAI-T72 and their siblings).
- S1.4.1 One family blast — GES-T40 — built. Evidence:
Blast.cs,BlastFalloff.cs. Acceptance: Given a blast under a ceiling just above its center, whenBlast.Damageruns, then its line of sight starts below the ceiling (never 0.2 m blind), enemies it can see take damage withBlastFalloff.Atfalloff, and door locks in reach take full damage. - S1.4.2 Four family helpers — GES-T41 — built. Evidence:
DataBlockCopy.cs,OwnPlayer.cs,NonNegative.cs,ModdedName.cs. Acceptance: Given a family mod, when it clones a datablock, filters a bot's local damage component, binds a float setting that can't be negative or names its own item, then it calls Shared's one helper and behaves as its old copy. - S1.4.3 Family player names — GES-T43 — built. Evidence:
PlayerNames.cs;InfiniteToggles.cscalls it. Filed under E1 (GES-T24) from GTFO.EZ's comb (R35); each consumer's switch is its own debt (G.EZ-T184, G.AWPN-T282 and their siblings). Acceptance: Given an SNet player or lookup, when a family mod names it in a message, thenPlayerNames.Ofgives its nickname, or the caller's own fallback word when it has none, is blank, is lookup 0 or the lookup throws. - Membrane: the blast and the helpers build as one — GES-T42 — built. Evidence: the run in its close note (a temp copy of AbsurdItems compiling both parts at e50d9b3 beside its own same-named types).
E2. Shared source v22 — GES-T18 — built
F2.1 Every mod pins one documented version — GES-T19 — built
- S2.1.1 Move every mod's pin to Shared HEAD — GES-T20 — built. Evidence: all four pin 3f4d61a (G.EZ f806c99, AbsurdWeapons 53f5e6f, AbsurdItems aec2e98, AbsurdMoves 135383e). Acceptance: Given GTFO.EZ, AbsurdWeapons, AbsurdItems and AbsurdMoves, when built with
build.ps1, then each pins e428452 (or later) instead of 39b34a4. - S2.1.2 Release the changelog as 22.0.0 and check the docs — GES-T21 — built. Evidence: 6e4da6c. Acceptance: Given the family release, when it ships, then CHANGELOG's Unreleased section is 22.0.0 and
docs/overview.mdmatches the code. - S2.1.3 KitLoot leaves Shared (debt) — GES-T33 — built. Evidence: 3f4d61a. Only AbsurdItems compiled it; it moved there (GAI-T63, 4098f36) before the pins moved.
- Membrane: the pin and the docs say the same version — GES-T38 — built. Evidence: the pin check in its close note.
F2.2 Family config and sound plumbing — GES-T29 — built
- S2.2.1 Config defaults migrate once — GES-T30 — built Acceptance: Given a mod's (version, section, key, old default) table, when
ConfigDefaults.Migrateruns after every Bind, then a setting still on its old default moves to the new one once and a player's own value is never touched. - S2.2.2 Host values swap in memory — GES-T31 — built Acceptance: Given the host's values, when
HostValues.Setruns, then the mod's shared numeric and bool settings use them in memory, never saved;Clearputs the player's own back; the master switch, the migration marker and any sections the mod names stay its own. - S2.2.3 Game sounds and loops — GES-T32 — built Acceptance: Given an event name,
GameSounds.Playplays it (a "2D" event only for the local player; a failing event warned once);LoopSoundSetkeeps a loop running while touched and stops it shortly after; the mod only ticks it. - Membrane: the consumed shared source is one thing — GES-T37 — built. Evidence: the run in its close note. The pinned, documented HEAD carries F2.2.
5. Non-functional requirements
- Compiles into IL2CPP BepInEx plugins; messages carry a protocol version; no session-long latch-off on one GTFO-API error.
6. Interfaces and dependencies
- Platform (per
docs/ECOSYSTEM.md): it is the platform owner for GTFO.EZ common code; shipping: through the family release (G.EZ-T143 requires GES-T20 and GES-T21); the plan: MindAttic.Tickets. - Consumed by: Mods.GTFO.EZ, Mods.GTFO.EZ.AbsurdWeapons, Mods.GTFO.EZ.AbsurdItems, Mods.GTFO.EZ.AbsurdMoves.
- Required by: G.EZ-T143 (the v22 family release) requires GES-T20.
7. Release sequence
- MS-64 — Shared source v22 (active): E2. This is the finished product.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from overview, BIBLE, RELEASE, code and ticket history | MAT-T399 |
| 2026-11-30 | MAT-T462 single-source pass: 0 renamed, 0 buckets dissolved, 0 requires added here (G.EZ-T143 now requires GES-T21 too), 0 platform re-points | MAT-T474 |
| 2026-11-30 | Build-up comb of Mods.GTFO.EZ.AbsurdMoves (MAT-T484) pulled forward F2.2 (GES-T29 to T32): config defaults, host values and sounds were copied into each family mod | GES-T29 |
| 2026-11-30 | Build-up comb (MAT-T484): F1.3 messages and network events filed as built (GES-T34 to T36); debt GES-T33 moves KitLoot to its one consumer; membranes GES-T37 (E2) and GES-T38 (F2.1) | GES-T34 |
| 2026-12-01 | Build-up comb of Mods.GTFO.EZ.AbsurdItems (MAT-T484) pulled forward F1.4 (GES-T39 to T41): the grenade blast and four small helpers were copied across family mods with no owner; moving copies is not a new shared feature (2.2) | GES-T40 |
| 2026-12-01 | Build-up comb of Mods.GTFO.EZ (MAT-T484) pulled forward S1.4.3 (GES-T43): the SNet player-name lookup was copied into InfiniteToggles, GTFO.EZ (three times) and each Absurd mod; moving copies is not a new shared feature (2.2) | GES-T43 |