COWMODSКаталог модов

BedrockDialog

BedrockDialog is a Dialog wrapper for both Paper 1.21.8+ and Geyser (or Floodgate)

Автор: f0reachARR3181обновлён 1 июл. 2026 г.
БиблиотекиУтилиты

Описание

BedrockDialog

A Paper plugin library that lets you show interactive dialogs to players on both Java Edition and Bedrock Edition (via Geyser/Floodgate) through a single unified API.

Intended to be used as a dependency library by other plugins. The bundled /bdialog command and config.yml dialog definitions are provided as a demo and for simple use cases only.

Requirements

  • Paper 1.21.8+
  • Java 21+
  • Geyser and/or Floodgate (optional, for Bedrock Edition support)

API Usage

See API.md for details on using BedrockDialog as a library in your own plugin.

Demo / Standalone Usage

The plugin ships with a built-in command and config.yml for testing dialogs without writing code. This is intended for demonstration and simple use cases.

Commands

CommandDescriptionPermission
/bdialog open <id>Open a dialog defined in configbedrockdialog.dialog.open
/bdialog reloadReload config.ymlbedrockdialog.dialog.reload

Both permissions default to OP only.

config.yml Example

dialogs:
  welcome:
    type: multi_button
    title: "Welcome!"
    body: "Welcome, <player>!"
    buttons:
      - label: "Go to Spawn"
        actions:
          - type: run_as_player
            command: "spawn"
      - label: "Check Rules"
        actions:
          - type: open_dialog
            dialog_id: "notice_rules"
      - label: "Close"
        actions: []

  confirm_pvp:
    type: confirm
    title: "Join PVP?"
    body: "<player>, do you want to join PVP?"
    yes_label: "Join"
    no_label: "Cancel"
    on_yes:
      - type: run_as_console
        command: "pvp join {player}"
    on_no: []

  notice_rules:
    type: notice
    title: "Server Rules"
    body: "1. No griefing\n2. No cheating\n3. Have fun!"
    dismiss_label: "Got it"
    on_dismiss: []

  item_form:
    type: input
    title: "Item Distribution Form"
    body: "Select what you want to receive"
    submit_label: "Submit"
    inputs:
      - type: text
        key: player_name
        label: "Target Player Name"
        placeholder: "e.g. Steve"
        default: ""
      - type: slider
        key: amount
        label: "Amount"
        min: 1
        max: 64
        step: 1
        default: 1
      - type: boolean
        key: checkbox
        label: "Checkbox Test"
        default: true
      - type: dropdown
        key: item
        label: "Item"
        default: 0
        options:
          - id: diamond
            label: "Diamond"
          - id: gold_ingot
            label: "Gold Ingot"
    on_submit:
      - type: run_as_console
        command: "give {input.player_name} {input.item} {input.amount}"
    on_close: []

Config Actions

TypeDescriptionFields
run_as_playerExecute a command as the playercommand
run_as_consoleExecute a command as the consolecommand
open_dialogOpen another dialog by config IDdialog_id

Placeholders: {player} (player name), {input.<key>} (input field value, available in on_submit)

License

MIT License. See LICENSE for details.

Галерея

Dialog in Minecraft Java EditionDialog in Minecraft Bedrock Edition

Последние версии

Все версии →
release

1.0.4

1.0.4
1 июл. 2026 г.186Minecraft: 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
## What's Changed - chore(build): add new Minecraft versions to Modrinth targets (#6) @f0reachARR - feat(paper): use single column layout for multi-action dialog (#5) @f0reachARR **Full Changelog**: https://github.com/f0reachARR/BedrockDialog/compare/1.0.3...v1.0.4
release

1.0.3

1.0.3
29 июн. 2026 г.19Minecraft: 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
## What's Changed - docs: add Javadoc to public API (#4) @f0reachARR **Full Changelog**: https://github.com/f0reachARR/BedrockDialog/compare/1.0.2...v1.0.3
release

1.0.2

1.0.2
27 июн. 2026 г.15Minecraft: 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
## What's Changed - Add width API for buttons and inputs on Java Edition (#2) @f0reachARR - Add build check workflow (#3) @f0reachARR - Persist release version in gradle.properties and bump to next snapshot (#1) @f0reachARR **Full Changelog**: https://github.com/f0reachARR/BedrockDialog/compare/1.0.1...v1.0.2
release

1.0.1

1.0.1
3 июн. 2026 г.26Minecraft: 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
## What's Changed * No changes **Full Changelog**: https://github.com/f0reachARR/BedrockDialog/compare/...1.0.1
release

1.0.0

1.0.0
3 мар. 2026 г.71Minecraft: 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
No changelog was specified.