Set telemetry server ID when creating Komodo servers

This commit is contained in:
2026-09-17 15:28:23 -04:00
parent bbb1639184
commit e4505a3be8
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -100,7 +100,8 @@ function buildEnv(args: {
// config afterward, then rotate. A separate exec avoids quoted values
// in EXTRA_ARGS, which Plutainer splits on whitespace.
{ variable: 'PLUTAINER_MAP_ROTATE', value: 'false' },
{ variable: 'PLUTAINER_EXTRA_ARGS', value: `+exec ${MAP_CONFIG_FILE} +map_rotate` },
// Give telemetry scripts the registry name before the first map starts.
{ variable: 'PLUTAINER_EXTRA_ARGS', value: `+exec ${MAP_CONFIG_FILE} +set tws_server_id ${args.name} +map_rotate` },
{ variable: 'PLUTO_SERVER_KEY', value: args.plutoKey },
{ variable: 'PLUTAINER_RCON_PASSWORD', value: config.rcon.password }
];