Ledgerune 不仅仅是一个简单的经济插件。它不把金钱视为可随意修改的数字,而是将每一笔金融操作记录为不可变的交易,并生成对应的账目条目。
支付、手续费、税收、市场购买、贷款、工资发放、拍卖、投资和行政操作均以原子方式提交,为小型服务器和大型多服务器网络提供可靠的金融基础。
为什么选择 Ledgerune?
大多数经济插件将玩家的余额存储为可变值。Ledgerune 使用规范的财务账本,其中每笔余额变动都有迹可循。
这种架构提供了:
- 不可变的交易历史
- 原子化的借记、贷记、费用和税收操作
- 防双花保护
- 幂等的交易处理
- 仅追加、哈希链式审计日志
- 复杂操作的持久化恢复状态
- 安全的异步数据库访问
- 通过共享 SQL 数据库实现的多服务器协调
如果某项操作失败,其相关变更将一起回滚。
功能
基于账本的经济系统
- 个人钱包、银行账户、企业账户、政府账户、联合账户、托管账户、国库账户、行政账户和系统账户
- 可用余额、锁定余额和待处理余额
- 不可变的交易和账目条目
- 对账单和交易历史
- 退款与冲正
- 关联键与幂等键
- 确定性的账户锁定机制
- 受控的货币发行与回收
- 独立的账本完整性验证
多货币支持
创建和管理货币,具备以下特性:
- 可配置的十进制精度
- 明确的舍入规则
- 转账与兑换权限控制
- 汇率设定
- 兑换点差
- 交易手续费
- 管理员启用/禁用控制
货币兑换通过账本以原子方式执行。
银行系统
Ledgerune 包含一个可配置的银行系统,具备:
- 银行与国库账户
- 客户银行账户
- 账户对账单
- 利息支付
- 维护费用
- 基于库存的界面
- 安全的 PIN 码认证
- PIN 码尝试次数锁定
PIN 码采用 PBKDF2 加随机盐进行哈希处理,绝不以明文形式存储或记录。
贷款与信用
- 玩家贷款申请
- 债权人审批流程
- 贷款发放
- 单利或复利计算
- 分期还款计划
- 提前还款
- 还款历史记录
- 信用评级
- 持久化恢复状态
企业与工资发放
- 企业账户
- 公司合伙人及股权份额
- 邀请与员工管理
- 角色与权限分配
- 薪资配置
- 原子化工资发放处理
- 股权转让历史
- 破产工作流程
玩家市场
- 商品上架
- 商品托管
- 数量预留
- 原子化购买
- 上架过期
- 取消订单
- 持久化交付声明
- 防重复的商品交付
市场交付使用耐用的状态机设计,以防止重复领取物品。
拍卖
- 专用托管账户
- 原子化出价
- 自动替换前次出价并退款
- 保留价(底价)
- 一口价购买
- 拍卖结算
- 重启安全操作
- 持久化物品交付
投资
- 金融工具
- 持仓与头寸
- 市价单与限价单
- 价格优先、时间优先的订单匹配
- 资金与证券预留
- 交易历史
- 订单取消
- 基于账本的资金分红
合同与定期付款
创建持久的金融协议,适用于:
- 订阅服务
- 租金
- 雇佣关系
- 贷款还款
- 自定义定期付款
合同支持多重签名、暂停、恢复、取消、恢复以及可配置的违约策略。
税收与分析
- 基于规则的转移税
- 货币发行与回收追踪
- 货币供应量快照
- 货币流通速度指标
- 通货膨胀快照
- 账本与余额一致性校验
本地化
内置语言:
- 英语 — en_US
- 巴西葡萄牙语 — pt_BR
Ledgerune 支持:
- 每位玩家的语言设置
- Minecraft 客户端区域检测
- 安全的语言重载
- 回退验证
- 区域感知的数字、货币、日期和时间格式
- MiniMessage 格式化
- 标题栏、动作条和 Boss 栏
Ledgerune is more than a simple balance plugin. Instead of treating money as a number that can be freely modified, every financial operation is recorded as an immutable transaction with corresponding ledger entries.
Payments, fees, taxes, marketplace purchases, loans, payrolls, auctions, investments, and administrative operations are committed atomically, providing a reliable financial foundation for small servers and large multi-server networks.
Why Ledgerune?
Most economy plugins store a player's balance as a mutable value. Ledgerune uses a proper financial ledger where every balance change has a traceable origin.
This architecture provides:
- Immutable transaction history
- Atomic debit, credit, fee, and tax operations
- Double-spend protection
- Idempotent transaction processing
- Append-only, hash-chained audit logs
- Persistent recovery state for complex operations
- Safe asynchronous database access
- Multi-server coordination through shared SQL databases
If an operation fails, its related changes are rolled back together.
Features
Ledger-Based Economy
- Personal, wallet, bank, business, government, joint, escrow, treasury, administrative, and system accounts
- Available, locked, and pending balances
- Immutable transactions and ledger entries
- Statements and transaction history
- Refunds and reversals
- Correlation and idempotency keys
- Deterministic account locking
- Controlled currency issuance and removal
- Independent ledger integrity verification
Multiple Currencies
Create and manage currencies with:
- Configurable decimal precision
- Explicit rounding rules
- Transfer and conversion permissions
- Exchange rates
- Conversion spreads
- Transaction fees
- Administrative enable and disable controls
Currency conversions are executed atomically through the ledger.
Banking
Ledgerune includes a configurable banking system with:
- Banks and treasury accounts
- Customer bank accounts
- Account statements
- Interest payments
- Maintenance charges
- Inventory-based interfaces
- Secure PIN authentication
- PIN attempt lockouts
PINs are PBKDF2-hashed with random salts and are never stored or logged as plain text.
Loans and Credit
- Player loan requests
- Creditor approval workflows
- Loan disbursement
- Simple or compound interest
- Installment schedules
- Early repayment
- Payment history
- Credit scores
- Persistent recovery state
Companies and Payroll
- Business accounts
- Company partners and ownership shares
- Invitations and employees
- Roles and permissions
- Salary configuration
- Atomic payroll processing
- Share transfer history
- Bankruptcy workflows
Player Marketplace
- Item listings
- Item escrow
- Quantity reservations
- Atomic purchases
- Listing expiration
- Cancellation
- Persistent delivery claims
- Duplication-resistant item delivery
Marketplace deliveries use a durable state machine designed to prevent duplicate item claims.
Auctions
- Dedicated escrow accounts
- Atomic bid placement
- Automatic replacement and refund of previous bids
- Reserve prices
- Buyouts
- Auction settlement
- Restart-safe operations
- Persistent item delivery
Investments
- Financial instruments
- Holdings and positions
- Market and limit orders
- Price-time order matching
- Cash and security reservations
- Trade history
- Order cancellation
- Ledger-funded dividends
Contracts and Recurring Payments
Create persistent financial agreements for:
- Subscriptions
- Rent
- Employment
- Loan payments
- Custom recurring payments
Contracts support multiple signatures, pausing, resuming, cancellation, recovery, and configurable breach policies.
Taxes and Analytics
- Rule-based transfer taxes
- Monetary issuance and removal tracking
- Money supply snapshots
- Currency velocity metrics
- Inflation snapshots
- Ledger-to-balance integrity checks
Localization
Included languages:
- English — en_US
- Brazilian Portuguese — pt_BR
Ledgerune supports:
- Per-player language settings
- Minecraft client locale detection
- Safe language reloading
- Fallback validation
- Locale-aware numbers, currencies, dates, and times
- MiniMessage formatting
- Titles, action bars, and boss bars
评论 0
登录后参与评分
还没有评论,来抢沙发吧