promotional bannermobile promotional banner

UiManager

A type-safe Kotlin DSL for building, serializing, and dynamically updating Hytale custom UI with automatic dirty tracking, diff-based updates, event handling, data binding, and form support.

A type-safe Kotlin DSL for building and managing Hytale custom UI entirely from the server side.


Key features:

  • Kotlin DSL for composing UI trees with auto-generated node classes
  • Pages and HUDs with automatic dirty tracking and diff-based updates
  • Data binding to observable properties
  • Event handling with value capture from input fields
  • Form support with automatic field binding
  • Pre-styled templates matching Hytale's vanilla UI
UiManager.registerPage("welcome", Unit) { playerRef, _ ->
    pageOverlay {
        decoratedContainer {
            title { defaultTitle { text = "Welcome".toMessage() } }

            content {
                layoutMode = LayoutMode.Top
                padding = UiPadding(full = 16)

                val nameField = defaultTextField {
                    placeholderText = "Enter your name".toMessage()
                }

                defaultTextButton {
                    text = "Greet".toMessage()
                    onActivate(nameField::value) { name ->
                        playerRef?.sendMessage("Hello, $name!")
                    }
                }
            }
        }
    }
}

// Show to a player
UiManager.showPage(playerRef, "welcome")

For full documentation and examples, see the GitHub repository.

The UiManager Team

profile avatar
  • 3
    Followers
  • 6
    Projects
  • 1.3K
    Downloads

More from CreeperFaceView all

  • Bed Wars project image

    Bed Wars

    • 14
    • Mods

    Classic BedWars team PvP for Hytale — protect your bed, raid resource generators, upgrade at the shop, and outlast every other team

    • 14
    • June 13, 2026
    • Mods
    • +1
  • BedWars Configurator project image

    BedWars Configurator

    • 8
    • Mods

    Companion setup tool for the BedWars plugin — build and edit arenas, maps, and shops entirely in-game, no config files required

    • 8
    • June 13, 2026
    • Mods
    • +1
  • LuckPerms Placeholders project image

    LuckPerms Placeholders

    • 345
    • Mods

    Provides placeholders from LuckPerms

    • 345
    • June 13, 2026
    • Mods
    • +1
  • PlaceholderAPI project image

    PlaceholderAPI

    • 710
    • Mods

    Advanced placeholder API for Hytale servers that enables dynamic string substitution with support for player-specific data, caching, parameters, and scoped contexts.

    • 710
    • June 13, 2026
    • Mods
    • +2
  • Bed Wars project image

    Bed Wars

    • 14
    • Mods

    Classic BedWars team PvP for Hytale — protect your bed, raid resource generators, upgrade at the shop, and outlast every other team

    • 14
    • June 13, 2026
    • Mods
    • +1
  • BedWars Configurator project image

    BedWars Configurator

    • 8
    • Mods

    Companion setup tool for the BedWars plugin — build and edit arenas, maps, and shops entirely in-game, no config files required

    • 8
    • June 13, 2026
    • Mods
    • +1
  • LuckPerms Placeholders project image

    LuckPerms Placeholders

    • 345
    • Mods

    Provides placeholders from LuckPerms

    • 345
    • June 13, 2026
    • Mods
    • +1
  • PlaceholderAPI project image

    PlaceholderAPI

    • 710
    • Mods

    Advanced placeholder API for Hytale servers that enables dynamic string substitution with support for player-specific data, caching, parameters, and scoped contexts.

    • 710
    • June 13, 2026
    • Mods
    • +2