Getting Started
-
Ensure your server has the required prerequisites installed:
- Geyser-Spigot
- Floodgate
-
Download GeyserMenu v1.3.0-beta1
-
Place the plugin in the server's
pluginsfolder -
Restart the server
Directory Structure
On the first run, the plugin will generate the following directories and files:
plugins/GeyserMenu/
├── config.yml # Main configuration file
├── messages.yml # Message configuration file
├── icons/ # Icon directory
└── menus/ # Menu folder
├── menu.yml # Main menu
├── shop.yml # Shop menu
├── teleport.yml # Teleport menu
├── confirm.yml # Confirm menu (ModalForm example)
└── settings.yml # Settings menu (CustomForm example)
Tip
- Configuration files are only generated on the first startup; subsequent modifications will not be overwritten.
- Place menu files in the
menusdirectory.
Configuration
Basic Configuration
Edit config.yml for basic settings:
settings:
default-menu: "menu.yml" # Default menu
debug: false # Debug mode
Creating Menus
Create new YAML files in the menus folder:
SimpleForm
menu:
type: simple # Can be omitted, default type
title: "My Menu"
subtitle: "Choose an option"
content: "This is the menu content"
items:
- text: "Teleport Menu"
description: "Open the teleport menu"
icon: "compass"
icon_type: "java" # Use Java Edition item ID
submenu: "teleport.yml"
- text: "Execute Command"
description: "Click to execute a command"
icon: "textures/items/diamond"
icon_type: "bedrock" # Use Bedrock Edition texture path
command: "say Hello"
ModalForm
menu:
type: modal
title: "Confirm Action"
content: "Are you sure you want to proceed?"
button1: "Confirm"
button2: "Cancel"
on_button1:
command: "say Confirmed"
execute_as: console
on_button2:
submenu: "menu.yml"
CustomForm
menu:
type: custom
title: "Player Settings"
components:
- type: label
text: "Please fill in the following information"
- type: input
text: "Player Name"
placeholder: "Enter name"
default: "{player}"
- type: dropdown
text: "Select Option"
options:
- "Option 1"
- "Option 2"
default: 0
- type: slider
text: "Quantity"
min: 1
max: 64
step: 1
default: 1
- type: toggle
text: "Public"
default: false
on_submit:
command: "say {0} selected {1}"
execute_as: console
Tip
- Each button must have
textandicon - Choose either
commandorsubmenu descriptionis optional- Icons must specify their type (java, bedrock, or url)
Usage
-
Bedrock Edition players can open the default menu by typing
/gmenu -
Use
/gmenu helpto view all available commands -
Administrators can use
/gmenu reloadto reload the configuration
Icon Types
GeyserMenu supports three icon types:
| Type | Description | Example |
|---|---|---|
java | Java Edition item ID, auto-mapped | compass |
bedrock | Bedrock Edition texture path | textures/items/diamond |
url | Network URL icon | https://example.com/icon.png |
Next Steps
- See Configuration for more configuration options
- See Icon System for all available icons
- See Form Types for various form types