Simple Tickets
插件
一个内置 Discord 机器人的支持工单系统。玩家可以在游戏内和 Discord 上创建工单,两端完全互通。
如果遇到任何 Bug,请私信我!
Discord:Muhammed.n.14(用于提交 Bug 报告、其他问题及反馈)
适用于 Paper 1.20+
功能特性:
- 在游戏内 (/ticket <category> <reason>) 或 Discord 上(按钮 + 类别选择器 + 表单)创建工单
- 完全可自定义的类别 (Bug 反馈、举报玩家、其他、自由扩展),游戏内与 Discord 端保持一致
- 每个工单自动创建一个 私有 Discord 频道,仅对创建者、支持角色和机器人可见
- 通过 Discord 上的按钮进行 认领 & 关闭
- 按玩家编号 显示工单(例如 ticket-name-3),支持重置
- 已关闭的工单会被移入归档类别 并锁定,除机器人外所有人不可见(可选设置;否则将在配置的时间后自动删除)
- 通过按钮重新打开,工单会自动移回活跃类别
- 工单关闭时,可选择将对话记录发布到 日志频道
- 同时支持 多个支持角色
- 游戏内通知错过的回复,并提供 /ticket history 以阅读完整对话
- 直接从游戏内回复 (/ticket reply)
- 多语言支持 (德语/英语),每位玩家可自行选择
- Discord 账号绑定 (/linkdiscord):绑定的玩家即使被封禁或未在线,也会自动被添加到其工单的 Discord 频道中
- 绑定成功后会在游戏聊天中发送确认信息,显示已绑定的 Discord 账号名称;一个 Discord 账号可以绑定多个 Minecraft 账号,但每个 Minecraft 账号同一时间只能绑定一个 Discord 账号 (使用 /unlinkdiscord 切换)
使用方法(游戏内):
- /ticket <category> <reason> 创建一个新的工单
- /ticket close 关闭你当前正在处理的工单
- /ticket reply <message> 在游戏中直接回复你的工单
- /ticket history 显示你工单的历史消息记录
- /ticket language <de, en> 选择你偏好的语言
- /linkdiscord 生成一个代码以链接你的 Discord 账号
- /unlinkdiscord 移除 Minecraft 与 Discord 账号之间的链接
管理员命令(权限:ticket.admin):
- /ticket setup <bot-token> <guild-id> 连接内置的 Discord 机器人
- /ticket config ticketcategory <id> 新工单的分类 ID
- /ticket config archivecategory <id> 已关闭工单的归档分类 ID(可选)
- /ticket config logchannel <id> 用于保存转录记录的频道 ID(可选)
- /ticket config addsupportrole <id> / removesupportrole <id> 管理客服角色
- /ticket config supportroles 显示已配置的客服角色
- /ticket config resetnumbering 将工单编号重置为 #1
- /ticket panel <channel-id> 在指定频道发布“创建工单”面板
- /ticket reload 重新加载 config.yml 配置文件
Discord 命令:
- /ticketpanel 发布“创建工单”面板(需要“管理服务器”权限)
- /link [code] 将你的 Discord 账号与 Minecraft 账号绑定
- /reopen 重新打开当前已关闭的工单(也可作为按钮使用)
权限:
- ticket.use 你需要此权限才能创建和回复你自己的工单。(默认:true)
- ticket.admin 你需要此权限来管理工单系统、Discord 设置及配置。(默认:op)

默认 config.yml 配置:
discord:
enabled: false
token: ""
guild-id: ""
ticket-category-id: ""
archive-category-id: ""
support-role-ids: []
log-channel-id: ""
categories:
bug:
label: "报告错误"
emoji: "?"
report:
label: "举报玩家"
emoji: "?"
other:
label: "其他"
emoji: "❓"
settings:
delete-channel-after-close-seconds: 15
transcript-enabled: true
default-language: "en"
numbering-since: 0
Simple Tickets
Plugin
A support ticket system with a built-in Discord bot. Players can create tickets both in-game and directly on Discord, both sides are fully connected.
Please message me if you encounter any Bugs!
Discord: Muhammed.n.14 (for Bug-Reports, other Issues and Feedback)
Available for Paper 1.20+
Features:
- Create tickets in-game (/ticket <category> <reason>) or on Discord (button + category select + form)
- Fully customizable categories (Bug, Report Player, Other, freely extendable), identical on both sides
- Automatically creates a private Discord channel per ticket, only visible to the creator, support roles and the bot
- Claim & Close via button on Discord
- Per-player ticket numbering (e.g. ticket-name-3), resettable
- Closed tickets get moved into an archive category and locked for everyone except the bot, instead of being deleted (optional, otherwise automatic deletion after a configurable time)
- Reopen via button, automatically moves the ticket back into the active category
- Optional transcript posted to a log channel when a ticket is closed
- Multiple support roles supported at once
- In-game notification for missed replies, plus /ticket history to read the full conversation
- Reply directly from in-game (/ticket reply)
- Multi-language (German/English), each player can choose their own
- Discord account linking (/linkdiscord): linked players are automatically added to their ticket's Discord channel, even while banned from Minecraft or not currently playing
- Linking sends an in-game chat confirmation showing the linked Discord account's name; one Discord account can be linked to multiple Minecraft accounts, but each Minecraft account can only be linked to one Discord account at a time (use /unlinkdiscord to switch)
How to use (in-game):
- /ticket <category> <reason> Creates a new ticket
- /ticket close Closes your currently open ticket
- /ticket reply <message> Replies directly in-game inside your open ticket
- /ticket history Shows the previous message history of your ticket
- /ticket language <de, en> Chooses your preferred language
- /linkdiscord Generates a code to link your Discord account
- /unlinkdiscord Removes the link between your Minecraft and Discord account
Admin Commands (Permission: ticket.admin):
- /ticket setup <bot-token> <guild-id> Connects the built-in Discord bot
- /ticket config ticketcategory <id> Category for new tickets
- /ticket config archivecategory <id> Category for closed tickets (optional)
- /ticket config logchannel <id> Channel for transcripts (optional)
- /ticket config addsupportrole <id> / removesupportrole <id> Manage support roles
- /ticket config supportroles Shows configured support roles
- /ticket config resetnumbering Resets ticket numbering to #1
- /ticket panel <channel-id> Posts the "Create Ticket" panel
- /ticket reload Reloads config.yml
Discord Commands:
- /ticketpanel Posts the "Create Ticket" panel (requires "Manage Server")
- /link [code] Links your Discord account with your Minecraft account
- /reopen Reopens the current closed ticket (also available as a button)
Permissions:
- ticket.use You need this Permission to create and reply to your own tickets. (Default: true)
- ticket.admin You need this Permission to manage the ticket system, Discord setup and configuration. (Default: op)

default config.yml:
discord:
enabled: false
token: ""
guild-id: ""
ticket-category-id: ""
archive-category-id: ""
support-role-ids: []
log-channel-id: ""
categories:
bug:
label: "Report Bug"
emoji: "?"
report:
label: "Report Player"
emoji: "?"
other:
label: "Other"
emoji: "❓"
settings:
delete-channel-after-close-seconds: 15
transcript-enabled: true
default-language: "en"
numbering-since: 0
评论 0
登录后参与评分
还没有评论,来抢沙发吧