Auto-uploading badges and Pokemon through the use of RMXP and Essentials would be immeasurably difficult, if not impossible to begin with. If you'd like the badges to show up on your Trainer Card, you could do a little work in MS Paint or an online image editor (or Photoshop, if you've got it) to screencap and paste the badges from in-game onto a Trainer Card.