You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: servermodule.js
+17-12
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ function getServerIcon(){
52
52
varserverIcon=serverInfo['icon']!=undefined ? "<img src='data:image/png;base64,"+serverInfo['icon']+"' id='server-icon'>" : '<span style="color:red">ERROR: Could not get the serverIcon.</span>';
53
53
returnserverIcon
54
54
}
55
+
55
56
functiongetServerHostname(){
56
57
varserverHostname=serverData['Data']['hostname']!=undefined ? serverData['Data']['hostname'] : 'ERROR: Could not get the server hostname.';
57
58
returnserverHostname
@@ -76,8 +77,8 @@ function getPlayers(){
76
77
varplayers=serverData['Data']['players']!=undefined ? serverData['Data']['players'] : 'ERROR: Could not get a list of players.';
0 commit comments