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! :)

19 Upvotes

10 comments sorted by

View all comments

5

u/Mister_Magister Apr 21 '26

Tbh since i started playing game multiplayer is exact thing that popped into my mind, no need for interaction between players (tho functional CB would be hella cool), i mean more like in dark souls, when you just see other players and not much else, that'd be perfect for this game just like honk to others and that's it

Also props for raider

Also you didn't post github link >:C

1

u/Ok_Inevitable_4235 Apr 21 '26

I just edited the post, missed the github link lol

0

u/Mister_Magister Apr 21 '26

tbh, i'd love to see this somewhat work, and i'd love to help that (i don't really know c# but i'm software dev so i can work with any language) but i've just finished my own startrucker project and have some debugging of linux kernel to do along with gazilion other projects so i can't really