- Markers are now known as "Signs"
- 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)
This commit is contained in:
parent
70cb6a5a7f
commit
7a2b1598eb
10 changed files with 281 additions and 199 deletions
|
|
@ -20,15 +20,23 @@
|
|||
<div id="lst">[Connecting]</div>
|
||||
</div>
|
||||
<div id="controls">
|
||||
<form action="#" method="get">
|
||||
<img src="warp.png" alt="Warps" title="Warps" />
|
||||
<input type="checkbox" checked="checked" id="showWarps" /><br />
|
||||
<img src="marker.png" alt="Markers" title="Markers" />
|
||||
<input type="checkbox" checked="checked" id="showMarkers" /><br />
|
||||
<img src="home.png" alt="Homes" title="Homes" />
|
||||
<input type="checkbox" checked="checked" id="showHomes" /><br />
|
||||
<img src="spawn.png" alt="Spawn" title="Spawn" />
|
||||
<input type="checkbox" checked="checked" id="showSpawn" /><br />
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue