mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-07-29 17:02:50 -04:00
upd. msg format
This commit is contained in:
@@ -110,7 +110,7 @@ class ServerInfoMessage {
|
||||
infoText = [
|
||||
gs.niceName,
|
||||
gs.info.game + ' / ' + gs.info.map,
|
||||
gs.info.connect,
|
||||
'`' + gs.info.connect + '`',
|
||||
'Players ' + gs.info.playersNum + '/' + gs.info.playersMax + statsText
|
||||
].join('\n');
|
||||
if (gs.info.players.length > 0 && gs.info.players[0].name !== undefined) {
|
||||
|
||||
@@ -134,7 +134,7 @@ class ServerInfoMessage {
|
||||
infoText = [
|
||||
gs.niceName,
|
||||
gs.info.game + ' / ' + gs.info.map,
|
||||
gs.info.connect,
|
||||
'`' + gs.info.connect + '`',
|
||||
'Players ' + gs.info.playersNum + '/' + gs.info.playersMax + statsText
|
||||
].join('\n');
|
||||
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
|
||||
Reference in New Issue
Block a user