mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 07:28:45 -07:00
4edf25b2d5
Targets Rec Room 2020.12.18 client.
Re-import after adding:
- DorkNet.ClientMod/dorknet-clientmod.json.template — config schema
the launcher's manifest-driven patcher renders into UserData/.
- tools/build-patcher-zip.ps1 — produces the dorknet-clientpatch-{key}.zip
Release asset the launcher fetches.
- .github/workflows/release.yml — auto-publishes both Release assets
on v1-december-* tag push.
Scrubbed via maintainer-side scrub-for-public.ps1: same drop rules as
the prior import, plus build-patcher-zip.ps1 added to the tools/
allow-list so it survives the scrub.
34 lines
1.6 KiB
JSON
34 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Jwt": {
|
|
"Secret": "CHANGE_ME_TO_A_LONG_RANDOM_SECRET_AT_LEAST_64_CHARACTERS_LONG_FOR_SECURITY_PURPOSES"
|
|
},
|
|
"Photon": {
|
|
"AppId": "<your-photon-realtime-app-id>",
|
|
"VoiceAppId": "<your-photon-voice-app-id>",
|
|
"CloudRegion": "eu"
|
|
},
|
|
"Server": {
|
|
"MOTD": "Welcome to the Rec Room private server!",
|
|
"CommunityBoardMessage": "Bacon Stinks",
|
|
"CommunityBoardMoreInfoUrl": "",
|
|
"PhotonRoomPrefix": "DorkNet"
|
|
},
|
|
"DorkNet": {
|
|
"_comment_SupportedVersions": "Per-deployment allow-list. Requests whose X-DorkNet-Version header isn't in this set get a 426 Upgrade Required. To accept multiple client builds add their keys here.",
|
|
"SupportedVersions": [ "december_2020_12_18" ],
|
|
"_comment_DefaultClientVersion": "Fallback for requests without an X-DorkNet-Version header — the transition path while not every shipped client mod yet stamps the header. Set to '' (empty) once everyone's caught up to also reject headerless calls.",
|
|
"DefaultClientVersion": "december_2020_12_18",
|
|
"_comment_BuildIdToVersionKey": "Maps the raw build identifier the 2020 watch sends to /api/versioncheck/v4?v={buildId} (read from KMJJGELKNAP.MCFMPCNNEBH, e.g. '20201210') to our internal ClientVersion.Key. Builds not listed here get UpdateRequired and the watch shows its native dialog. Add a new build by listing its raw ID + matching version-plugin key.",
|
|
"BuildIdToVersionKey": {
|
|
"20201210": "december_2020_12_18"
|
|
}
|
|
}
|
|
}
|