<%- include("head.html") %> <%- include("nav.html") %>
<% let html = "" for(let [id, slave] of locals.slaves){ html += `
  • ID: ${id}
  • Last seen: ${moment(Number(slave.time)).format("DD.MM.YY, hh:mm")}
  • Online players: ${slave.playerCount}
  • IP: ${slave.publicIP}:${slave.serverPort}
  • Host: ${slave.mac}
` for(let o in locals.masterPlugins){ let plug = locals.masterPlugins[o]; if(plug.main && plug.main.ui && typeof plug.main.ui.slaveListing == "object" && Array.isArray(plug.main.ui.slaveListing)){ let slaveListingEntries = plug.main.ui.slaveListing; for(let i in slaveListingEntries){ let button = slaveListingEntries[i]; if(button.getHtml && typeof button.getHtml == "function"){ html += "
" html += button.getHtml({slave}); html += "
" } } } } html += `
` } %> <%- html %>