Jump to content

TruckersMP API Suggestion


Recommended Posts

Hello,

 

I have a suggestion regarding the TruckersMP api.

 

When I checked the api documentation, I couldn't find a command that returns the online status of the users on the server.

 

I apologize if there is such a command.

 

My suggestion is this: If a user has checked the “Display In-Game Status” option (in user settings) on the Truckersmp website, then we can get the online status of that user by running a script that returns their online status. If the user has not checked this option,  this information should not be returned by the api. I think this feature will be very useful especially for VTCs.

 

Best Regards.

  • Upvote 4
Link to comment
Share on other sites

  • 2 weeks later...
5 hours ago, Bеаn said:

This already exists. You can use https://tracker.ets2map.com/v3/playersearch?string={query}. This is the API the map uses, so is accurate. The query must be a name, tmpid or in-game id; as you would search using the map. 

 

Thank you for the information. This is what I was looking for.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.