[How-to] Create commands like /showid and how to make login bar when get in game

You do that the same way as streaming vehicles. See [How-to] Stream vehicles/models from server to client for how to do that.