Skip to content

String type Mod Settings? #28

@pawrequest

Description

@pawrequest

is it possible to have user-configurable strings in modSettings?

eg

    @runtimeProperty("ModSettings.mod", "Alberta")
    @runtimeProperty("ModSettings.displayName", "ollamaHost")
    @runtimeProperty("ModSettings.description", "Ollama host URL and port.")
    private let ollamaHost: String = "http://192.168.0.91:11434";

and then have a text-entry box for user edits?

or is there some other strategy for allowing user-configurable strings to be accessible in code?

or, i mean, i could use this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions