✉ SmartMail
适用于 Paper 和 Spigot 的简单且沉浸式的游戏内邮件系统。
什么是 SmartMail?
SmartMail 允许玩家通过一个简洁的图形界面互相发送信件和物品包裹——无需聊天指令,没有麻烦。
打开收件箱,阅读邮件,附加物品,并追踪你的信件是否已送达和已读。所有功能均在主线程之外运行,以将对服务器的影响降至最低。
功能
? 撰写界面
运行 /mail send 打开一个箱子式图形界面,你可以在其中撰写邮件并附加物品。避免误发。
? 投递追踪
每封信都会显示其状态:
已发送 → 已送达 → 已开启
当收件人登录时,状态会自动更新。
? 物品附件
直接将物品附加到邮件中。如果发送因任何原因失败,附加的物品会安全退回。
?️ 退回寄件人
只需点击一个按钮,即可将信件和未领取的附件退回给原始寄件人。
? 通知
当新邮件到达时,玩家会收到通知:
在线玩家会立即收到通知。
? 未读发光效果
未读的信件在收件箱中会发光,使其易于识别。
? 分页收件箱
支持无限数量的邮件,具备以下功能:
命令
/mail
打开你的收件箱。
/mail send
打开撰写窗口。
/mail reload
重新加载插件配置(管理员)。
权限
smartmail.use
打开收件箱并接收邮件。
smartmail.send
向其他玩家发送邮件。
smartmail.admin
重新加载配置。
存储与性能
SQLite + WAL 模式
优化的数据库存储,读写速度快。
自动数据库迁移
启动时自动处理数据库更新。
完全异步
所有数据库操作均在服务器主线程之外运行。
配置
所有内容均可通过 config.yml 进行自定义,并使用 /mail reload 重新加载。
可配置的选项包括:
- GUI 标题
- 邮件材料
- 未读发光效果
- 音效
- 通知
- 动作栏消息
- 边框材料
计划中的功能
架构设计旨在支持未来的扩展。
即将添加的功能可能包括:
- NPC 邮递员投递
- 回复按钮
- 邮件过期
- 收件箱限制
- 已读回执
- 邮件屏蔽
支持
SmartMail 完全免费并积极维护中。
如果遇到错误或有任何功能建议,请在留下负面评价前联系我。大多数问题在报告后都能迅速解决。
Discord 支持:
每一份报告都会被认真阅读并认真对待。
✉ SmartMail
A simple, immersive in-game mail system for Paper & Spigot.
What is SmartMail?
SmartMail lets players send letters and item packages to each other through a clean GUI — no chat commands, no hassle.
Open your inbox, read your mail, attach items, and track whether your letter was delivered and read. Everything runs off the main thread for minimal server impact.
Features
? Compose GUI
Run /mail send to open a chest GUI where you can write mail and attach items. No accidental sends.
? Delivery Tracking
Every letter shows its status:
SENT → DELIVERED → OPENED
Status updates automatically when the recipient logs in.
? Item Attachments
Attach items directly to mail. If sending fails for any reason, attached items are safely returned.
?️ Return to Sender
Letters and unclaimed attachments can be returned to the original sender with a single button.
? Notifications
Players receive notifications when new mail arrives:
- Chat message
- Sound effect
- Action bar reminder
Online players are notified instantly.
? Unread Glow
Unread letters glow in the inbox, making them easy to identify.
? Paginated Inbox
Supports unlimited mail with:
- Previous/Next page navigation
- Unread mail counter
- Empty mailbox placeholder
Commands
/mail
Open your inbox.
/mail send
Open the compose window.
/mail reload
Reload the plugin configuration (admin).
Permissions
smartmail.use
Open inbox and receive mail.
smartmail.send
Send mail to other players.
smartmail.admin
Reload configuration.
Storage & Performance
SQLite + WAL Mode
Optimized database storage with fast reads and writes.
Automatic Database Migration
Database updates are handled automatically on startup.
Fully Asynchronous
All database operations run off the main server thread.
Configuration
Everything can be customized through config.yml and reloaded using /mail reload.
Configurable options include:
- GUI titles
- Mail materials
- Unread glow effects
- Sounds
- Notifications
- Action bar messages
- Border materials
Planned Features
The architecture is designed for future expansion.
Upcoming additions may include:
- NPC Postman deliveries
- Reply button
- Mail expiration
- Inbox limits
- Read receipts
- Mail blocking
Support
SmartMail is completely free and actively maintained.
If you encounter a bug or have a feature suggestion, please contact me before leaving a negative review. Most issues can be fixed quickly once reported.
Discord Support:
Every report is read and taken seriously.
评论 0
登录后参与评分
还没有评论,来抢沙发吧