Jump to content

Search the Community

Showing results for tags 'api'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • News
    • Development Announcements
    • Official TruckersMP Events
  • Information & Support
    • TruckersMP Rules
    • Guides
    • Help
    • Confirmed Bugs
    • Suggestions
    • Recruitment
  • Community
    • Discussion
    • Hot Topic
    • VTC System
    • Event System
    • Discord
    • Developer Portal
    • Unofficial tools
    • Media
  • International Community
    • Other Languages
  • Archive
    • Archive
    • Trash

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Forum Title (obsolete)



Known languages

VTC Name

TruckersMP ID




VTC Logo

VTC Role




World Of Trucks


Found 9 results

  1. TruckersMP Traffic https://traffic.krashnz.com TruckersMP Traffic is a simple tool that tells you how busy a location is in TruckersMP. Note: If you want access to the traffic API just send me a PM. I've added a game status image that you can use in your signatures or wherever you want. Just replace <id> with your TruckersMP ID in the following link: https://traffic.krashnz.com/api/v2/user/<id>/status.png For example, my TruckersMP ID is 6818 so my link would be https://traffic.krashnz.com/api/v2/user/6818/status.png Note: Data is collected from ETS2Map so if the map is down it will say you are offline.
  2. Hello! `/player` endpoint of TruckersMP API turns out to be disabled/filtered with Cloudflare. Other endpoints are working fine. Is it intentional? I can give a Ray ID via DM if needed.
  3. Thank you very much for Krashnz's API technical support,I had a problem getting public API data。 As shown in the figure, this is the correct data to get it. But I had problems printing JSON data on the local server. The data I get on the local server is the same as the data I get on the public API, but the Steam ID is not the same. The problem stumped me. Can you give me a suggestion?
  4. Hello, is there any way to get the attending events from an specific VTC by API? I've already searched in the official API docs, but there is nothing... Thank in advanced Yours sincerely SuperDog
  5. Suggestion Name: Creating other methods to donate. Suggestion Description: I tried to donate but my payment gets rejected for some issues. But honestly, I use to shop online and pay other online merchants easily with my Bank A/c & Card. Here I saw only two PayPal option, even tho I tried to pay directly by Card it still gets interfered by PayPal. I suggest other options, like domestic wallets, direct pay by card, CCAvenue. Just like Steam has. We can pay directly by our card without any problems. This will help both the sides, the developers of this masterpiece ETS2 Multiplayer and the players who really love it. As we all know actions speak louder than words, donating excels shouting that "I love this, I love that". I also believe such a problem faced by other people around the globe will be solved by this. Any example images: I believe the description is clear enough. Why should it be added?: Those who want to donate can donate! Donation funds keep flowing, ETS2 MP LIVES LONGER! Thanks for sparing your time in reading my suggestion. I wish this suggestion gets implemented. I myself willing to donate in the first place as soon as it gets implemented.
  6. Hi, not sure if I am calling the api correctly and displaying the results right for the bans. Everything else works but not the bans for some reason. <?php $sqlget = 'SELECT * FROM players WHERE rank = "Veteran" ORDER BY joindate ASC'; $sqldataV = mysqli_query($dbcon, $sqlget); while($row = mysqli_fetch_array($sqldataV, MYSQLI_ASSOC)){ $json = file_get_contents('http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=9B7EFDB256E798658715CE71D574D751&steamids='.$row['playerid'].''); $parsedV = json_decode($json); foreach($parsedV->response->players as $playerV){ } $online = $playerV->personastate; if ($online == '1'){ $bcolor = '4px solid #6eea15'; } else{ $bcolor = ''; } $json = file_get_contents('https://api.truckersmp.com/v2/player/'.$row['playerid'].''); $data = json_decode($json); $mpname = $data->response->name; $mpid = $data->response->id; $json2 = file_get_contents('https://api.truckersmp.com/v2/bans/'.$mpid.''); $data2 = json_decode($json2); $expiredate = $data2->response->expiration; $admin = $data2->response->adminName; echo'<li id="fleet" >'; echo "<center><img style='height:auto; width:auto; border:$bcolor;' class='img-circle' src='" . $playerV->avatarfull . "'></center>"; echo '<center><p style="margin-top: 65%;">'. $mpname . '<p></center>'; echo '<center><p style="margin-top: 65%;">'. $expiredate . '<p></center>'; echo'</li>'; } ?> Any help I will be greatful for.
  7. I'm creating a hub for my upcoming VTC Management System (shh) and I'm trying to figure out how to get per-city congestion information, similar to https://traffic.krashnz.com/ets2/eu2 I've looked through the API and I can only find server traffic. Is per-city traffic only available to krashnz or am I just missing something?
  8. alanj1987

    api docs

    hello is there any api docs or help with the api system? is there anyone from staff that i can discuss things with ?
  9. Suggestion Name: REST API documentation Why should it be added?: We don't have an all methods in manual (for ex. /version) Suggestion Description: Nope.
  • 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.