|
@@ -13,11 +13,11 @@ wget -N https://s3.amazonaws.com/Minecraft.Download/versions/${MINECRAFT_VERSION
|
|
# Run the world renders (One pass to make map, one to generate points of interests)
|
|
# Run the world renders (One pass to make map, one to generate points of interests)
|
|
|
|
|
|
if [ "$POI_ONLY" != "y" ]; then
|
|
if [ "$POI_ONLY" != "y" ]; then
|
|
- overviewer.py --config /home/minecraft/config.py
|
|
|
|
|
|
+ overviewer.py --config /home/minecraft/config.py $OVERVIEWER_PARAMS
|
|
# Add Google Maps API key if the GOOGLE_MAPS_API_KEY environment variable is set
|
|
# Add Google Maps API key if the GOOGLE_MAPS_API_KEY environment variable is set
|
|
if [ "$GOOGLE_MAPS_API_KEY" ]; then
|
|
if [ "$GOOGLE_MAPS_API_KEY" ]; then
|
|
sed -i "s|https://maps.google.com/maps/api/js|&?key=${GOOGLE_MAPS_API_KEY}|g" /home/minecraft/render/index.html
|
|
sed -i "s|https://maps.google.com/maps/api/js|&?key=${GOOGLE_MAPS_API_KEY}|g" /home/minecraft/render/index.html
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
|
|
|
|
-overviewer.py --config /home/minecraft/config.py --genpoi
|
|
|
|
|
|
+overviewer.py --config /home/minecraft/config.py --genpoi $OVERVIEWER_PARAMS
|