Update index.html comments/examples

This commit is contained in:
James Lyne 2021-09-07 18:41:07 +01:00
parent 7baa2cbc25
commit 76f17eb889

View File

@ -21,64 +21,59 @@
<title>Minecraft Dynamic Map - LiveAtlas</title> <title>Minecraft Dynamic Map - LiveAtlas</title>
<!-- Remove this if you are using multiple servers in the config below --> <!-- Remove this if you are using the servers config below -->
<script src="./standalone/config.js"></script> <script src="./standalone/config.js"></script>
<script> <script>
window.liveAtlasConfig = { window.liveAtlasConfig = {
// Server URLS can be defined here instead of using the standalone/config.js file. // By default LiveAtlas looks for a dynmap standalone/config.js file
// Multiple servers are supported, see https://github.com/JLyne/LiveAtlas/wiki/Configuring-Multiple-Servers. // This configuration can be used instead to support Pl3xmap installations multiple servers
// servers: { // To configure multiple servers, see https://github.com/JLyne/LiveAtlas/wiki/Configuring-Multiple-Servers.
// creative: { servers: {
// label: 'Creative', // Pl3xmap internal webserver configuration
// dynmap: { // pl3xmap: {
// configuration: 'http://dynmap.local/creative/MySQL_configuration.php', // pl3xmap: window.location.pathname
// update: 'http://dynmap.local/creative/MySQL_update.php?world={world}&ts={timestamp}', // },
// sendmessage: 'http://dynmap.local/creative/MySQL_sendmessage.php',
// login: 'http://dynmap.local/creative/MySQL_login.php', // Dynmap internal webserver configuration without using standalone/config.js
// register: 'http://dynmap.local/creative/MySQL_register.php', // dynmap: {
// tiles: 'http://dynmap.local/creative/MySQL_tiles.php?tile=', // dynmap: {
// markers: 'http://dynmap.local/creative/MySQL_markers.php?marker=' // configuration: 'standalone/dynmap_config.json?_={timestamp}',
// } // update: 'standalone/dynmap_{world}.json?_={timestamp}',
// }, // sendmessage: 'standalone/sendmessage.php',
// survival: { // login: 'standalone/login.php',
// label: 'Survival', // register: 'standalone/register.php',
// dynmap: { // tiles: 'tiles/',
// configuration: 'http://dynmap.local/survival/MySQL_configuration.php', // markers: 'tiles/'
// update: 'http://dynmap.local/survival/MySQL_update.php?world={world}&ts={timestamp}', // }
// sendmessage: 'http://dynmap.local/survival/MySQL_sendmessage.php', // },
// login: 'http://dynmap.local/survival/MySQL_login.php',
// register: 'http://dynmap.local/survival/MySQL_register.php', // Multiple Dynmap servers on external webserver configuration
// tiles: 'http://dynmap.local/survival/MySQL_tiles.php?tile=', // creative: {
// markers: 'http://dynmap.local/survival/MySQL_markers.php?marker=' // label: 'Creative',
// } // dynmap: {
// }, // configuration: 'http://dynmap.local/standalone/creative/MySQL_configuration.php',
// build: { // update: 'http://dynmap.local/standalone/creative/MySQL_update.php?world={world}&ts={timestamp}',
// label: 'Build', // sendmessage: 'http://dynmap.local/standalone/creative/MySQL_sendmessage.php',
// dynmap: { // login: 'http://dynmap.local/standalone/creative/MySQL_login.php',
// configuration: 'http://dynmap.local/build/MySQL_configuration.php', // register: 'http://dynmap.local/standalone/creative/MySQL_register.php',
// update: 'http://dynmap.local/build/MySQL_update.php?world={world}&ts={timestamp}', // tiles: 'http://dynmap.local/standalone/creative/MySQL_tiles.php?tile=',
// sendmessage: 'http://dynmap.local/build/MySQL_sendmessage.php', // markers: 'http://dynmap.local/standalone/creative/MySQL_markers.php?marker='
// login: 'http://dynmap.local/build/MySQL_login.php', // }
// register: 'http://dynmap.local/build/MySQL_register.php', // },
// tiles: 'http://dynmap.local/build/MySQL_tiles.php?tile=', // survival: {
// markers: 'http://dynmap.local/build/MySQL_markers.php?marker=' // label: 'Survival',
// } // dynmap: {
// }, // configuration: 'http://dynmap.local/standalone/survival/MySQL_configuration.php',
// test: { // update: 'http://dynmap.local/standalone/survival/MySQL_update.php?world={world}&ts={timestamp}',
// label: 'Local Test', // sendmessage: 'http://dynmap.local/standalone/survival/MySQL_sendmessage.php',
// url: '/map/test', // login: 'http://dynmap.local/standalone/survival/MySQL_login.php',
// dynmap: { // register: 'http://dynmap.local/standalone/survival/MySQL_register.php',
// configuration: 'http://dynmap.local:8123/up/configuration', // tiles: 'http://dynmap.local/standalone/survival/MySQL_tiles.php?tile=',
// update: 'http://dynmap.local:8123/up/world/{world}/{timestamp}', // markers: 'http://dynmap.local/standalone/survival/MySQL_markers.php?marker='
// sendmessage: 'http://dynmap.local:8123/up/sendmessage', // }
// login: 'http://dynmap.local:8123/up/login', // },
// register: 'http://dynmap.local:8123/up/register', },
// tiles: 'http://dynmap.local:8123/tiles/',
// markers: 'http://dynmap.local:8123/tiles/'
// }
// },
// },
// These messages are used throughout LiveAtlas and can be translated here // These messages are used throughout LiveAtlas and can be translated here
// If a message you want to translate isn't here, it is likely controlled by dynmap itself // If a message you want to translate isn't here, it is likely controlled by dynmap itself