Jump to content
Experiencing kernel error or random crashes on TruckersMP Island? ×

Ratcho

Retired Team Member
 TruckersMP Profile
  • Posts

    127
  • Joined

  • Last visited

Posts posted by Ratcho

  1. v1.1.1 has been released (2020-06-20)

     

    Added

    • Added the ability to get player's Discord Snowflake
    • Added the ability to get the color of player's group

    Changed

    • Updated all dependencies

     

    v1.2.0 has been releasd (2020-07-18)

     

    Added

    • Added if the player is a staff member and/or is part of upper staff
    • Added the ability to get the users Patreon information.

    Changed

    • Updated composer dependencies
    • Changed the test names to include underscores - this makes the names slightly easier to read
    • HaulieLove 3
  2. The TruckersMP PHP library provides a convenient way to access the TruckersMP API from applications written in the PHP language. It includes a pre-defined set of classes for each API endpoint to get the data as a collection or model.

     

    You can find the source code on GitHub and view the package on Packagist.

     

    Installation

    For installation instructions, please refer to the Installation & Usage page of the Wiki.

     

    Documentation

    You can find the documentation by visiting the Wiki on GitHub.

     

    Example

    Below is an example of how you can get the name of a player using the client.

    <?php
    
    require_once('vendor/autoload.php');
    
    $client = new TruckersMP\APIClient\Client();
    $player = $client->player(28159)->get();
    
    echo 'The players name is ' . $player->getName();

     

    For those of you who currenly use the API Client, a new major version was released today (24th December 2019).

    • Like 2
    • Upvote 1
  3. Thank you for the quick notice.

     

    It's good to see that TruckersMP take security seriously and inform there users of issues as soon as they are informed, even if they aren't directly linked with their services but could effect users within the community :) 

    • Upvote 1
  4. If you are talking about advertising your VTC under the companies topic on the forum. Yes, you will need a working website. Steam isn't allowed. You can find out more information and requirements here:

     

  5. 18 minutes ago, Samiz [FIN] said:

    Maybe shirt with MP logo in front and ETS2/ATS logo/s on back or vice versa, or just only TruckersMP logo :) I would buy at least shirt or/and hoodie.

    Although it would be nice, they would have to be careful with the ETS and ATS logo. I have been in contact with the CEO of SCS Software before regarding the logo on merchandise and they didn't allow it. Might be different as it's a bigger but would be worth checking first :)

     

    But overall I think it's a good idea.

×
×
  • 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.