Remove remanent remoteMap code

Remove remoteMap specific code left behind after the removal of the
remoteMap plugin in 6415784.  The plugin interface should be versatile
enough to allow all of this code to reside inside the plugin itself.
This commit is contained in:
Hornwitser committed 2019-08-29 11:38:57 +02:00
1 parent 5d28718175
commit b73b202513
10 files changed
+4 -850

No files matched your search

-8
View File
@@ -14,13 +14,6 @@
</div>
<div id="display">
<%
function findInArray(key, value, array){
let indexes = [];
for(let i in array){
if(array[i][key] && array[i][key].includes(value)) indexes.push(i);
}
return indexes;
}
let html = ""
for(let id in slaves){
let slave = slaves[id];
@@ -38,7 +31,6 @@
<li class="list-group-item">IP: ${slave.publicIP}:${slave.serverPort}</li>
<li class="list-group-item">Host: ${slave.mac}</li>
</ul>
${findInArray("modName", "remoteMap", slave.mods).length ? "<a href='/remoteMap?instanceID="+id+"'>Remote map</a>" : ""}
`
for(let o in locals.masterPlugins){
let plug = locals.masterPlugins[o];