

PlayerEvents.loggedIn(event => {

    event.player.paint({
        name: {
          type: 'text',
          text: `${event.player.name.string}`,
          scale: 1,
          x: -5,
          y: 12,
          alignX: 'right',
          alignY: 'center',
          color: '#03F338',
          draw: 'ingame'//ingame
      },   
        welcome: {
          type: 'text',
          text: 'NwtCraft',
          scale: 1,
          x: -8,
          y: 0,
          alignX: 'right',
          alignY: 'center',
          color: '#F0F014',
          draw: 'ingame'//always
      }
          
        
      })



});

