Player#showDialog() cannot be used to open dialogs provided by a datapack

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • 4523-Spigot-739dbf3-d116f42 (MC: 1.21.8) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
    • Yes

      Player#showDialog() should support similar functionality to `net.md_5.bungee.api.dialog.chat.ShowDialogClickEvent()` where it can accept a string, to open data pack-defined dialogs.

       

      Vanilla provides `/dialog show` which also lists dialogs from data packs.

       

      Demo data pack is attached.

      1. Extract into `world/datapacks/`
      2. Start Spigot server
      3. Connect as a player
      4. Type `/dialog show @p spigot_demo:custom_settings` to ensure it loaded
      5. Attempt to open the dialog using the Spigot API

            Assignee:
            Unassigned
            Reporter:
            Matt Gajownik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: