Created
May 5, 2020 14:55
-
-
Save rossja/b829e57e5f5c57f5762ee2dd605953d7 to your computer and use it in GitHub Desktop.
Dockerized Overviewer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worlds["default"] = "/tmp/server/world/" | |
worlds["nether"] = "/tmp/server/world_nether/" | |
renders["default_day"] = { | |
"world": "default", | |
"title": "Default Day", | |
"rendermode": smooth_lighting, | |
"dimension": "overworld", | |
} | |
renders["default_night"] = { | |
"world": "default", | |
"title": "Default Night", | |
"rendermode": smooth_night, | |
"dimension": "overworld", | |
} | |
renders["default_nether"] = { | |
"world": "nether", | |
"title": "Default Nether", | |
"rendermode": nether_smooth_lighting, | |
"dimension": "nether", | |
} | |
# default textures | |
#texturepath = "/tmp/overviewer/client.jar" | |
# custom textures | |
texturepath = "/tmp/textures/ChromaHills-128x-1.15-v1.zip" | |
outputdir = "/tmp/export/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# base location | |
BASE_DIR="$HOME/minecraft" | |
# location of the world files | |
SERVER_DIR="$BASE_DIR/papermc" | |
# location of the generated map files | |
EXPORT_DIR="$BASE_DIR/overviewer/maps" | |
# location of optional texture packs | |
TEXTURE_DIR="$BASE_DIR/overviewer/textures" | |
# custom config dir | |
CONFIG_DIR="$BASE_DIR/overviewer/config" | |
# run the docker image | |
docker run \ | |
--rm \ | |
-v $SERVER_DIR:/tmp/server/:ro \ | |
-v $EXPORT_DIR/:/tmp/export/:rw \ | |
-v $TEXTURE_DIR/:/tmp/textures/:ro \ | |
-v $CONFIG_DIR/:/tmp/config/:ro \ | |
-it marctv/minecraft-overviewer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Runs a docker container (marctv/minecraft-overviewer) passing in custom config and texture pack.