Add debug console management: implement configuration for enabling the built-in debug console; bypass CheatManager tamper detection; update README and install script for opt-in usage

This commit is contained in:
Alexa
2026-06-02 23:50:51 +03:00
parent ef440bedaa
commit d2bf57a20c
4 changed files with 327 additions and 5 deletions
+6
View File
@@ -440,6 +440,12 @@ $cfg = [ordered]@{
PhotonCloudRegion = $PhotonCloudRegion
InjectAuthValues = $true
EnableTlsTrustBypass = $true
# Opt-in: force-enable the client's built-in debug console (dev gate
# bypassed) + silence CheatManager so SetTimeScale / Fly / Teleport etc.
# don't drop you to the dorm. Flip to $true and relaunch; press the
# toggle key (a UnityEngine.KeyCode name; BackQuote = the `~` key).
EnableDebugConsole = $false
DebugConsoleToggleKey = 'BackQuote'
}
Write-Step "Writing mod config -> $cfgPath"
[System.IO.File]::WriteAllText($cfgPath, ($cfg | ConvertTo-Json -Depth 4))