Hi,
I did a very quick Google and found that mods don't have access to networking (I'm looking for a simple HTTP(s) client) - is this true ? If so, is this something that will be considered in the future ?
Thanks !
Network access in mods ?
Re: Network access in mods ?
Some reasons this will never happen:
Good Luck!
- Allows for data exfiltration from the game sandbox by smuggling it in the request body
- Multiple clients making HTTP requests (in multiplayer) could get different responses from the server, causing desyncs
- Latency of waiting for a response would make for an awful user experience
Good Luck!
Re: Network access in mods ?
Sorry, but you answer seems to focus a lot on multiplayer - my focus is way more on single player. The idea is that you have 2 or more players and using this mod, you can share resources between players. Players will need to load said resources into a train and send it to a station. The train (including resources) will then "disappear" from the player's map and spawn on the target players map, where it will go towards a station, rinse repeat.
The network parts will be the exchange of resources, so no real player XP impact that I can see?
Does the mod code not run in it's own thread ?
Thanks !
The network parts will be the exchange of resources, so no real player XP impact that I can see?
Does the mod code not run in it's own thread ?
Thanks !
Re: Network access in mods ?
It does not.
If you want to get ahold of me I'm almost always on Discord.
Re: Network access in mods ?
Singleplayer and multiplayer follow the exact same game logic - the player’s character controller is just “local”.dewitpj wrote: Tue Jan 06, 2026 6:06 am Sorry, but you answer seems to focus a lot on multiplayer - my focus is way more on single player. The idea is that you have 2 or more players and using this mod, you can share resources between players.
You may find Subspace Storage and Clusterio interesting.
Re: Network access in mods ?
Oh I see - thanks !eugenekay wrote: Tue Jan 06, 2026 2:39 pmSingleplayer and multiplayer follow the exact same game logic - the player’s character controller is just “local”.dewitpj wrote: Tue Jan 06, 2026 6:06 am Sorry, but you answer seems to focus a lot on multiplayer - my focus is way more on single player. The idea is that you have 2 or more players and using this mod, you can share resources between players.
You may find Subspace Storage and Clusterio interesting.
I see we have (as you mentioned) send_udp,recv_udp - even thou this seems to only be "bound" to localhost I can still use this - TO THE LAB !


