First steps
Open the example menus, change one, write your first screen and check it.
This walk-through uses the example files as they are generated. Join as an operator.
Open the hub
/hub opens the example screen: a cursor, your face and buttons to Profile and Shop. Move the mouse, click, and press Shift to close it.
See what is loaded
/screensadmin list shows every menu, its command and its form. hub shows as screen » hub_chest: the form, then its fallback.
Open the fallback
/screensadmin open hub_chest opens the chest version of the same hub, the one a client that cannot draw screens gets.
Write your own
Create plugins/ExyliaScreens/screens/rules.html with the file below. Save it: it is read within two seconds, no reload needed.
Check it
/screensadmin check lists anything it does not understand, with file:line:col. Run it after every edit.
<screen command="rules" aliases="r">
<panel>
<h1>{primary}Rules</h1>
<p>Be kind. No cheating. Have fun.</p>
<button action="close">Got it</button>
</panel>
</screen>/rules and /r now open it. Shift closes any screen, and the close and back actions do too.
Next
- Give it a look with Styling.
- Write the chest version and link it with
fallback: Opening and fallbacks. - Already have DeluxeMenus or zMenu menus? Import them.
Something missing on this page? Tell us on Discord