BeamMP-Server
BeamMP-Server copied to clipboard
[Feature Request] Add basic check for map directory
A returning problem with setting up a server is getting the map directory set correctly in ServerConfig.toml
There is a very limited amount of maps that need the .mis be linked to. So far i only seen these three maps, but there might be more:
Altitude “/levels/altitude/altitude.mis” Car Jump Arena “/levels/car_jump_arena/car_jump_arena.mis” Canion of Speed “/levels/canyon_of_speed/canyon_of_speed.mis” Crawl Central “/levels/crawl_central/crawl_central.mis”
Server could check on startup if for example “/levels/altitude/info.json” is set instead of the .mis.
If a map is used that follows the .json scheme, check on startup if the info.json can be found at the specified directory. Basically checking for typos in the ServerConfig.toml
If the directory is set wrong, display an error in the server console.
This does not solve all pssible issues, but the most common i think.
I love the idea! This needs to be a feature for sure.
check on startup if the info.json can be found at the specified directory.
A problem with this is that the server would need to open the zip file, and im not 100% positive its worth the effort. Instead, we could just send the map name part to the client, who also gets the mod, and the client can then check for json, mis, etc.