Leaf Essentials Wiki
  • Discord
  • Contribute
  • MCBETools
  • Github
  • Home
  • Installation
  • More Projects
  • More Resources
  • Server List
Chat
  • Ranks Configuration
    • Legacy Ranks
      deprecated
    • Managing Ranks
  • Chat Widgets
    • Introduction to Chat Widgets
  • Chat Rank Formats
    • Introduction to Chat Formats
Customizer
  • Basics
    • Creating UIs
    • About Buttons
    • Formatting
  • Advanced
    • /leaf:render_as
      advanced
    • How to Use conditions
      advanced
    • How to Use invites
      advanced
  • Miscellaneous
    • Button Meta
      info
  • Essentials
    • Opening builtin Leaf UIs
  • Extensions
    • Button Meta Hooks
FAQ
  • Leaf Not Working on Realms
  • Plant Kitty
Misc Features
  • World Utilities
    • Binds
    • Block Property Editor
    • Entity Property Editor
    • Zones
Moderation Hub
  • Bans
Script API
  • Basics
    • Hooks

Creating UIs

easy
Creating UIs
  • Creating UI
  • Filling in the properties
    • Title (required)
    • Body (optional)
    • Scriptevent (required)
    • After cancel action
    • UI Layout
This article is a stub.
 
You can help by expanding it.

NOTE

This article specifically goes over Action Forms

Creating UI ​

  • Open Config UI, and head over to Customizer page
  • Click "add"
  • Click "action form" (feel free to try out the other ui types though!)

Filling in the properties ​

Title (required) ​

The title is the text at the top of the form

Body (optional) ​

The body is the text under the title, but above the buttons

Scriptevent (required) ​

The scriptevent is how you open the UI. It is like a unique identifier

INFO

To open your UI, do /scriptevent leaf:open UI_SCRIPTEVENT.

Example: /scriptevent leaf:open server-ui

After cancel action ​

If the user closes the UI without clicking a button, you can run a command.

UI Layout ​

This is pretty much the layout of the UI. This shouldnt affect it too much, but keep in mind CherryUI does have some exclusive features

INFO

Guides on this website that depend on CherryUI will have CherryUI tag


You should have your UI now! :3

Contributors

Edit Creating UIs on GitHub