? MysticalCurrency
适用于 Paper 1.21.1 的企业级实体货币、彩票与经济系统
将你的 Minecraft 经济转化为真实且具象化的体验。
MysticalCurrency 允许玩家提取实体货币物品,在世界中进行交易,并将其重新存入 Vault 余额中。结合强大的彩票系统、异常检测、高级反复制保护以及实时 Web 仪表板——这不仅仅是一个普通的经济插件。
它是一个为严肃的生存服务器打造的完整金融生态系统。
? 功能概览
? 实体货币系统
让金钱“活”起来。
? 高级彩票系统
一个功能齐全、安全且可配置的彩票框架。
- 可配置票券成本、头奖与开奖时间表
- 累积头奖支持
- 带有倒计时和音效的悬念动画
- 次要奖项层级(基于百分比)
- 软保底与硬保底系统
- 票券过期支持
- 基于 Cron 的计划开奖
- 实体签名彩票,右键可查看书籍预览
- 管理员票券分发命令
- 彩票赛季,自动存档统计数据
- 每周赛季重置(可配置)
? 企业级安全
专为高人口生存服务器构建。
- HMAC-SHA256 签名的货币与彩票票券
- 首次运行时自动生成密钥
- 自动移除无效物品
- 全面的交互保护
- 反多账号检测(基于 IP 哈希,可选)
- 异常检测与速率限制:
- 可疑行为时的临时自动封禁
- 取款前的背包空间验证
? 统计信息与排行榜
-
每位玩家的追踪数据:
- 购买的票券数
- 中奖次数
- 赢得的金额
- 最大单次奖金
- 存款
- 取款
- 转账
-
统计信息 GUI
-
排行榜:
-
SQLite 数据库(异步查询,零主线程阻塞)
? 多语言支持
完整的 i18n 系统 —— config.yml 中无需要翻译的文本
包含的语言:
- ?? 英语
- ?? 荷兰语 (Nederlands)
- ?? 德语 (Deutsch)
- ?? 葡萄牙语 (Português)
通过放置 YAML 文件到以下目录轻松添加新语言:
plugins/MysticalCurrency/lang/
? 集成
PlaceholderAPI
实时更新占位符:
- 活跃彩票
- 头奖金额
- 最高奖金
- 最高金额
- 玩家统计
- 赛季信息
Discord Webhooks
接收结构化嵌入通知,用于:
- 开奖结果
- 获奖者
- 大额交易
- 利用漏洞尝试
- 异常事件
- 赛季重置
Web 仪表板(可选)
- REST API
- Token 认证
- 速率限制
- 可选 HTTPS/SSL
- 异步且性能安全
⚙️ 经济控制
- 通胀控制(动态税率等级)
- 配置迁移系统(安全更新)
- 自动配置备份
- Schema 版本控制
- 概率平衡系统(可选)
- 异常检测阈值完全可配置
? 依赖要求
| 依赖项 |
必需 |
版本 |
| Paper |
✅ |
1.21.1+ |
| Java |
✅ |
21+ |
| Vault |
✅ |
1.7+ |
| Economy Plugin |
✅ |
任何兼容 Vault 的经济插件(例如 EssentialsX) |
| PlaceholderAPI |
❌ |
2.11+ |
⚙️ 安装
- 下载最新的
.jar 文件
- 将其放入
plugins/ 文件夹
- 启动服务器
- 默认配置和语言文件将自动生成
- HMAC 密钥在首次运行时自动生成
- 在
config.yml → general.locale 中设置首选语言
? 命令
玩家命令
| 命令 |
描述 |
/bank |
打开银行 GUI |
/bank withdraw <amount> [tier] |
提取货币 |
| `/bank deposit [all |
tier]` |
/bank transfer <player> <amount> |
转账资金 |
/bank balance |
查看余额 |
/bank stats |
查看统计信息 |
/lottery |
查看当前活跃彩票 |
/lottery buy [amount] |
购买票券 |
/lottery claim |
领取奖金 |
/lottery stats [player] |
查看彩票统计 |
管理员命令
| 命令 |
描述 |
/mc reload |
重载配置与语言 |
| `/mc migrate <status |
run>` |
/mc backup now |
备份配置 |
/mc webhooktest |
发送测试 Discord webhook |
| `/mc dashboard <status |
start |
/lottery create <name> <minutes> |
创建彩票 |
/lottery start |
开始彩票 |
/lottery stop |
取消彩票 |
/lottery draw |
强制开奖 |
/lottery give <player> |
给予票券 |
/lottery giveall |
给所有人发放票券 |
| `/lottery season <start |
end>` |
? 权限
| 权限 |
描述 |
mysticalcurrency.bank |
访问银行 |
mysticalcurrency.lottery |
访问彩票 |
mysticalcurrency.lottery.admin |
彩票管理员 |
mysticalcurrency.admin |
完整管理员权限 |
mysticalcurrency.bypass.anomaly |
绕过异常检测 |
mysticalcurrency.antidupe.alert |
接收反复制警报 |
? 为性能而构建
- 异步 SQLite 查询
- 异步 Webhooks
- 异步仪表板
- 零主线程阻塞
- 无内存泄漏
- 针对 100+ 玩家生存服务器优化
? MysticalCurrency
Enterprise-grade Physical Currency, Lottery & Economy System for Paper 1.21.1
Turn your Minecraft economy into a real, tangible experience.
MysticalCurrency allows players to withdraw physical currency items, trade them in the world, and deposit them back into their Vault balance. Combined with a powerful lottery system, anomaly detection, advanced anti-dupe protection, and a live web dashboard — this is not just another economy plugin.
It’s a complete financial ecosystem for serious survival servers.
? Features Overview
? Physical Currency System
Bring money to life.
-
4 fully configurable currency tiers
- ? Shard (
IRON_NUGGET, $0.01)
- ? Coin (
GOLD_NUGGET, $1)
- ? Banknote (
MAP, $10)
- ? Capital (
GOLD_INGOT, $100)
-
Polished Bank GUI
- Step multipliers
- Custom withdraw amounts
- Deposit all / per-tier
- Inventory space validation (prevents failed withdrawals)
-
Player-to-player money transfers
-
Full Vault integration (EssentialsX & any Vault-compatible economy)
-
Optional inflation control system
? Advanced Lottery System
A fully featured, secure, configurable lottery framework.
- Configurable ticket costs, jackpots & schedules
- Progressive jackpot support
- Suspense animations with countdown & sounds
- Secondary prize tiers (percentage-based)
- Soft & hard pity system
- Ticket expiry support
- Cron-based scheduled draws
- Physical, signed lottery tickets with right-click book preview
- Admin ticket distribution commands
- Lottery seasons with automatic stat archiving
- Weekly seasonal resets (configurable)
? Enterprise Security
Built for high-population survival servers.
- HMAC-SHA256 signed currency & lottery tickets
- Auto-generated secret key on first run
- Automatic invalid item removal
- Full interaction protection
- Anti multi-account detection (IP-hash based, optional)
- Anomaly detection with rate limiting:
- Withdraw spikes
- Transfer spikes
- Ticket purchase spikes
- Claim spikes
- Temporary auto-blocking on suspicious behavior
- Inventory space validation before withdrawals
? Statistics & Leaderboards
? Multi-Language Support
Full i18n system — no translatable text in config.yml
Included languages:
- ?? English
- ?? Dutch (Nederlands)
- ?? German (Deutsch)
- ?? Portuguese (Português)
Add new languages easily by placing a YAML file inside:
plugins/MysticalCurrency/lang/
? Integrations
PlaceholderAPI
Live updating placeholders:
- Active lottery
- Jackpot amount
- Top wins
- Top money
- Player stats
- Season info
Discord Webhooks
Receive structured embed notifications for:
- Draw results
- Winners
- Big transactions
- Exploit attempts
- Anomalies
- Season resets
Web Dashboard (Optional)
- REST API
- Token authentication
- Rate limiting
- Optional HTTPS/SSL
- Async & performance-safe
⚙️ Economy Controls
- Inflation control (dynamic tax brackets)
- Config migration system (safe updates)
- Automatic config backups
- Schema versioning
- Probability balancing system (optional)
- Anomaly detection thresholds fully configurable
? Requirements
| Dependency |
Required |
Version |
| Paper |
✅ |
1.21.1+ |
| Java |
✅ |
21+ |
| Vault |
✅ |
1.7+ |
| Economy Plugin |
✅ |
Any Vault-compatible (e.g. EssentialsX) |
| PlaceholderAPI |
❌ |
2.11+ |
⚙️ Installation
- Download the latest
.jar
- Place it in your
plugins/ folder
- Start the server
- Default config & language files generate automatically
- HMAC secret key is auto-generated on first run
- Set preferred language in
config.yml → general.locale
? Commands
Player Commands
| Command |
Description |
/bank |
Open Bank GUI |
/bank withdraw <amount> [tier] |
Withdraw currency |
| `/bank deposit [all |
tier]` |
/bank transfer <player> <amount> |
Transfer money |
/bank balance |
Check balance |
/bank stats |
View statistics |
/lottery |
View active lottery |
/lottery buy [amount] |
Buy ticket(s) |
/lottery claim |
Claim prizes |
/lottery stats [player] |
View lottery stats |
Admin Commands
| Command |
Description |
/mc reload |
Reload config & language |
| `/mc migrate <status |
run>` |
/mc backup now |
Backup config |
/mc webhooktest |
Send test Discord webhook |
| `/mc dashboard <status |
start |
/lottery create <name> <minutes> |
Create lottery |
/lottery start |
Start lottery |
/lottery stop |
Cancel lottery |
/lottery draw |
Force draw |
/lottery give <player> |
Give ticket |
/lottery giveall |
Give tickets to all |
| `/lottery season <start |
end>` |
? Permissions
| Permission |
Description |
mysticalcurrency.bank |
Access bank |
mysticalcurrency.lottery |
Access lottery |
mysticalcurrency.lottery.admin |
Lottery admin |
mysticalcurrency.admin |
Full admin |
mysticalcurrency.bypass.anomaly |
Bypass anomaly detection |
mysticalcurrency.antidupe.alert |
Receive anti-dupe alerts |
? Built for Performance
- Async SQLite queries
- Async webhooks
- Async dashboard
- Zero main-thread blocking
- No memory leaks
- Optimized for 100+ player survival servers
评论 0
登录后参与评分
还没有评论,来抢沙发吧