feat: Paper plugin + external API POST endpoint
This commit is contained in:
5
mc-report-plugin/src/main/resources/config.yml
Normal file
5
mc-report-plugin/src/main/resources/config.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
# MC举报系统 - 插件配置
|
||||
# API地址 (web服务地址)
|
||||
api_url: "http://localhost:3100/api/external"
|
||||
# 外部API密钥 (安装时生成)
|
||||
external_key: ""
|
||||
25
mc-report-plugin/src/main/resources/plugin.yml
Normal file
25
mc-report-plugin/src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: MCReport
|
||||
version: 1.0.0
|
||||
main: com.mcreport.plugin.MCReportPlugin
|
||||
api-version: 1.20
|
||||
author: Sea-Studio
|
||||
description: MC举报系统 - 游戏内举报插件
|
||||
|
||||
commands:
|
||||
report:
|
||||
description: 提交玩家举报
|
||||
usage: /<command> <玩家名> [原因]
|
||||
aliases: [jubao,举报]
|
||||
sugg:
|
||||
description: 提交建议
|
||||
usage: /<command> <内容>
|
||||
aliases: [jianyi,建议]
|
||||
appeal:
|
||||
description: 提交申诉
|
||||
usage: /<command> <原因>
|
||||
aliases: [shensu,申诉]
|
||||
|
||||
permissions:
|
||||
mcreport.use:
|
||||
description: 使用举报功能
|
||||
default: true
|
||||
Reference in New Issue
Block a user