-
-
Save agrif/fbf0abe68cf6580196279d4e36e2514a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
outputdir= "/var/www/webmaps" | |
def playerIcons(poi): | |
if poi['id'] == 'Player': | |
poi['icon'] = "https://overviewer.org/avatar/%s" % poi['EntityId'] | |
return "Last known location for %s" % poi['EntityId'] | |
def HomesFilter(poi): | |
if poi['id'] == 'Homes': | |
try: | |
return (poi['name'], poi['description']) | |
except KeyError: | |
return poi['name'] + '\n' | |
magicmarkers= [{'id':'Homes', | |
'x':-2768, | |
'y':66, | |
'z':-4756, | |
'name':'Lachie1770'}, | |
{'id':'Homes', | |
'x':-6200, | |
'y':65, | |
'z':3721, | |
'name':'Andrboot'}, | |
{'id':'Homes', | |
'x':-11464, | |
'y':65, | |
'z':877, | |
'name':'MrHalfCast'}, | |
{'id':'Homes', | |
'x':-259, | |
'y':65, | |
'z':5833, | |
'name':'PyroskE'}, | |
{'id':'Homes', | |
'x':-6037, | |
'y':65, | |
'z':-102, | |
'name':'Colt_44_Magnum'}, | |
{'id':'Homes', | |
'x':5828, | |
'y':65, | |
'z':-5846, | |
'name':'Destr0der'}, | |
{'id':'Homes', | |
'x':-6110, | |
'y':74, | |
'z':-6330, | |
'name':'LtBrandon'}] | |
magicicons = [dict(name="Players", filterFunction=playerIcons,checked=True), | |
dict(name="Homes", filterFunction=HomesFilter,icon="icons/marker_home.png",checked=True),] | |
worlds["World"]="/var/www/mcserver/server/world" | |
renders["World"] = { | |
'world':'World', | |
'title':'Crafting.Builders', | |
"dimension": "overworld", | |
} | |
renders["World-Topo"] = { | |
'world':'World', | |
'title':'Crafting.Builders Topo', | |
"dimension": "overworld", | |
"rendermode": [Base(), EdgeLines(), Lighting(), HeightFading(sealevel=63),], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment