Skip to content

Instantly share code, notes, and snippets.

@ifvictr
Last active June 15, 2020 10:38
Show Gist options
  • Save ifvictr/8064c8a5d1e376e6205d7b3d5a809972 to your computer and use it in GitHub Desktop.
Save ifvictr/8064c8a5d1e376e6205d7b3d5a809972 to your computer and use it in GitHub Desktop.

Revisions

  1. ifvictr revised this gist Jun 15, 2020. No changes.
  2. ifvictr created this gist Mar 26, 2020.
    27 changes: 27 additions & 0 deletions config.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    server_dir = '~/server'

    worlds['world'] = f'{server_dir}/world'
    worlds['world_nether'] = f'{server_dir}/world_nether'
    worlds['world_the_end'] = f'{server_dir}/world_the_end'

    renders['world_normal'] = {
    'world': 'world',
    'title': 'Normal',
    'rendermode': 'smooth_lighting'
    }
    renders['world_nether_normal'] = {
    'world': 'world_nether',
    'title': 'Normal',
    'rendermode': 'nether_smooth_lighting'
    }
    # Taken from http://docs.overviewer.org/en/latest/config/#id1
    end_smooth_lighting = [Base(), EdgeLines(), SmoothLighting(strength=0.5)]
    renders['world_the_end_normal'] = {
    'world': 'world_the_end',
    'title': 'Normal',
    'rendermode': end_smooth_lighting,
    # Only show the Main Island and its surroundings
    'crop': (-500, -500, 500, 500)
    }

    outputdir = '~/map'