Maupassant Posted June 2, 2024 Report Posted June 2, 2024 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. 6
whitE.png Posted June 2, 2024 Report Posted June 2, 2024 Actually, I didn't see this command, it's a good suggestion, I hope the TruckersMP Add-On Team will like it. Congratulations for your suggestion. TruckersMP Profile
Bеаn Posted June 18, 2024 Report Posted June 18, 2024 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. 1 1 3
Maupassant Posted June 18, 2024 Author Report Posted June 18, 2024 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.
Recommended Posts