Dialog Types
zMenu supports several types of dialogs, each designed for specific use cases. Choose the appropriate type based on what you want to achieve.
Available Dialog Types
notice
noticeA simple informational dialog with a single "OK" or acknowledgment button.
Best for:
Announcements and notifications
Simple information display
Rules and guidelines
Welcome messages
Example:
type: notice
notice:
text: "<green>Accept the rules to continue"
tooltip: "<green>Click to accept the rules"
width: 300
confirmation
confirmationA dialog with two options: Yes/No or Accept/Decline.
Best for:
Confirming player actions
Agreement to terms
Binary choices
Opt-in/opt-out situations
Example:

multi_action
multi_actionA dialog with multiple custom action buttons.
Best for:
Server navigation menus
Multiple choice selections
Game mode selection
Feature access points
Example:

server_links
server_linksA specialized dialog for displaying server-related links and external connections.
Best for:
Server social media links
External websites
Discord invitations
Community resources
Example:

Choosing the Right Type
notice
Simple information display
1 (OK/Close)
confirmation
Yes/No decisions needed
2 (Yes/No)
multi_action
Multiple custom options
2+ (Custom)
server_links
External links needed
2+ (Links)
Type-Specific Configuration
Each dialog type has its own specific configuration options. The type field determines which additional configuration sections are required and available for your dialog.
Last updated