Skip to content

Adopt Foundations for mod v1.9.0 - #15

Merged
Kheartz merged 10 commits into
mainfrom
0.9
Oct 14, 2026
Merged

Kheartz merged 10 commits into
mainfrom
0.9

Conversation

@Kheartz

@Kheartz Kheartz commented Oct 14, 2026

Copy link
Copy Markdown
Member

No description provided.

The mod's Quidditch on Foundations: activities, character metadata, houses, native inventory, UI and input, interactions, audio, blips and world policy. The pitch is server WorldObjects, so no client reports ball or snitch positions. Match control is configurable from an hmp-core group to anyone, the manager tunes the pitch with live hmp-ui sliders, and a called match reaches players as a small unfocused card they can ignore.
Cooperative wave survival, ported from the standalone hmp-gauntlet resource: a party forms an activity lobby and fights randomized, escalating waves of enemies from the hmp-npcs catalog. Ranked records live in hmp-worldstate per preset and party size, and personal bests in hmp-core character metadata; an optional hmp-interact altar opens the bundled configuration screen. The gameplay is unchanged. The port types against each core resource's types.d.ts instead of local copies, reads HMP_GAUNTLET_CONFIG like the core resources, and publishes the hmp-gauntlet:complete payload in types.d.ts. The shared typings gain the Framework's server Chat builtin, which the Gauntlet broadcasts through.
Holding Alt (noclip.movement.slow) multiplies no-clip speed by noclip.slow, 0.25 by default, for precise positioning; slow wins over the Shift boost. With noclip.hideLocal the admin's own body, wand and held prop are hidden on their screen while flying through HogwartsMP 1.9's LocalPlayer.setVisibility, and restored on every way out of no-clip. The new noclip export's isActive(player | playerId) lets other resources read the server's no-clip state instead of tracking it themselves.
Current HogwartsMP hosts moved World.setEncounterPolicy to the server, so the client call threw on every policy update. The server now applies nativeEncounters at startup and when it changes; the client only records it.
Current HogwartsMP hosts removed the client duel and targeting builtins and drop hits between players who are not hostile. A duel is now a Pvp.setPair override that ends on pvpDefeat, and lethal mode is the rules' who: "everyone". The duel countdown timer is no longer unref'd, which had kept it from ever firing.
World.suppressLoot now takes pouches; suppressGameLoot gains the family. Older hosts ignore the key.
Current hosts hand web views Enter's character, which also pressed a button left focused by a click.
The host drops hits between players who are not hostile before the policy runs, so deny only overrode its own relations: a team, flag or pair set up elsewhere dealt no damage. A fresh server stays consent-only under who: "none".
The host is dropping its unsynced native option. encounters is "suppressed" (default) or "server", applied on the server, so clients are no longer sent it. hmp-quidditch stops switching encounters off for a match, which with server camps would despawn every camp for everyone.
Hosts pay kill rewards on the client without reporting the amount, so the next sync resets it.
@Kheartz
Kheartz merged commit 159657e into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant