LuaGameScript.server_settings

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
SimonFlapse
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Feb 28, 2019 1:20 pm
Contact:

LuaGameScript.server_settings

Post by SimonFlapse »

Right now you can edit most server settings using the /config command

I would like the ability to do the same through the Lua-Api e.g placed in the LuaGameScript class.

This would allow access to changing the server settings directly inside your scenario code, instead of having to do it manually.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaGameScript.server_settings

Post by Rseding91 »

I could add support to write them but reading them wouldn't be allowed since they aren't deterministic (they aren't synced through the save file system).
If you want to get ahold of me I'm almost always on Discord.

User avatar
SimonFlapse
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Feb 28, 2019 1:20 pm
Contact:

Re: LuaGameScript.server_settings

Post by SimonFlapse »

Support for writing them would be super cool. I don't need to read them, only set them.

Post Reply

Return to “Modding interface requests”