[ BIG problem ] I can't seem to figure this out


#1

Im making a bot for a our server, That almost 100 play. And i need to get the time of a server and such…

The game is TruckersMP, and im using this API : https://www.npmjs.com/package/trucky-services-client

But, i don’t have a clue on how to use these.

{
“response”: {
“game_time”: 8673767,
“calculated_game_time”: “2032-04-21T10:44:00.000Z”
}
}

I don’t know how im supose to use this, Any help would be apriciated. I use java to script my bot. With a command handler. Thanks for any help i get.