Skip to content

AutoConfig API #38

@Matt-MX

Description

@Matt-MX

Lightweight API allowing for developers to give users control to customize GUIs and save them to YAML.

e.g

val existingGui = gui(!"title") {
    configButton("button.hello.world") {
        // todo configure default props
    }
}

configurableGui(existingGui) {
    buttonCustomizeClickHandler {
        ConfigurableButtonGui(button).open(player)
    }
}.open(player)

This aims to generalize the process of letting an admin configure a gui from in-game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions