File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -110,8 +110,23 @@ info\t- wypisuje informacje o serwerze
110110 ` )
111111 }
112112 function info ( ) {
113- term . gray ( `\nSerwer websocket działa pod adresem: http://${ config [ "host" ] } :${ config [ "websocket-port" ] } \n` )
114- term . bold . magenta ( `Serwer WWW działa pod adresem: http://${ config [ "host" ] } :${ config [ "express-port" ] } \n` )
113+ term ( "\n" )
114+ term . table ( [
115+ [ 'Typ serwera' , `Adres serwera` ] ,
116+ [ 'Serwer websocket' , `${ config . host } :${ config [ "websocket-port" ] } ` ] ,
117+ [ 'Serwer express' , `${ config . host } :${ config [ "express-port" ] } ` ] ,
118+ [ 'Serwer minecraftowy' , `${ config . realServer . ip } :${ config . realServer . port } ` ] ,
119+ ] , {
120+ hasBorder : true ,
121+ contentHasMarkup : true ,
122+ borderChars : 'lightRounded' ,
123+ borderAttr : { color : 'blue' } ,
124+ textAttr : { bgColor : 'default' } ,
125+ firstRowTextAttr : { bgColor : 'blue' } ,
126+ width : 60 ,
127+ fit : true // Activate all expand/shrink + wordWrap
128+ }
129+ ) ;
115130 }
116131
117132 function com ( command ) {
You can’t perform that action at this time.
0 commit comments