openplanet-MXRandom
openplanet-MXRandom copied to clipboard
Allow filtering maps by date
Originally thought to prevent troll map mass uploads for Lars&Scrapie RMC battle challenge, some people also showed interest on having the option to filter maps based on a date interval. A use case being, for example, playing maps only before the ice update, or before the new cars were released.
The optimal solution would be to have date filtering in the mapsearch2 api endpoint, but otherwise the map upload and update dates can be checked when preloading the map, and preloading a new map if such date is not inside the desired interval.