Skip to content
ETS2 Job Logger
C++ CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
gui Versioned the API endpoint. May 1, 2019
plugin Added missing "income" from JSON Apr 29, 2019
scs-sdk @ 1ef2171 Added scs-sdk as submodule Apr 22, 2019
.gitignore Initial commit Apr 22, 2019
.gitmodules Added scs-sdk as submodule Apr 22, 2019
CMakeLists.txt Lower required CMake version Apr 28, 2019 Initial commit Apr 22, 2019 Added missing "income" from JSON Apr 29, 2019

ETS2 Job Logger

Cross-platform Euro Truck Simulator 2 and American Truck Simulator job logger written in C++.


ETS2 Job Logger consists of wxWidgets based application and ETS2 plugin.

Plugin sends job related data to the application via websocket. Application then sends a POST request to the specified API URL when a new job is taken or a current job is delivered. See JSON Format paragraph for details of the format sent to your API endpoint.

Applications stores job information in memory until it's sent to your API. If sending failed, eg. your API did not return expected HTTP code, applications tries to send it again later until it's sent successfully.

JSON Format

Below is an example of JSON format sent to API when user takes a job or when user finishes the job.

    "game": "ets2",               // Game type (ets2, ats)
    "onJob": true,
    "delivered": false,
    "distanceDriven": 10.0,       // Kilometers
    "fuelConsumed": 8.2,          // Liters
    "income": 6878                // In game specific units (€, $)
    "trailerDamage": 0.0,         // Percentage (eg. 10.0 = 10%)
    "cargoName": "Office Paper",
    "cargoId": "paper",
    "cargoMass": 18000.0,         // Kilograms
    "sourceCity": "Tampere",
    "sourceCityId": "tampere",
    "sourceCompany": "Viljo Paperitehdas Oy",
    "sourceCompanyId": "viljo_paper",
    "destinationCity": "Helsinki",
    "destinationCityId": "helsinki",
    "destinationCompany": "Container Port",
    "destinationCompanyId": "cont_port"


Payload will be sent with POST request to <API_URL>/job. Expected response code is 200.

User takes a job:

onJob will be true and delivered will be false.

User finished the job:

onJob will be false and delivered will be true.



  • cmake
  • msgpack
  • websocketpp
  • curl
  • openssl
  • jsoncpp
  • wxWidgets
You can’t perform that action at this time.