Skip to content

bcheidemann/Minecraft-Overviewer-Docker

 
 

Repository files navigation

Minecraft Overviewer Docker

This reposetory is a fork of the Minecraft Overviewer repository. This is intended to serve as an example of how to build and use this project as a Docker image. To build the docker image, run ./build-overviewer.sh and then run ./run-overviewer.sh to run the resulting docker image.

Documentation & GitHub

The Minecraft Overviewer documentation can be found here. The official GitHub page for the project can be foud here.

Usage

This section outlines basic usage of the docker images for Minecraft Overviewer. The examples given will assume that you have a minecraft server installed and that your current working directory is the server directory. If, for instance, you've installed your server to ~/server it is assumed that this is your current working directory.

Core

Overviewer depends on textures in order to render your world. These can come either from a client .jar or a resource pack. See the documentation for more detail instructions on installing textures.

For this example, we will assume you're downloading the 1.18.1 client .jar distributed on the Overviewer website.

user@desktop:~/server$ mkdir overviewer
user@desktop:~/server$ wget https://overviewer.org/textures/1.18.1 -O ./overviewer/1.18.1.jar

Next, add download the sample config file to ~/server/overviewer/config.py.

user@desktop:~/server$ wget https://raw.githubusercontent.com/bcheidemann/Minecraft-Overviewer-Docker/master/sample_config.py -O ./overviewer/config.py

Finally, run the docker image. The map will be rendered to ~/server/overviewer/output.

user@desktop:~/server$ docker run \
  --name overviewer-test \
  -v $PWD/world:/world \
  -v $PWD/overviewer/output:/output \
  -v $PWD/overviewer/config.py:/overviewer/config.py \
  -v $PWD/overviewer/1.18.1.jar:/root/.minecraft/versions/1.18.1/1.18.1.jar \
  bcheidemann/overviewer --config=/overviewer/config.py

You can then view the render by opening ~/server/overviewer/output/index.html in a browser.

About

Render high-resolution maps of a Minecraft world with a Leaflet powered interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 72.6%
  • C 21.9%
  • JavaScript 3.7%
  • CSS 1.7%
  • HTML 0.1%
  • Dockerfile 0.0%