Downloads recently uploaded BHOP maps from gamebanana.com
for the game CS:S
. Works on Windows and Linux.
Features:
- Checks for new uploaded maps every
n
seconds via API call - Downloads and extracts compressed files
- Puts downloaded maps into the specified folder
- Compresses downloaded maps with bzip2 and puts them into the specified folder
- Infos about the maps are saved in a SQLite database
- Every action is logged (daily) and can be found in the
Logs
folder
Create and configure the appsettings.json
file and put it in the same directory as the executable. I'd recommend to set CheckInterval
to 5 or 10 minutes as seconds if you want to run it for a longer period. For the sake of debugging I'm using 5 seconds (not recommended).
{
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Error",
"System": "Warning"
}
}
},
"DownloadPath": "tmp_maps",
"KeepDownloadFiles": false,
"ExtractPath": "cstrike\/maps",
"EnableFastDlCompression": false,
"FastDlPath": "\/var\/lib\/pterodactyl\/volumes\/fastdl\/maps",
"MapTypes": [
"bhop",
"kz",
"autobhop"
],
"CheckInterval": 300,
"NumberOfMapsToCheck": 3
}
Contributions are appreciated and very welcome.