#1467 (H14): operator gate for the save-side orphan backstop.
Foundations near position (within a margin covering the largest
foundation cubebounds), for glitch/permission checks that need to test
isInside() against every foundation that could geometrically contain
a point — not just the entity's own logical parent — without scanning
every foundation on the server.
OptionalfreeplaceParentCharacterId: stringSpatial-hash-backed replacement for utils.checkConstructionInRange when the dictionary being queried is one of the four construction dictionaries — reuses the same cached hash as detectStackedPlacement instead of scanning the full dictionary.
OptionalparentObjectCharacterId: stringOptionalBuildingSlot: stringOptionalparentObjectCharacterId: stringOptionalparentObjectCharacterId: stringOptionalparentObjectCharacterId: stringRe-applies the shelter/shack hide gate around a character whose group membership just changed, so a revoked visitor is culled and a member who kept VISIT access is revealed without waiting for the periodic sweep. Re-evals every foundation and shelter/shack the character stands inside via reevalShelterEntityVisibility, which keeps the Character.RemovePlayer own-character guard.
Immediately re-applies the shelter/shack hide gate to the entities contained inside shelter
for every ready client, so a door open/close/place/destroy reveals or culls contained
containers/workbenches without waiting for the periodic spawn/cull sweep. Uses the same
shouldHideEntity gate, so the result matches the sweep (no flapping). Never removes a client's
own character.
Stable per-viewer decision for hiding a player standing inside a secured shelter/shack. Computed from the same inputs as the entity gate (isSecured + isInside + permission), so it does not flap: hides the target only when they are inside a secured shelter/shack, the viewer is not inside it, and the viewer is not a group member with VISIT permission. target.isHidden holds the shelter id.
MANAGED BY CONFIGMANAGER - See defaultConfig.yaml for more information