Name: Maxlan statt MaxLAN auf der Webseite und in den Servernamen

This commit is contained in:
mregosar committed 2026-10-29 22:04:24 +01:00
1 parent 15997af23d
commit ea06237846
10 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ export function loadConfig(overrides = {}) {
// Abstand des CSTV-Ports zum Spielport, z. B. Spiel 27015 -> CSTV 27115
tvPortOffset: int('CS2_TV_PORT_OFFSET', 100),
// Anfang des Servernamens im Serverbrowser, danach folgen die Teamnamen
serverNamePrefix: str('CS2_SERVERNAME_PREFIX', 'MaxLAN'),
serverNamePrefix: str('CS2_SERVERNAME_PREFIX', 'Maxlan'),
// Optional: mehrere Docker-Hosts als JSON-Liste, z. B.
// [{"name":"host1","dockerHost":"ssh://cs2@192.168.178.111","publicHost":"192.168.178.111","portStart":27100,"portEnd":27139}]
hosts: parseDockerHosts(str('CS2_DOCKER_HOSTS')),
+1 -1
View File
@@ -90,7 +90,7 @@ export class DockerServerAdapter {
return plan;
}
/** Servername im Steam-Serverbrowser, z. B. "MaxLAN | Team A vs. Team B". */
/** Servername im Steam-Serverbrowser, z. B. "Maxlan | Team A vs. Team B". */
serverName(matchId, teamNames) {
const prefix = this.options.serverNamePrefix ? sanitizeConsoleText(this.options.serverNamePrefix, 24) : '';
if (!teamNames) return `${prefix} ${matchId}`.trim();