ClickAccept
TPA 插件(如 EssentialsX)的附加插件 —— 通过在聊天中点击、Java GUI 或基岩版表单来接受或拒绝传送请求。
ClickAccept 会监听 /tpa、/tpahere(以及你列出的任何其他命令)。非常适合新手、移动端和主机玩家,以及任何不喜欢打字的人。
注意: 本插件的未来开发和维护取决于其受欢迎程度和实用性,因为可能存在其他替代插件。
功能
- 点击接受 / 点击取消
- 物品栏 GUI 覆盖层
- Floodgate / 基岩版表单支持
- 声音与粒子提示
- 完全可配置的消息模板
- 可配置的触发列表
- 按触发器的覆盖设置
/clickaccept reload
- 分级权限
- 每位玩家可选择退出
- 提示延迟
- Paper 1.20+ / Java 17 现代 API
要求
| 要求 |
说明 |
| 服务器软件 |
PaperMC 1.20+(或其分支如 Folia/Purpur) |
| Java |
Java 17+ |
| TPA 插件 |
EssentialsX(或任何暴露 /tpaccept//tpacancel 命令的插件) |
| Floodgate(可选) |
启用原生基岩版表单。如果没有它,基岩版玩家只会看到聊天按钮。 |
安装
- 下载插件
.jar 文件。
- 将其放入 Minecraft 服务器的
plugins/ 文件夹中。
- 重启服务器 —— ClickAccept 将生成
plugins/ClickAccept/config.yml 和 player-prefs.yml。
- (可选)如果你想支持基岩版表单,请启动 Floodgate。
- 授予所需的权限(见下文)。
命令
| 命令 |
权限 |
描述 |
/clickaccept reload(别名:/ca, /cacc) |
clickaccept.admin |
热重载 config.yml + player-prefs.yml,无需重启服务器。 |
/clickaccept help |
clickaccept.use |
显示游戏内帮助信息。 |
/clickaccept toggle gui |
clickaccept.toggle |
为你开启或关闭物品栏 GUI 覆盖层(聊天按钮仍保留)。 |
/clickaccept toggle forms |
clickaccept.toggle |
为你开启或关闭基岩版表单。 |
/clickaccept toggle all |
clickaccept.toggle |
通过一个命令同时为你开启或关闭所有覆盖层。 |
切换命令会将你的偏好存储在 plugins/ClickAccept/player-prefs.yml 中,以 UUID 为键 —— 即使改名、服务器重启或执行 /clickaccept reload,该设置也会保留。
权限
| 权限 |
默认值 |
描述 |
clickaccept.use |
true |
允许运行 /clickaccept 的所有子命令(子命令受各自权限限制)。 |
clickaccept.sender |
op |
允许玩家发出触发命令以生成接受/取消提示。 |
clickaccept.receiver |
op |
允许玩家接收传入请求的提示。 |
clickaccept.gui |
false |
额外为接收者打开物品栏 GUI / 基岩版表单(需主动选择加入)。 |
clickaccept.toggle |
true |
允许玩家通过 /clickaccept toggle ... 选择退出交互式覆盖层。 |
clickaccept.admin |
op |
允许使用 /clickaccept reload 及相关管理操作。 |
基岩版 (Floodgate) 说明
仅当基岩版玩家实际需要表单时,才会通过反射加载 Floodgate 表单 —— Java 版玩家永远不会接触 Cumulus 类,且即使未安装 Floodgate,插件也能在服务器上正常运行。当表单到达时,基岩版客户端不能处于暂停菜单状态,否则他们会看到表单已关闭而未选择按钮(这是基岩版客户端的限制 —— 聊天按钮仍可作为回退方案正常工作)。
捐赠者
感谢你对开发的支持!
免责声明
我们欢迎你的反馈和改进建议。
如果遇到任何问题,请使用插件的讨论区或通过 Discord 联系我们。
捐赠
如果你想支持本插件的持续开发,可以通过 PayPal 进行捐赠。
ClickAccept
An add-on plugin for TPA plugins like EssentialsX — accept or deny teleport requests by clicking in chat, a Java GUI, or a Bedrock form.
ClickAccept listens for the /tpa, /tpahere (and any other commands you list). Perfect for newcomers, mobile and console players, and anyone who dislikes typing.
Note: The future development and maintenance of this plugin depend on its popularity and usefulness, as there may be other alternative plugins available.
Features
- Click-to-accept / click-to-cancel
- Inventory GUI overlay
- Floodgate / Bedrock form support
- Sound & particle cues
- Fully configurable message templates
- Configurable trigger list
- Per-trigger overrides
/clickaccept reload
- Tiered permissions
- Per-player opt-out
- Prompt delay
- Paper 1.20+ / Java 17 modern API
Requirements
| Requirement |
Notes |
| Server software |
PaperMC 1.20+ (or a fork like Folia/Purpur) |
| Java |
Java 17+ |
| TPA plugin |
EssentialsX (or any plugin that exposes /tpaccept//tpacancel) |
| Floodgate (optional) |
Enables native Bedrock forms. Without it, Bedrock players just get chat buttons. |
Installation
- Download the plugin
.jar.
- Drop it into the
plugins/ folder of your Minecraft server.
- Restart the server — ClickAccept will generate
plugins/ClickAccept/config.yml and player-prefs.yml.
- (Optional) Start Floodgate if you want Bedrock form support.
- Grant the desired permissions (see below).
Commands
| Command |
Permission |
Description |
/clickaccept reload (aliases: /ca, /cacc) |
clickaccept.admin |
Hot-reload config.yml + player-prefs.yml without restarting. |
/clickaccept help |
clickaccept.use |
Show the in-game help. |
/clickaccept toggle gui |
clickaccept.toggle |
Turn the inventory GUI overlay on or off for you (chat buttons stay). |
/clickaccept toggle forms |
clickaccept.toggle |
Turn the Bedrock form on or off for you. |
/clickaccept toggle all |
clickaccept.toggle |
Turn both overlays on or off for you in one command. |
The toggle command stores your preference in plugins/ClickAccept/player-prefs.yml keyed by UUID — it survives renames, server restarts, and /clickaccept reload.
Permissions
| Permission |
Default |
Description |
clickaccept.use |
true |
Allows running /clickaccept at all (subcommands are gated by their own permissions). |
clickaccept.sender |
op |
Allows a player to issue a trigger command that emits accept/cancel prompts. |
clickaccept.receiver |
op |
Allows a player to receive the prompt for an incoming request. |
clickaccept.gui |
false |
Additionally opens the inventory GUI / Bedrock form for the receiver (opt-in). |
clickaccept.toggle |
true |
Allows a player to opt out of the interactive overlay via /clickaccept toggle .... |
clickaccept.admin |
op |
Allows /clickaccept reload and related admin actions. |
Bedrock (Floodgate) note
Floodgate forms are loaded via reflection only when a Bedrock player actually needs one — Java players never touch the Cumulus classes, and the plugin fully works on a server with no Floodgate installed. Bedrock clients must not be on the pause menu when the form arrives, or they'll see the form as closed without picking a button (this is a Bedrock client limitation — the chat buttons still work as a fallback).
Donators
Thank you for supporting development!
Disclaimer
Your feedback and suggestions for improvements are always welcome.
If you encounter any issues, please use the discussion section of the plugin or contact us via Discord.
Donation
If you'd like to support the continued development of this plugin, you can donate via PayPal.
评论 0
登录后参与评分
还没有评论,来抢沙发吧