feat(mod): cloud config upload via %config save <1-4>

Add PlatformHttpClient.put() and ConfigCloudUploader so %config save
<slot> snapshots the current modules and PUTs them to /configs/{slot},
reporting the returned share_code for a friend's %config load <code>.
Plain %config save still writes locally. Update command usage/i18n and
add a buildBody unit test.
This commit is contained in:
loki5512344 2026-09-28 14:10:16 +02:00
parent 904c724c9f
commit 61a73cffbb
Signed by: boba
GPG key ID: 253067914055423B
7 changed files with 142 additions and 4 deletions

View file

@ -3248,7 +3248,7 @@
"setting.nointeract.only_kill_aura": "Only with KillAura",
"command.addons.description": "Lists, scans, enables, or disables client addons.",
"command.bind.description": "Changes module key binds and lists existing binds.",
"command.config.description": "Saves, reloads, or locates the active client config.",
"command.config.description": "Saves, reloads, or locates the client config; uploads it to a cloud slot or loads a shared code.",
"command.coordinates.description": "Shows the current player coordinates.",
"command.enemy.description": "Manages the client enemy list.",
"command.gps.description": "Sets or clears the Gps compass target.",