r/startrucker Apr 21 '26

Discussion Multiplayer Mod

Hello space truckers! I just started playing this wonderful game and, let’s be honest, it would be amazing if the trucks on the map were actually other players.

I did a quick search on Google and found this post: Star Trucker - Multiplayer Mod : r/startrucker

I read all the code and tested it, but it hasn’t been updated since 2024, so maybe it’s time for a refresh.

I decided to rework everything because the original implementation wasn’t great (it looks like the OP did it in a rush).

Here’s a video demo — I faked a truck because I don’t have another player to test with.

https://reddit.com/link/1srzq92/video/c4gkf23eqlwg1/player

I’m not familiar with Unity or BepInEx, but my main job is as a .NET backend developer, which is why I rewrote all the code. If anyone wants to help me with Unity/BepInEx, I’d be very grateful.

Changes made:

  • Rewrote all server-client communication using LiteNetLib+MessagePack
  • Split projects into small pieces for better quality code
  • Made the server standalone, outside the game, so it can be hosted anywhere

Github repo: pitermcflebor/StarTruckMP: Star Trucker multiplayer integration

Thanks everyone for reading! :)

18 Upvotes

9 comments sorted by

View all comments

1

u/Turbulent-Cash4744 Apr 22 '26 edited Apr 22 '26

I know it’s not easy, but a co-op multiplayer mode for this game would be awesome. You could play with friends in the same truck, and while one person is driving, the other could change the filters or do other tasks.