Skip to content

Instantly share code, notes, and snippets.

@amekusa
Last active July 31, 2017 05:49
Show Gist options
  • Select an option

  • Save amekusa/c821bfb9fccf04698c268ba763e12564 to your computer and use it in GitHub Desktop.

Select an option

Save amekusa/c821bfb9fccf04698c268ba763e12564 to your computer and use it in GitHub Desktop.
Minecraft Server Settings
[Unit]
Description=Minecraft World Map Renderer
[Service]
Type=oneshot
ExecStart=/usr/bin/nice -n 10 /usr/bin/mapcrafter -c /etc/mapcrafter/render.conf
[Unit]
Description=Mapcrafter Auto Update
[Timer]
OnCalendar=05:05:00
Persistent=true
[Install]
WantedBy=timers.target
[Unit]
Description=Minecraft server stopper
[Service]
Type=oneshot
ExecStart=/usr/bin/minecraftd stop
[Unit]
Description=Daily Minecraft server stopper
[Timer]
OnCalendar=05:00:00
Persistent=false
[Install]
WantedBy=timers.target
[Unit]
Description=Minecraft server starter
[Timer]
OnCalendar=06:00:00
Persistent=true
[Install]
WantedBy=timers.target
output_dir = /srv/http/example.com/www/static/minecraft/maps
[global:world]
input_dir = /srv/minecraft/world
[global:map]
world = overworld
render_view = isometric
render_mode = daylight
rotations = top-left bottom-right
texture_size = 12
water_opacity = 0.5
lighting_water_intensity = 0.5
[world:overworld]
world_name = Overworld
default_zoom = 10
[map:overworld]
name = My World
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment