EcoBankPlus 插件 — 描述
EcoBankPlus 是一款自定义 Minecraft 经济插件,旨在为你的服务器提供一个强大且灵活的游戏内银行和货币系统。它是通用或依赖 Vault 的经济框架的全面替代品,提供针对现代服务器需求量身定制的强大功能。
主要特性
玩家银行账户:
使用唯一的 Minecraft UUID 高效存储、跟踪和管理玩家余额。
持久化余额存储:
余额通过 YAML 文件等方式安全存储,确保在服务器重启时数据不会丢失。
基于 YAML 的配置:
所有主要的银行设置,包括初始余额、利率、限额和货币符号,都可以在插件的配置文件中轻松调整。
开发者 API:
公开的 Java 方法允许其他插件(如拍卖行或商店)获取、添加和扣除资金,并检查最高余额以支持排行榜等功能。
命令集成:
支持标准命令,允许玩家查看自己的余额、向他人付款、查看最高余额,以及管理员编辑账户余额。
初始余额与限额:
自动为新玩家提供可配置的初始金额,并强制执行可配置的最大余额限制,以防止通货膨胀或利用漏洞。
利息系统:
可选择性地为在线(或所有)玩家定期发放利息,并在配置文件中完全控制利率和时间间隔。
现代、轻量级且快速:
专为 1.18+ 服务器设计(并在 1.21 上经过测试),使用高性能、线程安全的数据结构。
无外部依赖:
不需要 Vault,对于定制化的专用服务器来说更简单、更安全。
典型用例
使用示例
全服货币 集中管理的自定义名称游戏内货币
插件集成 拍卖、商店、小游戏奖励发放
玩家间交易 支付、转账、奖励
管理员经济管理 编辑余额、举办赠送活动
集成
其他插件(例如商店、拍卖行)直接使用 EcoBankPlus 的 API 进行所有经济操作。
提供了命令处理程序和 GUI,或者可以根据不同的游戏玩法需求轻松构建。
其内存缓存配合禁用时的保存机制,确保了即时性能和数据安全。
典型配置选项
货币符号、颜色和格式
玩家初始余额和最大余额
利率和时间周期
用于查看、编辑和管理员操作的权限
自定义消息以及用于 GUI 和聊天的占位符
为什么选择 EcoBankPlus?
完全掌控:无需强制使用 Vault,你可以定义服务器的经济基础。
易于集成:插件通过公开的 Java 方法直接挂钩,使代码既快速又灵活。
稳定安全:数据持久化,经过良好测试,确保在断电等情况下无数据丢失。
高度可定制:通过简单的 YAML 设置、符号等适应任何服务器主题。
EcoBankPlus 非常适合希望拥有稳定、安全且灵活的内部经济管理系统的服务器,并提供对插件集成、自定义功能和未来可扩展性的广泛支持。
EcoBankPlus Plugin — Description
EcoBankPlus is a custom Minecraft economy plugin designed to provide your server with a robust and flexible in-game banking and currency system. It serves as a comprehensive replacement for generic or Vault-reliant economy frameworks, delivering powerful features tailored for modern server needs.
Key Features
Player Bank Accounts:
Stores, tracks, and manages player balances efficiently using their unique Minecraft UUIDs.
Persistent Balance Storage:
Balances are stored securely, often via YAML files, ensuring data is not lost on server restart.
YAML-Based Configuration:
All main banking settings, including start balances, interest rates, limits, and currency symbols, are easily adjustable in the plugin’s config file.
API for Developers:
Public Java methods let other plugins (like auction houses or shops) fetch, add, and subtract funds, and check top balances for features such as leaderboards.
Command Integration:
Supports standard commands allowing players to check their balance, pay others, view top balances, and for admins to edit account balances.
Start Balance and Limits:
Automatically gives new players a configurable starting sum and enforces a configurable maximum balance to prevent inflation/exploits.
Interest System:
Optionally grants online (or all) players periodic interest, with full control over rate and timing in the config.
Modern, Lightweight, and Fast:
Designed for 1.18+ servers (and tested on 1.21) using high-performance, thread-safe data structures.
No External Dependencies:
Does not require Vault, making it simpler and safer for custom, specialized servers.
Typical Use Cases
Use Example
Server-wide currency Centralized, custom-named in-game money
Plugin integration Auction, shop, minigame payouts
Player-to-player transactions Payments, transfers, rewards
Admin economy management Editing balances, running giveaways
Integration
Other plugins (e.g., shops, auctions) interact directly with EcoBankPlus using its API to perform all economy operations.
Command handlers and GUIs are provided or can be easily built on top for different gameplay needs.
Its in-memory caching with on-disable save ensures instant performance and data safety.
Typical Configuration Options
Currency symbol, color, and formatting
Player starting balance and max balance
Interest rates and periods
Permissions for checking, editing, and admin actions
Custom messages and placeholders for GUIs and chat
Why Use EcoBankPlus?
Full control: No forced Vault, so you define your server’s economic backbone.
Easy to integrate: Plugins hook directly via public Java methods, making code fast and flexible.
Stable and safe: Data persisting and well-tested for no-loss operation on outages.
Customizable: Suits any server theme via easy YAML settings, symbols, and more.
EcoBankPlus is ideal for servers wanting a stable, secure, and flexible in-house economy management system, with extensive support for plugin integration, custom features, and future scalability.
评论 0
登录后参与评分
还没有评论,来抢沙发吧