Skip to content
Flint
Documentation

menus

modulePaper

Chest menus with clickable buttons, pages and confirm dialogs.

import menus

Functions 4

Creates a menu with 1 to 6 rows (3 by default). Add buttons, then menu.open(player).

Slot number for a row and column, both starting at 1.

Opens a yes/no dialog. Calls on_yes(player, ...args) if the player confirms; closes either way.

The menu a player has open, or none.