mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user