allow switching to level by url

This commit is contained in:
Robin Appelman 2023-11-11 18:02:31 +01:00
commit 18e3b5f9cf
2 changed files with 58 additions and 4 deletions

View file

@ -8,6 +8,8 @@ Automatically download missing maps.
To use the plugin simple change the level using `rcon changelevel ...` as normal, the plugin will detect when you're trying to load a non existing map and will automatically attempt to download the map before changing to it.
Additionally, you can pass a url to `changelevel` to download a map from a different location. Due to limitations with tf2 you do need to replace the `://` in the url with `:/`: `rcon changelevel https:/someserver.com/somemap.bsp`.
## Configuration
You can control the location where it tries to download the map from by setting `sm_map_download_base` (defaults to `'https://fastdl.serveme.tf/maps'`)