diff --git a/client.js b/client.js index 7e4c8dd3..95e1f11e 100644 --- a/client.js +++ b/client.js @@ -378,6 +378,7 @@ function instanceManagement() { publicIP: config.publicIP, // IP of the server should be global for all instances, so we pull that straight from the config mods:modHashes, playerCount: instanceInfo.playerCount || 0, + instanceName: instance, } require('getmac').getMac(function (err, mac) { if (err) throw err diff --git a/static/slaveDisplay.js b/static/slaveDisplay.js index 6a59b6e2..b473c8e9 100644 --- a/static/slaveDisplay.js +++ b/static/slaveDisplay.js @@ -19,7 +19,7 @@ setTimeout(function() { } HTML += "
"; HTML += '
'; - HTML += "

ID: " + slaveData[key].unique + "

Last seen: "+seenDate+"

IP: "+slaveData[key].publicIP +":"+ slaveData[key].serverPort+"

" + HTML += "

" + slaveData[key].instanceName + "

ID: " + slaveData[key].unique + "

Last seen: "+seenDate+"

IP: "+slaveData[key].publicIP +":"+ slaveData[key].serverPort+"

" HTML += "

Host: "+slaveData[key].mac+"

"; HTML += ""; HTML += "";