Skip to content

Instantly share code, notes, and snippets.

@lolmaus
Created October 24, 2011 12:17
Show Gist options
  • Save lolmaus/1308886 to your computer and use it in GitHub Desktop.
Save lolmaus/1308886 to your computer and use it in GitHub Desktop.
procs = 1
rendermode = ["day", "night", "cave", "cave-lighting"]
imgformat = "png"
optimizeimg = 3
north_direction = "upper-left"
rendermode_options = {
'lighting' : {'height_fading' : True},
'cave' : {'depth_tinting': True}
}
custom_rendermodes = {
'day' : {'parent' : 'lighting',
'label' : 'Day',
'description' : 'The same thing as lighting, but renamed to Day.'
},
'cave-lighting': {
'parent': 'cave',
'label': 'Lit Cave',
'description': 'cave mode, with lighting',
'options': {
'depth_tinting': False,
'lighting': True,
},
},
}
#!/bin/sh
OVERVIEWER=/home/lolmaus/overviewer
ORIGINAL_PATH=/home/lolmaus/minecraft/
BACKUP_PATH=$OVERVIEWER/server_backup/
SETTINGS=$OVERVIEWER/config.cfg
WWW=$OVERVIEWER/map
rsync -a $ORIGINAL_PATH $BACKUP_PATH
. $OVERVIEWER/overviewer.py --settings=$SETTINGS $BACKUP_PATH/world $WWW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment