GreepTheSheep / openplanet-MXRandom

An Openplanet plugin that takes a random map from MX / TMX and play it
https://openplanet.dev/plugin/mxrandom
GNU General Public License v3.0
19 stars 28 forks source link

feat: change query parameters on API errors #79

Closed EdVraz closed 1 year ago

EdVraz commented 1 year ago

This automatically changes the query parameters from 1&9 to 3&8 every time the API returns an error with the hope to mitigate the issues with the API blocking requests to specific query parameters after some time.

This hopefully offers a partial fix for #68.

GreepTheSheep commented 1 year ago

Sorry, will not add this PR because I'll prefer editing the config on the go using Openplanet's website plugin config page. If you want to edit on your side, change yourself