[plugin] DownloadArchives
Posted: 31 Jan 2015, 02:04
Here's an improvement of the DownloadArchives plugin: it now includes the following commands:
[quote]
[dlmap]
!dlmap <mapArchiveUrl> - downloads a map archive to the "maps" subdirectory of Spring data directory
"!dlmap http://springfiles.com/sites/default/fi ... egeDry.sd7" downloads map DeltaSiegeDry
[dlthismap]
!dlthismap - downloads current autohost selected map to the "maps" subdirectory of Spring data directory
"!dlthismap
[dlmod]
!dlmod <modArchiveUrl> - downloads a mod archive to the "games" subdirectory of Spring data directory
"dlmod http://springfiles.com/sites/default/fi ... /ba772.sdz" downloads Balanced Annihilation v7.72
[downloadmap]
!downloadmap <case sensitive mapname> - downloads a map archive to the "maps" subdirectory of Spring data directory
!downloadmap duck - downloads map 'duck' from rapid to the "maps" subdirectory of Spring data directory
!downloadmap Red Comet - downloads map 'Red Comet' from rapid to the "maps" subdirectory of Spring data directory
[downloadmod]
!downloadmod <case sensitive name of game> - downloads a game archive to the "games" subdirectory of Spring data directory
!downloadmod XTA 9.745 - downloads mod XTA 9.745 to the the "games" subdirectory of Spring data directory[/quote]
In other words you can use Map and Game names to download them from rapid. If it doesn't find the map or game it will just say the download failed—like before.
It also automatically looks for a map on rapid if the autohost doesn't have the current map (map changed and autohost is not synced). But currently this condition cannot happen since you cannot change a map to one that the autohost doesn't have. It will just respond with:
Requirement for rapid downloading is for the autohost to have pr-downloader installed and working. It comes with spring but may need a bit of hassle to get working.
[quote]
[dlmap]
!dlmap <mapArchiveUrl> - downloads a map archive to the "maps" subdirectory of Spring data directory
"!dlmap http://springfiles.com/sites/default/fi ... egeDry.sd7" downloads map DeltaSiegeDry
[dlthismap]
!dlthismap - downloads current autohost selected map to the "maps" subdirectory of Spring data directory
"!dlthismap
[dlmod]
!dlmod <modArchiveUrl> - downloads a mod archive to the "games" subdirectory of Spring data directory
"dlmod http://springfiles.com/sites/default/fi ... /ba772.sdz" downloads Balanced Annihilation v7.72
[downloadmap]
!downloadmap <case sensitive mapname> - downloads a map archive to the "maps" subdirectory of Spring data directory
!downloadmap duck - downloads map 'duck' from rapid to the "maps" subdirectory of Spring data directory
!downloadmap Red Comet - downloads map 'Red Comet' from rapid to the "maps" subdirectory of Spring data directory
[downloadmod]
!downloadmod <case sensitive name of game> - downloads a game archive to the "games" subdirectory of Spring data directory
!downloadmod XTA 9.745 - downloads mod XTA 9.745 to the the "games" subdirectory of Spring data directory[/quote]
In other words you can use Map and Game names to download them from rapid. If it doesn't find the map or game it will just say the download failed—like before.
It also automatically looks for a map on rapid if the autohost doesn't have the current map (map changed and autohost is not synced). But currently this condition cannot happen since you cannot change a map to one that the autohost doesn't have. It will just respond with:
It would be ideal if it could try to download a map it doensn't have instead. Maybe the check could be done in prespadscommand but then you would have to call the set map command again...Could not find matching map for <mapname> in current map list
Requirement for rapid downloading is for the autohost to have pr-downloader installed and working. It comes with spring but may need a bit of hassle to get working.