▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/CustomMenu

CustomMenu

CustomMenu is a powerful Paper plugin that lets you create custom menus using simple YAML files. It automatically shows the right UI for each player - Bedrock players see native forms, Java players see the new Dialog API.

64
1

CustomMenu

Create beautiful menus for both Bedrock and Java players!

CustomMenu is a powerful Paper plugin that lets you create custom menus using simple YAML files. It automatically shows the right UI for each player - Bedrock players see native forms, Java players see the new Dialog API.


✨ Features

FeatureDescription
🎮 Cross-PlatformWorks for both Bedrock (via Floodgate) and Java players
📋 Easy YAML ConfigSimple, readable menu configuration files
🔄 Hot ReloadReload menus without restarting the server
🖼️ Button ImagesAdd icons to buttons (Bedrock only)
📝 Input FormsText fields, dropdowns, toggles, sliders
🔐 PermissionsPer-menu permission control
LightweightNo dependencies required

📦 Installation

  1. Download the JAR file
  2. Place it in your /plugins/ folder
  3. Restart your server
  4. Edit menus in /plugins/CustomMenu/menu/

🎮 Commands

CommandPermissionDescription
/cmenu open <menu>custommenu.openOpen a menu
/cmenu reloadcustommenu.reloadReload all menus
/cmenu listcustommenu.listList available menus

Permissions

  • custommenu.open - Use the open command
  • custommenu.open.<menu> - Open specific menu
  • custommenu.reload - Reload menus (default: op)
  • custommenu.list - List menus (default: true)

📝 Menu Configuration

Create .yml files in /plugins/CustomMenu/menu/

Simple Button Menu

title: "Server Menu"
content: "Welcome! Choose an option:"

buttons:
  - text: "Spawn"
    action: command
    value: spawn

  - text: "Shop"
    action: command
    value: shop

  - text: "Close"
    action: close

Button with Image (Bedrock)

buttons:
  - text: "Spawn"
    action: command
    value: spawn
    image: "https://example.com/icon.png"
    image_type: url

Form with Inputs

title: "Player Report"
content: "Fill out the form:"

inputs:
  - type: input
    id: player
    label: "Player Name"
    placeholder: "Enter name..."

  - type: dropdown
    id: reason
    label: "Reason"
    options:
      - Cheating
      - Griefing
      - Spam

  - type: toggle
    id: urgent
    label: "Urgent"
    default: "false"

submit:
  text: "Submit Report"
  action: console
  value: "report {player} {reason} {urgent}"

🔧 Actions

ActionDescriptionExample
commandRun as playerspawn
consoleRun as consolegive {player} diamond 1
messageSend messageHello {player}!
menuOpen menusettings
closeClose menu-

📌 Placeholders

PlaceholderDescription
{player}Player name
{uuid}Player UUID
{input_id}Value from input

🎨 Input Types

TypeDescriptionPlatform
input / textText fieldBoth
dropdownSelect listBoth
toggle / boolOn/Off switchBoth
sliderNumber rangeBoth
labelDisplay textBoth

🔗 Platform-Specific Settings

title: "Menu"
content: "Select option:"

buttons:
  - text: "Option"
    action: command
    value: test

# Override for Bedrock players
form:
  title: "Bedrock Menu"
  content: "Tap to select!"

# Override for Java players
dialog:
  title: "Java Menu"
  content: "Click to select!"

📋 Requirements

  • Paper 1.21.7+ (required for Dialog API)
  • Floodgate (optional, for Bedrock support)

Совместимость

Minecraft: Java Edition

1.21.x

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная