Simple Help Tickets
描述:
Simple Help Tickets 提供了一个简单有效的系统,让用户可以请求管理员的帮助。
它最初是一个我为个人使用而随手编写的轻量级插件,后来决定分享出去,由于广受欢迎,功能不断扩展。
通过使用 /ticket 命令,用户可以开启一个帮助工单,然后由管理员进行审核和处理。
用户和管理员都可以回复工单,以进一步讨论相关问题。如果用户登录时发现某个未关闭的工单收到了管理员的回复,他们会收到变更通知。
安装:更新至 1.0
如果您正在更新至 1.0 版本,您需要使用全新的数据库。
如果您使用的是 SQLite,只需在 SimpleHelpTickets 插件目录中删除 Tickets.db
MySQL 用户请删除数据库中的 SHT_Tickets 表,它将在服务器启动时自动重建。
1. 下载 .jar 文件
2. 将 .jar 文件放入 plugins 目录
3. 重启服务器
配置:
• MaxTickets
每个用户允许的最大工单数量。
• TicketExpiration
已关闭的工单在多少天后过期。
• NotifyAdminOnTicketClose
拥有 sht.admin 权限的用户在工单关闭时会收到消息通知。
• MultiWorld
如果使用多个世界,查看/领取工单时会在工单详情中显示相应世界的名称。
• OnJoin
玩家加入时,向玩家显示其个人工单数量,向管理员显示总工单数量。
• USE_MYSQL
是否使用 MySQL 而非 SQLite。
output.yml
• 用于自定义插件输出(语言/格式)
命令:
• /helptickets - SimpleHelpTickets 菜单。
• /ticket (描述) - 开启一个帮助工单。
• /tickets [-a/-c] - 列出所有/全部/已关闭的工单。
• /checkticket <#> - 查看工单详情。
• /taketicket <#> - 认领一个工单。(并传送至设置该工单的位置)
• /replyticket <#> <回复内容> - 回复一个工单。
• /closeticket [-r] <#> - 关闭一个帮助工单。
• /delticket (#) - 删除一个帮助工单。
• /purgetickets [-c/-a] - 清理已过期的、已关闭的或所有的工单。
权限:
• sht.ticket - 开启一个帮助工单。
• sht.admin - 管理帮助工单。
• sht.reload - 重载 SimpleHelpTickets。
待办事项:
•
•
•
•
•
Web 图形界面
应广大用户要求,现已提供 SimpleHelpTickets 的 Web 图形界面。
您可以在下方下载。 • SimpleHelpTickets Web GUI
感谢您的支持!:D
近期更新日志:
1.4
- 适配 Spigot API 1.10.2
- 已更新:适配新的 UUID 系统
(注意事项:UUID 未转换为玩家名称)
- 修复:重新打开工单时的 bug
1.3.6
- 已修复:MaxTickets 未能限制用户可开启的工单数量
- 已修复:玩家加入时关于未关闭工单的通知重复出现
- 已修复:MySQL 连接检查。(合并 PR: TheCutter)
1.3.5
- 更新了额外的格式化代码,使其不干扰颜色代码
- 重写了 ticket.class
- 修复了 MySQL 用户出现的“CONSOLE has opened a ticket”bug
- 修复了玩家加入时管理员回复的通知问题
1.3.4
- 向 output.yml 添加了粗体/斜体/下划线/删除线/重置功能
- 修复了 output.yml 中的拼写错误
- 在 mysqlconnection.java 的 getconnection 方法中添加了检查,以确保连接已建立;如果未建立,则在继续操作前重新建立连接。
1.3.3- 小修复:即使用户工单已关闭,用户仍会收到关于开放工单的通知
- 小修复:从“无显示工单”消息中移除了前缀
- 小修复:在 closeticket 和 taketicket 中将 getDisplayName 的实例更改为 getName(Fronix)
- 小修复:修复了 output.yml 中的几处拼写错误(如果你的 output.yml 未修改,请在启动服务器之前将其删除以生成新的文件)
Simple Help Tickets
Description:
Simple Help Tickets provides a simple and effective system for users to request the assistance of an admin.
Starting out as a rather lightweight plugin I threw together for personal use and decided to share, it has continued to expand due to popular demand.
By using /ticket a user can open a help ticket, which can then be reviewed and dealt with by an administrator.
Both users and admin are able to reply to tickets to further dialogue regarding a ticket. If a user logs in and an open ticket has received a reply from an admin, they will be notified of the change.
Installation:Updating to 1.0
If you are updating to 1.0 you will need to start with a fresh database.
If you're using SQLite simply delete Tickets.db in SimpleHelpTickets plugin directory
MySQL users, delete the table SHT_Tickets in your database, it will be replaced on server start.
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server
Configuration:
• MaxTickets
Maximum number of tickets per user.
• TicketExpiration
Number of days before a closed ticket expires
• NotifyAdminOnTicketClose
Users with the sht.admin permission will receive a message when a ticket is closed.
• MultiWorld
If using more than one world, take/check ticket will display the appropriate world name in ticket details
• OnJoin
Display number of personal tickets to user / total tickets to admin upon join
• USE_MYSQL
Whether to use MySQL instead of SQLite
output.yml
• Use to customize plugin output (Language / Formatting)
Commands:
• /helptickets - SimpleHelpTickets Menu.
• /ticket (description) - Open a help ticket.
• /tickets [-a/-c] - List Open/All/Closed tickets.
• /checkticket <#> - Check the details of a ticket.
• /taketicket <#> - Assign self to a ticket. (and be teleported to the location is was set)
• /replyticket <#> <reply> - Reply to a ticket
• /closeticket [-r] <#> - Close a help ticket.
• /delticket (#) - Delete a help ticket.
• /purgetickets [-c/-a] - Purge expired, Closed or All tickets
Permissions:
• sht.ticket - Open a help ticket.
• sht.admin - Administrate help tickets.
• sht.reload - Reload SimpleHelpTickets.
To Do:
•
•
•
•
•
Web GUI
By popular demand, a Web GUI is available for SimpleHelpTickets.
You can download it below. • SimpleHelpTickets Web GUI
Thankyou for your support! :D
Recent Change-Log:
1.4
- Updated for Spigot API 1.10.2
- UPDATED: Updated for new UUID system
(Caveats: UUID not translated to player name)
- Fixed: bug when reopening a ticket
1.3.6
- FIXED: MaxTickets not limiting the amount of tickets a user can open
- FIXED: User OnJoin notification of open tickets repeating itself
- FIXED: MySQL Connection Check. (Merged PR: TheCutter)
1.3.5
- Updated extra formatting to not interfere with colour codes
- Recoded ticket.class
- Fixed "CONSOLE has opened a ticket" bug for MySQL users
- Fixed notification of admin reply on user join
1.3.4
- Added bold/italic/underline/strike/reset to output.yml
- Fixed typo in output.yml
- Added check to getconnection in mysqlconnection.java to ensure connection is established, and if not re-stablish connection before continuing.
1.3.3
- minor bugfix: Users rceiving notification about open tickets even if tickt is/are closed
- minor bugfix: Prefix removed from 'No Tickets To Display' message
- minor bugfix: Instances of getDisplayName changed to getName in closeticket & taketicket (Fronix)
- minor bugfix: A few typos in output.yml have been fixed (if your output.yml is unchanged, delete it before starting your server to generate a new one)
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
下载 Simple Help Tickets
1.4.1
- 已适配 Spigot API 1.12
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧