Skip to content

MinecraftOverviewer

Björn Teichmann edited this page Dec 19, 2013 · 2 revisions

Minecraft-Overviewer is software for mapping your Minecraft worlds using the Google Maps API. The Transporter plugin integrates by periodically exporting gate information to a gates.json file and providing JavaScript and CSS files that can be added to the index.html page that Minecraft-Overviewer generates.

Transporter plugin integration requires the overviewer-menus addon for Minecraft-Overviewer. Follow the instructions in that project's wiki before following the installation steps below.

Installation

Locate the web_assets directory for Minecraft-Overviewer, edit the index.html file and add the following line somewhere in the <head> section after the line for menus.css:

<link rel="stylesheet" href="transporter/transporter.css" type="text/css" />

Also in the index.html file in the <head> section, add the following two lines after the line for menus.js:

<script type="text/javascript" src="transporter/transporterConfig.js"></script>
<script type="text/javascript" src="transporter/transporter.js"></script>

Now, the Transporter plugin's overviewer directory has to be accessible as the transporter directory in Minecraft-Overviewer's output directory.

Linux/etc.

Create a symlink to the overviewer directory and name it transporter. Create the symlink in either the web_assets directory or the Minecraft-Overviewer output directory.

Windows

Under Windows, you're only choice is to copy the entire overviewer directory to the web_assets directory and rename it to transporter.

Whether you're using Linux or Windows, edit the Transporter plugin's config.yml file and make sure the setting for exportedGatesFile is such that the gates.json file is written to the transporter directory under Minecraft-Overviewer's output directory (not the web_assets directory).

You may also want to take a look at the transporterConfig.js file and make any necessary changes. The most likely change is the world name. Since the exported gates.json file will contain gates for all worlds on your server and the Minecraft-Overviewer output directory only contains a map for a single world, you need to configure the addon to show only gates for the appropriate world. If not set, it defaults to "world".

Clone this wiki locally