Skip navigation

so, december last year i posted a script to render minecraft maps but it was way to big for what it did, too many variables, static as fuck etc. so i rewrote it.

all this needs is a way to detect what kind of world it’s rendering because nether and the_end need other settings, but for now this works fine


# the minecraft folder
# the folder for the resulting images
# the path to the mcmap executable (not the folder!)

# -------

# the actual script

if [ ! -d ${output}tmb ] ; then
	mkdir ${output}tmb
	echo created thumbnail folder ${output}tmb
for F in `find $input -mindepth 1 -maxdepth 1 -type d`
	if [ -f $F/level.dat ] ; then
		echo rendering $mapname
		$mcmap -skylight -file ${output}$mapname.png $F > /dev/null
		echo creating thumbnail for $mapname
		convert -scale 150 -depth 5 ${output}$mapname.png ${output}tmb/$mapname.png 2> /dev/null
		echo rendering $mapname in night mode
		$mcmap -skylight -night -file ${output}${mapname}-night.png $F > /dev/null
		echo creating thumnail for $mapname in nightmode
		convert -scale 150 -depth 5 ${output}${mapname}-night.png ${output}tmb/${mapname}-night.png 2> /dev/null
		worldlist=$worldlist", "$mapname
echo "say rendered the following worlds: $worldlist"
echo say
echo say go to to view the images
# -------

all the echos are for McMyAdmin, the ones that start with “say” will echo to the minecraft server itself, the others just go to the logs/console so i can check progress, you can remove those lines if you dont use MCMA :)


  1. Munsie! how has your week been? tty friday night , I hope! see ya round like a doughnut!

    • we’re on right now :D just talk over facebook, we’re playing games so im not in the chat :)