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.
LuaGameScript.server_settings
- SimonFlapse
- Burner Inserter
- Posts: 17
- Joined: Thu Feb 28, 2019 1:20 pm
- Contact:
Re: LuaGameScript.server_settings
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.
- SimonFlapse
- Burner Inserter
- Posts: 17
- Joined: Thu Feb 28, 2019 1:20 pm
- Contact:
Re: LuaGameScript.server_settings
Support for writing them would be super cool. I don't need to read them, only set them.