forked from jordan-bentley97/mc-backup.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver-example.conf
34 lines (29 loc) · 1.13 KB
/
server-example.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
global escape
from html import escape
worlds["Cuervos Survival"] = "/opt/minecraft/survival/world"
outputdir = "/home/ubuntu/projects/cuervos-map"
nether_smooth = [Base(), EdgeLines(), Nether(), SmoothLighting(strength=0.6)]
def signFilter(poi):
if poi['id'] == 'Sign' or poi['id'] == 'minecraft:sign':
sign_text = escape("\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']]))
if sign_text.strip():
return sign_text
else:
return None
def bannerFilter(poi):
if poi['id'] == "Banner" or poi['id'] == 'minecraft:Banner':
return "Banner"
renders["normalrender"] = {
"world": "Cuervos Survival",
"title": "Overworld Render",
'markers': [dict(name="Signs", filterFunction=signFilter),
dict(name="Banners", filterFunction=bannerFilter, icon="Orange_Wall_Banner.webp", createInfoWindow=False)],
"dimension": "overworld",
}
renders["survivalnether"] = {
"world": "Cuervos Survival",
"title": "Survival Nether Render",
"rendermode": nether_smooth,
'markers': [dict(name="Signs", filterFunction=signFilter)],
"dimension": "nether",
}