Skip to content

@pironic /settings.py
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Overviewer Settings File.
worlds["cc"] = "E:/cc"
worlds["flatland-projects"] = "E:/flatland"
worlds["exmaple"] = "E:/src/overviewer/Minecraft-Overviewer-Addons/exmaple"
spawn_overlay = [
ClearBase(),
EdgeLines(),
SpawnOverlay()
]
subway_overlay = [
ClearBase(),
EdgeLines(),
MineralOverlay(minerals=[
(66,(230,238,16)),
(27,(255,128,68)),
(28,(184,184,184))
]),
Depth(min=30, max=64)
]
def signFilter(poi):
if poi['id'] == 'Sign':
return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']])
def chestFilter(poi):
if poi['id'] == 'Chest':
return "Chest with %d items" % len(poi['Items'])
def playerIcons(poi):
if poi['id'] == 'Player':
poi['icon'] = "http://overviewer.org/avatar/%s/head" % poi['EntityId']
return "Last known location for %s" % poi['EntityId']
def spawnerFilter(poi):
if poi["id"] == 'MobSpawner':
poi['icon'] = "spawner.png"
#if poi["EntityId"] == "Skeleton":
return "%s MobSpawner found at\n X:%d \n Y:%d\n Z:%d" % (poi['EntityId'], poi['x'], poi['y'], poi['z'])
renders["flatland"] = {
"world": "flatland-projects",
"title": "Daytime",
"rendermode": smooth_lighting,
"imgformat": "jpg",
"northdirection": "upper-left",
#"markers": [dict(name="All", filterFunction=signFilter), dict(name="Chests", filterFunction=chestFilter, icon="chest.png")]
}
renders["cc-day"] = {
"world": "cc",
"title": "Daytime",
"rendermode": smooth_lighting,
"imgformat": "jpg",
"northdirection": "upper-left",
"markers": [dict(name="Signs", filterFunction=signFilter),
dict(name="Chest", filterFunction=chestFilter, icon="chest.png"),
dict(name="Player", filterFunction=playerIcons),
dict(name="MobSpawners", filterFunction=spawnerFilter)]
}
renders["cc-night"] = {
"world": "cc",
"title": "Nighttime",
"rendermode": smooth_night,
"imgformat": "jpg",
"northdirection": "upper-left",
"markers": [dict(name="All", filterFunction=signFilter),
dict(name="Chest", filterFunction=chestFilter, icon="chest.png"),
dict(name="Player", filterFunction=playerIcons),
dict(name="MobSpawners", filterFunction=spawnerFilter)]
}
renders["cc-cave"] = {
"world": "cc",
"title": "Cave",
"rendermode": cave,
"imgformat": "jpg",
"northdirection": "upper-left",
"markers": [dict(name="All", filterFunction=signFilter),
dict(name="Chest", filterFunction=chestFilter, icon="chest.png"),
dict(name="Player", filterFunction=playerIcons),
dict(name="MobSpawners", filterFunction=spawnerFilter)]
}
renders["cc-subway"] = {
"world": "cc",
"title": "Subway",
"rendermode": subway_overlay,
"imgformat": "png",
"northdirection": "upper-left",
}
renders["cc-spawn"] = {
"world": "cc",
"title": "Spawn",
"rendermode": spawn_overlay,
"imgformat": "png",
"northdirection": "upper-left",
}
renders["ex-day"] = {
"world": "exmaple",
"title": "Daytime",
"rendermode": smooth_lighting,
"imgformat": "jpg",
"northdirection": "upper-left",
}
renders["ex-spawn"] = {
"world": "exmaple",
"title": "Spawn",
"rendermode": spawn_overlay,
"imgformat": "jpg",
"northdirection": "upper-left",
}
renders["ex-night"] = {
"world": "exmaple",
"title": "Nighttime",
"rendermode": smooth_night,
"imgformat": "jpg",
"northdirection": "upper-left",
}
outputdir = "E:/Public"
from observer import JSObserver
observer = JSObserver(outputdir, 10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.