Changing behavior for SetGlobalOption*() for lua to not write to file

This commit is contained in:
Neko Box Coder
2025-09-06 20:27:51 +01:00
parent b39b5b5916
commit 7a250b7df4
3 changed files with 23 additions and 11 deletions

View File

@@ -223,9 +223,9 @@ The packages and their contents are listed below (in Go type signatures):
given plugin in the `GlobalSettings` map.
- `SetGlobalOption(option, value string) error`: sets an option to a
given value. Same as using the `> set` command. This will try to convert
the value into the proper type for the option. Can return an error if the
option name is not valid, or the value can not be converted.
given value. This will try to convert the value into the proper
type for the option. Can return an error if the option name is not
valid, or the value can not be converted.
- `SetGlobalOptionNative(option string, value any) error`: sets
an option to a given value, where the type of value is the actual