0 Dynmap On Xenon Hosting Service, courtesy of mavbear
FedUpWith-Tech edited this page 2020-07-28 18:48:34 -04:00

So as many people have noticed by now, running DynMap as-is on Xenon or several other full-time hosting services does not work, and attempting to access the page brings you to a black screen. This tutorial will hopefully help you get around that in just a few simple steps. It requires that you have your own webhosting service (in my case, 1and1.com)

First of all, download the latest version of DynMap here: https://www.spigotmc.org/resources/dynmap.274/ - and upload the contents to your MC server like you would any other Bukkit plugin.

Unzip the file above to somewhere in your hard drive, open your FTP application (FileZilla is very good) and log into your webhosting service. You'll have to put the JS files that Xenon won't allow, into a folder somewhere on your webhost. Don't forget to copy "config.js" which is not in the /js/ folder. Remember the URL to this folder.

Open whatever text editor you prefer and open up the "web/index.html" file on your hard drive. You will see several lines like this:

<script type="text/javascript" src="js/jquery.json.js"></script>

The part to focus on is "js/jquery.json.js" - you will have to rename it to your exact folder address.

Do this for every one of those lines whose source tag starts with just "js", also do the same for the "config.js" line at the bottom of the list.

Save the index.html file and upload it over-top of the existing one in your MC server.

Next, open up map.js, go to line 403 (in v0.70.1 - may change with newer versions):

loadjs('js/' + type + '.js', function() {

Replace it with:

loadjs('(YOUR URL HERE)/js/' + type + '.js', function() {

Reupload the 'map.js' file to your webhosting service (not the MC server).

This part is necessary to see players on the map, and to use the chat function, otherwise you will just see the map.

This concludes my totally halfassed tutorial on making DynMap work. I'll probably do a video tutorial later on. Hope this helps!