Skip to content

Instantly share code, notes, and snippets.

@DanielHeath
Created November 6, 2014 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielHeath/3b7efd305068f0a5e781 to your computer and use it in GitHub Desktop.
Save DanielHeath/3b7efd305068f0a5e781 to your computer and use it in GitHub Desktop.
mc-overviewer config file
worlds["rea"] = "/home/ubuntu/minecraft/rea"
purebdcraft = "/home/ubuntu/minecraft/resourcepack_pureBDcraft.zip"
outputdir = "/home/ubuntu/minecraft/rea-render"
def playerSpawnIcons(poi):
if poi['id'] == 'PlayerSpawn':
poi['icon'] = "bed.png"
return "Spawn for %s" % poi['EntityId']
def playerIcons(poi):
if poi['id'] == 'Player':
poi['icon'] = "icons/marker_base_plain.svg"
return "Last known location for %s" % poi['EntityId']
def signFilter(poi):
if poi['id'] == 'Sign':
return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']])
defaultOpts = {
"world": "rea",
"title": "Overworld",
'markers': [
dict(name="Spawns", filterFunction=playerSpawnIcons),
dict(name="Players", filterFunction=playerIcons),
dict(name="Signs", filterFunction=signFilter)
],
}
renders["normalrender"] = dict(defaultOpts.items() + {
"title": "Overworld",
}.items())
renders["upsidedown"] = dict(defaultOpts.items() + {
"title": "Upside down",
"northdirection" : "lower-right",
"texturepath" : purebdcraft,
}.items())
renders["nether"] = dict(defaultOpts.items() + {
"title": "Nether",
"rendermode": nether_smooth_lighting,
"dimension": "nether",
}.items())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment