refactor: unified /report command with login/register/track, external auth endpoints
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# MC举报系统 - 插件配置
|
||||
# API地址 (web服务地址)
|
||||
api_url: "http://localhost:3100/api/external"
|
||||
# 外部API密钥 (安装时生成)
|
||||
external_key: ""
|
||||
|
||||
# 管理权限检测 - 拥有以下任一权限的在线玩家视为管理员
|
||||
admin_permissions:
|
||||
- "op"
|
||||
- "mcreport.admin"
|
||||
- "bukkit.command.ban"
|
||||
- "minecraft.command.ban"
|
||||
|
||||
# 踢出提示
|
||||
appeal_url: "http://localhost:3100/#/home/appeal"
|
||||
|
||||
@@ -3,21 +3,20 @@ version: 1.0.0
|
||||
main: com.mcreport.plugin.MCReportPlugin
|
||||
api-version: 1.20
|
||||
author: Sea-Studio
|
||||
description: MC举报系统 - 游戏内举报插件
|
||||
description: MC举报系统 - 游戏内举报/建议/注册登录一体化插件
|
||||
|
||||
commands:
|
||||
report:
|
||||
description: 提交玩家举报
|
||||
usage: /<command> <玩家名> [原因]
|
||||
description: 游戏内举报/建议/账号管理
|
||||
usage: |
|
||||
§6===== MC举报系统 =====
|
||||
§e/report login <密码> §7- 登录已有账号
|
||||
§e/report reg <密码> <邮箱> §7- 注册新账号
|
||||
§e/report 举报 [目标] <原因> §7- 举报玩家
|
||||
§e/report 建议 <内容> §7- 提交建议
|
||||
§e/report 事项 <内容> §7- 事项提交
|
||||
§e/report track <工单ID> §7- 追踪进度
|
||||
aliases: [jubao,举报]
|
||||
sugg:
|
||||
description: 提交建议
|
||||
usage: /<command> <内容>
|
||||
aliases: [jianyi,建议]
|
||||
appeal:
|
||||
description: 提交申诉
|
||||
usage: /<command> <原因>
|
||||
aliases: [shensu,申诉]
|
||||
|
||||
permissions:
|
||||
mcreport.use:
|
||||
|
||||
Reference in New Issue
Block a user