Mods.GTFO.EZ.Shared/BIBLE
GTFO.EZ.Shared — Project Bible
Single source of truth for what GTFO.EZ.Shared IS, is NOT, and the rules that keep it coherent. README says how to use it; this says how to think about it. The finish line lives in
docs/RELEASE.md.
1. The one sentence
The C# source the GTFO.EZ family compiles into each mod from a git submodule: shared-key ownership, the Insert/Delete team toggles, on-screen messages and throw-safe GTFO-API events.
2. The product promise
- Players install nothing extra: every file is compiled into each mod's own assembly.
- With several family mods installed, exactly one answers the shared keys, so a press never toggles twice.
- Insert (infinite health) and Delete (infinite ammo) cover the whole team, confirmed through the host and announced to everyone.
3. What it is NOT
- Not a DLL or a Thunderstore package.
- Not used by GTFO.CrashTestDummies (dropped in its v17) or GTFO.SkipDrop.
4. Architecture canon
GTFO.EZ / AbsurdWeapons / AbsurdMoves / AbsurdItems
└── external/GTFO.EZ.Shared (submodule) ── <Compile Include ... Link="Shared\..."/>
SharedOwner.cs picks the owner copy (highest ProtocolVersion, then install order)
InfiniteToggles.cs Insert/Delete, host-confirmed team sync over GTFO-API
MessageHelper.cs Show(text, Warden | EventLog | Center | Subtitle, seconds)
RemoteEvents.cs Register<T>(name, handler) whose handler cannot throw
Blast.cs Damage (enemies + locks, ceiling-safe sight line), Locks, Show (bang + effect)
BlastFalloff.cs At(distance, inner, outer, edgeFraction), game-free
DataBlockCopy.cs Clone(block), CopyObject(obj): property-by-property copies of vanilla data
OwnPlayer.cs IsMine(Dam_PlayerDamageLocal): your player, not a host bot
NonNegative.cs float settings clamped to 0 or more; Bind(config, ...)
ModdedName.cs Mark(name) = name + " (!)", game-free
PlayerNames.cs Of(player or lookup, fallback): a nickname for a message
4.2 Domain nouns
Owner copy, ProtocolVersion, toggle state, host heartbeat.
4.3 Key verbs
Request a toggle from the host, broadcast state, name teammates missing the mod.
5. The Laws
Inherits MindAttic.HouseRules.md by reference.
- Every type is
internalinMindAttic.GTFO.Shared; copies coordinate only at runtime throughSharedOwner. - Bump
SharedOwner.ProtocolVersionon any change to shared behaviour or messages. - A mod whose
[0. Mod] Enabledis off counts as not installed. - Change code here first, then move every consumer's submodule to the same commit.
6. Verified state
HEAD e428452 (GES-T17). The four mods pin 39b34a4 (GES-T14) as of 2026-11-27.
7. Active frontier
See docs/RELEASE.md: one pinned version for the v22 family release.
8. Quality bar
Every consumer builds clean with its build.ps1 after the submodule moves; README's file table and CHANGELOG match the code.
9. Glossary
- Consumer — a mod that compiles this source from
external/GTFO.EZ.Shared. - Owner copy — the one loaded copy that answers the shared keys.