The OpenLayer Plugin for QGIS provided all my basemap layers for quite some time now. But since the eagerly awaited launch of QGIS 3.0 earlier this year this plugin became incompatible, leaving you with two options:

  • you either gather and compile all XYZ Tiles manually,
  • OR run a Python Script.

Open the Python Console (Ctrl+Alt+P), take the script and hit “run command”. Done!
Thanks to Klas Karlsson, this will save you a lot of time!