question: static void welcome ( final Player player ) { String msg = welcomeMessage ; try { final Configuration config = Configuration . getConfiguration ( ) ; if ( config . has ( "server_welcome" ) ) { msg = config . get ( "server_welcome" ) ; if ( msg . startsWith ( "http://" ) ) { final URL url = new URL ( msg ) ; HttpURLConnection . setFollowRedirects ( false ) ; final HttpURLConnection connection = ( HttpURLConnection ) url . openConnection ( ) ; try { final BufferedReader br = new BufferedReader ( new InputStreamReader ( connection . getInputStream ( ) , "UTF-8" ) ) ; try { msg = br . readLine ( ) ; } finally { br . close ( ) ; } } finally { connection . disconnect ( ) ; } } } } catch ( final IOException e ) { if ( firstWelcomeException ) { logger . warn ( "Can't read server_welcome from marauroa.ini" , e ) ; firstWelcomeException = false ; } } if ( msg != null ) { player . sendPrivateText ( NotificationType . SERVER , msg ) ; } }
target:  send a welcome message to the player which can be configured in marauroa.ini file as "server_welcome". If the value is an http:// address, the first line of that address is read and used as the message