LoutreOS: minecraft overviewer ajout position joueurs
This commit is contained in:
parent
2bce0bc5ac
commit
b6c1b4cbf4
@ -14,6 +14,11 @@ def petFilter(poi):
|
||||
if "text" in custom_name:
|
||||
return custom_name["text"]
|
||||
|
||||
def playerIcons(poi):
|
||||
if poi['id'] == 'Player':
|
||||
poi['icon'] = "https://overviewer.org/avatar/%s" % poi['EntityId']
|
||||
return "Last known location for %s" % poi['EntityId']
|
||||
|
||||
processes = 2
|
||||
|
||||
worlds["My world"] = "/var/lib/minecraft/world"
|
||||
@ -24,7 +29,8 @@ renders["Vue normale"] = {
|
||||
"texturepath": "@CLIENT_JAR@",
|
||||
"rendermode": smooth_lighting,
|
||||
'markers': [dict(name="All signs", filterFunction=signFilter),
|
||||
dict(name="Pets", filterFunction=petFilter, icon="icons/marker_cat.png", createInfoWindow=False, checked=True)],
|
||||
dict(name="Pets", filterFunction=petFilter, icon="icons/marker_cat.png", createInfoWindow=False, checked=True),
|
||||
dict(name="Position joueurs", filterFunction=playerIcons),],
|
||||
}
|
||||
|
||||
cave_rendermode = [Base(), EdgeLines(), Cave(only_lit=True), DepthTinting()]
|
||||
|
Loading…
Reference in New Issue
Block a user