From 7f2558155da3e9b23cf228f55261a3a2f04949e3 Mon Sep 17 00:00:00 2001 From: Julian Arndt Date: Mon, 21 Jul 2025 23:24:35 +0200 Subject: [PATCH] Add wtl config for season 2026 --- .vscode/launch.json | 10 +- .../resources/Tippliga_Configs/wtl_2026.json | 152 ++++++++++++++++++ 2 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/Tippliga_Configs/wtl_2026.json diff --git a/.vscode/launch.json b/.vscode/launch.json index 9c70cd7..94afeab 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,13 +12,21 @@ "envFile": "${workspaceFolder}/.env", "args": " --mode APIFootballUpdater --season 2026 --league 1 --configFile Tippliga" }, + { + "type": "java", + "name": "MatchesCreatorFootball", + "request": "launch", + "mainClass": "de.jeyp91.App", + "envFile": "${workspaceFolder}/.env", + "args": " --mode MatchesCreatorFootball --season 2026 --league 47 --configFile Relegation" + }, { "type": "java", "name": "MatchesUpdaterFootball", "request": "launch", "mainClass": "de.jeyp91.App", "envFile": "${workspaceFolder}/.env", - "args": " --mode MatchesUpdaterFootball --season 2026 --league 49 --configFile Tippliga" + "args": " --mode MatchesUpdaterFootball --season 2026 --league 48 --configFile WTL-Pokal" }, { "type": "java", diff --git a/src/main/resources/Tippliga_Configs/wtl_2026.json b/src/main/resources/Tippliga_Configs/wtl_2026.json new file mode 100644 index 0000000..45269b1 --- /dev/null +++ b/src/main/resources/Tippliga_Configs/wtl_2026.json @@ -0,0 +1,152 @@ +{ + "numberOfMatchdays": 5, + "matchesPerMatchday": 0, + "pointMode": 4, + "pointsTendency": 1, + "pointsDifference": 2, + "pointsDirectHit": 3, + "ko": 1, + "matchdayConfig": [ + { + "TLWMatchday": 1, + "matchdayName": "1. Runde", + "numberOfMatches": 32, + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 1, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2025-08-15 18:00:00" + } + ] + }, + { + "TLWMatchday": 2, + "numberOfMatches": 16, + "matchdayName": "Achtelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 2, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2025-10-28 18:00:00" + } + ] + }, + { + "TLWMatchday": 3, + "numberOfMatches": 8, + "matchdayName": "Viertelfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 3, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2025-12-02 18:30:00" + } + ] + }, + { + "TLWMatchday": 4, + "numberOfMatches": 4, + "matchdayName": "Halbfinale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 4, + "showTable": true + }, + { + "type": "Placeholder", + "placeholderDatetime": "2026-02-03 18:30:00" + } + ] + }, + { + "TLWMatchday": 5, + "numberOfMatches": 6, + "matchdayName": "Finale", + "matchesConfig": [ + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 5, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "AllMatchesOfMatchday", + "matchesLeague": 81, + "leagueMatchday": 6, + "showTable": true + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-04-21 20:45:00", + "formulaHome": "D", + "formulaGuest": "D" + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-04-21 20:45:00", + "formulaHome": "D", + "formulaGuest": "D" + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-04-22 20:45:00", + "formulaHome": "D", + "formulaGuest": "D" + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-04-22 20:45:00", + "formulaHome": "D", + "formulaGuest": "D" + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-05-23 20:00:00", + "formulaHome": "W 61", + "formulaGuest": "W 63" + }, + { + "type": "PlaceholderSingleMatch", + "koMatch": true, + "placeholderDatetime": "2026-05-23 20:00:00", + "formulaHome": "W 62", + "formulaGuest": "W 64" + } + ] + } + ] +} \ No newline at end of file