mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
7a2b1598eb
- map-markerpath is now map-signspath (YOU MUST SET THIS TO YOUR CURRENT FILE IF YOU HAVE ONE) - Commands have been renamed to: /addsign, /removesign, /listsigns, /tpsign (Update groups.txt if required) - New map-showmarkers server.property (comma separated list of options spawn,homes,warps,signs,players or you can set it to all or none; yes, can even hide players but still show warps, spawns, etc...) - map-showmarkers directly affects what output via the "up" directory so what you include in your options is included in the data, and ultimately the map - Internally, signs are now Warp based so no longer owner based - index.html updated to add divs around checkboxes - map.js updated to consolidate both players and markers into a single if statement - checkboxes dynamically show/hide from the map based on the number of items on the map (will hide if there are none, especially based on map-showmarkers) - Player list shows/hides based on number of players (or map-showmarkers setting)
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="description" content="Minecraft Dynamic Map" />
|
|
<meta name="keywords" content="minecraft, map, dynamic" />
|
|
<meta name="language" content="en"/>
|
|
<title>
|
|
Minecraft Dynamic Map
|
|
</title>
|
|
<link rel="shortcut icon" href="follow_off.png" type="image/png" />
|
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
|
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
|
|
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
|
|
<script type="text/javascript" src="map.js" ></script>
|
|
</head>
|
|
<body>
|
|
<div id="mcmap"></div>
|
|
<div id="plist"><img id="plistbtn" alt="on" src="list_on.png" onclick="plistopen()" title="Player list" />
|
|
<div id="lst">[Connecting]</div>
|
|
</div>
|
|
<div id="controls">
|
|
<form action="#" method="get">
|
|
<div id="warpsDiv">
|
|
<img src="warp.png" alt="Warps" title="Warps" />
|
|
<input type="checkbox" checked="checked" id="showWarps" />
|
|
</div>
|
|
<div id="signsDiv">
|
|
<img src="sign.png" alt="Signs" title="Signs" />
|
|
<input type="checkbox" checked="checked" id="showSigns" /><br />
|
|
</div>
|
|
<div id="homesDiv">
|
|
<img src="home.png" alt="Homes" title="Homes" />
|
|
<input type="checkbox" checked="checked" id="showHomes" /><br />
|
|
</div>
|
|
<div id="spawnsDiv">
|
|
<img src="spawn.png" alt="Spawn" title="Spawn" />
|
|
<input type="checkbox" checked="checked" id="showSpawn" /><br />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div id="link"></div>
|
|
</body>
|
|
</html> |