Page 1 of 1

LuaGameScript.server_settings

Posted: Fri Oct 18, 2019 12:35 am
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.

Re: LuaGameScript.server_settings

Posted: Tue Oct 22, 2019 10:28 pm
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).

Re: LuaGameScript.server_settings

Posted: Wed Oct 23, 2019 1:06 pm
by SimonFlapse
Support for writing them would be super cool. I don't need to read them, only set them.