
一款简单轻量的插件,用于创建和管理新型对话框。
由于对话框功能是在 1.21.6 版本中添加的,因此只有使用 1.21.6 或更高版本的玩家才能查看它们。
您可以创建对话框(在 JSON 文件中),然后将它们分配给许多酷炫的功能。
功能特性
- 欢迎对话框:当玩家首次加入服务器时显示
- 教程:分章节解释您令人惊叹的服务器如何运作 [开发中]
- 支持 MiniMessage 格式化
- 可以使用 PlaceholderAPI 和 MiniPlaceholders 的占位符
- 为其他插件开发者提供的强大 API
FancyDialogs 的核心优势:
- 简单的自定义对话框创建(支持 JSON 格式或代码编写)
- 多种不同的对话框组件(文本、按钮、输入框等)
- 自定义按钮操作(例如运行命令、给予物品、打开其他对话框)
- 支持 MiniMessages 和 PlaceholderAPI
面向服务器管理员
如果您将 FancyDialogs 作为插件使用,可以利用以下功能:
- 作为玩家首次加入时的欢迎屏幕
- 自定义教程对话框
- FancyNpcs 的 'open_dialog' 动作可用于 NPC
面向插件开发者
如果您是插件开发者,希望为您的插件增添对话框功能,可以将 FancyDialogs 用作库。
您可以定义默认对话框,这些对话框会持久化存储在 plugins/FancyDialogs/data/dialogs 文件夹中。
这允许服务器管理员根据他们的服务器自定义对话框。
然后您可以在您的插件中使用这些对话框,并在需要时向玩家展示。
常见用例包括:
- 帮助对话框(例如用于命令或功能说明)
- 关键操作的确认对话框
- 商店界面(替代库存界面)
- 任务对话框
数据收集
本插件会收集匿名使用数据,以帮助我们了解插件的使用情况并进行改进。所有服务器收集的数据都会进行汇总,我们不会存储任何 IP 地址、服务器名称或其他可能用于识别特定服务器或用户的信息。
有关该主题的更多信息(使用的平台、如何退出、指标列表等...)请参阅 文档。

Simple and lightweight plugin to create and manage the new dialogs.
Because the dialogs were added in 1.21.6, only players on 1.21.6 or newer can view them.
You can create create dialogs (in JSON files) and then assign them to many cool features.
Features
- Welcome dialog: shows when a player joins for the first time
- Tutorials: explain how your amazing server works in multiple chapters [WIP]
- MiniMessage formatting is supported
- You can use placeholders by PlaceholderAPI and MiniPlaceholders
- Awesome API for other plugin developers to use
Core advantages of FancyDialogs:
- Simple custom dialog creation (in JSON format or in code)
- A lot of different dialog components (text, buttons, input fields, etc.)
- Custom button actions (e.g. run commands, give items, open other dialogs)
- MiniMessages and PlaceholderAPI support
For servers
If you use FancyDialogs as a plugin, you can take advantage of the following features:
- Dialog as welcome-screen for players joining the first time
- Custom tutorial dialogs
- FancyNpcs 'open_dialog' action for NPCs
For plugin developers
If you are a plugin developer and want to spice up your plugin with dialogs, you can use FancyDialogs as a library.
You can define default dialogs, which will be persisted in the plugins/FancyDialogs/data/dialogs folder.
This allows server administrators to customize the dialogs for their server.
You can then use the dialogs in your plugin and show them to the players whenever you want.
Common use cases are:
- Help dialogs (e.g. for commands or features)
- Confirmation dialogs for critical actions
- Shop UIs (replacing inventories UIs)
- Dialogs for quests
Data collection
This plugin collects anonymous usage data to help us understand how the plugin is being used and to improve it. All collected data by all servers is aggregated, we don't store any IP addresses, server names, or any other information that could be used to identify a specific server or user.
Read more about that topic (used platforms, how to opt-out, list of metrics ...) in the documentation.
评论 0
登录后参与评分
还没有评论,来抢沙发吧