Account Manager 是专为 Minecraft 服务器设计的核心模块,旨在提供一套经济系统。它提供了一个稳定且用户友好的经济框架,允许其他功能模块(如商店、任务和领地)通过 API 接口与该经济系统进行交互,从而实现统一的货币交易和管理。
主要特性
完整经济系统:支持玩家账户、转账、存款、取款等功能。
API 接口:为其他模块的开发者提供完整的 API。
事件系统:允许监听交易和余额变动等事件。
管理员工具:提供全面的管理命令和权限控制。
数据持久化:支持以 JSON/NBT 格式存储数据。
高度可配置:货币名称、符号、初始余额等设置均可完全自定义。
账户系统
自动创建账户:玩家首次加入服务器时会自动为其创建账户。
玩家账户:每位玩家拥有独立的账户,用于存储余额和交易记录。
全局账户:一种服务器级别的银行账号,用于收取税费及其他用途。
交易历史:记录每笔交易的详细信息,以便审计。
货币操作
存款/取款:用户可以向自己的账户存入或提取资金。
转账:玩家之间可以进行资金互转。
余额查询:实时查看账户余额。
余额限制:可配置最小/最大余额,并可选择是否允许出现负数余额。
管理功能
余额管理:管理员可以设置、增加或减少玩家的余额。
财富排行榜:查看服务器上最富有的玩家。
数据备份:自动保存账户数据,防止在服务器重启期间丢失。
配置重载:支持配置文件的热重载。
Account Manager is a core module for Minecraft servers designed to provide an economic system. It offers a stable and user-friendly economic framework, allowing other functional modules (such as shops, quests, and territories) to interact with this economic system through API interfaces, thus achieving unified currency transactions and management.
Key Features
Complete Economic System: Supports player accounts, transfers, deposits, withdrawals, and more.
API Interface: Provides a full API for developers of other modules.
Event System: Allows listening to events such as transactions and balance changes.
Administrator Tools: Offers comprehensive management commands and permission controls.
Data Persistence: Supports data storage in JSON/NBT formats.
Highly Configurable: Currency name, symbol, initial balance, and other settings are fully customizable.
Account System
Automatic Account Creation: Accounts are automatically created for players when they first join the server.
Player Accounts: Each player has an individual account storing balance and transaction history.
Global Account: A server-level bank account used for taxes, fees, and other purposes.
Transaction History: Records details of every transaction for auditing purposes.
Currency Operations
Deposit/Withdrawal: Users can deposit or withdraw money from their accounts.
Transfer: Players can transfer money to one another.
Balance Inquiry: Real-time balance checks for accounts.
Balance Limits: Configurable minimum/maximum balances, with options to allow negative balances.
Management Functions
Balance Management: Administrators can set, increase, or decrease player balances.
Wealth Leaderboard: View the wealthiest players on the server.
Data Backup: Automatically saves account data to prevent loss during server restarts.
Configuration Reload: Supports hot-reloading of configuration files.
评论 0
登录后参与评分
还没有评论,来抢沙发吧