Sky Banker
一款为 Paper 服务器设计的银行插件,灵感源自 Hypixel SkyBlock。玩家可以通过简洁易用的 GUI 存取金币、解锁更高级别的银行账户、赚取储蓄利息,并查看完整的交易记录。该插件可通过 config.yml 和 messages.yml 进行完全自定义配置。
✨ 功能特性
- 个人银行账户:支持存款/取款及升级菜单。
- 7 种可升级账户等级:从免费的初始账户开始,逐步提升至豪华账户。每个等级都有各自的余额上限和利息上限。
- 基于交易的利息:存入银行的金币每 31 小时自动产生利息。此间隔可在配置文件中修改,利息会自动计算。玩家还可以在物品描述(lore)中查看预计利息。
- 自定义金额输入:使用“特定金额”选项直接输入任意数额,支持
1k、1.5m和2b等快捷简写格式。 - 交易历史记录:保存每位玩家最近的 20 笔存款、取款和利息发放记录,包括交易类型、金额和时间戳。
- 排行榜与排名查询:使用
/skybanker top查看最富有的前 10 个账户,或使用/skybanker user <player>查询玩家的排名。 - PlaceholderAPI 支持:提供 9 个占位符,用于显示余额、钱包、账户等级、利息计时器等数据。
? 依赖要求
- -------------------------------------------------------------
- 依赖项
- Vault — 必需,提供经济后端支持
- EssentialsX — 必需,通过 Vault 为该插件提供经济系统支持。
- PlaceholderAPI — 可选,启用下方列出的占位符列表
- --------------------------------------------------------------
? 命令
| 命令 | 描述 | 权限 |
|---|---|---|
/bank |
打开你的个人银行菜单。 | bank.use |
/skybanker 或 /sb |
显示可用命令列表。 | bank.use |
/skybanker top |
显示财富排名前 10 的银行账户。 | bank.use |
/skybanker user [player] |
显示你自己或其他玩家的排名。 | bank.use |
/skybanker placeholder |
列出所有可用的占位符。 | skybanker.admin |
/skybanker reload <config.yml|message.yml|all> |
重载单个配置文件或所有配置文件。 | skybanker.admin |
/sb 是 /skybanker 的完整别名,两个命令的功能完全相同。
? 权限
| 权限 | 默认值 | 描述 |
|---|---|---|
bank.use |
true |
允许使用 /bank、/skybanker 和 /sb。 |
skybanker.admin |
op |
允许使用重载子命令。 |
?️ 占位符
这些占位符需要 PlaceholderAPI。你可以使用以下命令进行测试:
/papi parse <player> <placeholder>
| 占位符 | 描述 |
|---|---|
%skybanker_balance% |
显示玩家当前的银行余额。 |
%skybanker_purse% |
通过 Vault 显示玩家的钱包余额。 |
%skybanker_limit% |
显示当前账户等级允许的最大余额。 |
%skybanker_level% |
显示玩家当前的账户等级,范围为 1 到 7。 |
%skybanker_account% |
显示玩家当前账户等级的名称,例如 Gold Account。 |
%skybanker_interest_timer% |
显示距离下次发放利息的剩余时间。 |
%skybanker_next_upgrade_cost% |
显示下一次账户升级的费用,如果玩家已达到最高等级则显示 MAX。 |
%skybanker_space_left% |
显示在达到银行限额之前还可以存入多少金币。 |
%skybanker_progress% |
显示当前银行余额上限的填充百分比。 |
⚙️ 配置
该插件高度可定制,你无需修改代码即可更改其外观和行为。
config.yml 文件允许你自定义以下内容:
- 菜单标题、大小和项目位置。
- 每个菜单项的材质、显示名称和描述文本(lore)。
- 占位符,如
%balance%、%limit%和%account%。 - 全部七种账户等级,包括升级费用、余额上限、利息上限和描述文本。
- 输入自定义金额时,告示牌编辑器中显示的默认文本。
- 利息间隔、交易历史记录长度以及快速取款比例。
所有展示给玩家的提示信息,包括成功消息、错误消息和升级通知,均存储在 messages.yml 中。
消息文件支持 & 颜色代码和 \n 用于多行消息。
? 开发依赖
本插件使用以下 API 和库构建:
- Vault — 将插件连接到服务器的经济系统。
- PlaceholderAPI — 添加对其他插件占位符的可选支持。
Sky Banker
A bank plugin for Paper servers inspired by Hypixel SkyBlock. Players can deposit and withdraw coins through a clean and easy to use GUI, unlock higher-tier bank accounts, earn interest on their savings, and view their complete transaction history. The plugin is fully customizable using config.yml and messages.yml.
✨ Features
- Personal bank account : Deposit/withdrawal and upgrade-menu.
- 7 Upgradaable account tiers : Start with a free starter account and work your way up to the palatial account, Each tier has its own balance limit and interest cap.
- Transactions based interest : Coins stored in the bank automatically earn interest every 31 hours. This interval can be changed in the configuration, and the interest is calculated automatically. Players can also view their projected interest in the information lore.
- Custom amount input : Use the “ Specific Amount ” option to enter any amount directly, with support for shortcuts such as
1k,1.5m, and2b. - Transaction history : The last 20 deposits, withdrawals, and interest payouts are saved for each player, including the transaction type, amount, and timestamp.
- Leaderboard and rank lookup : Use
/skybanker topto view the top 10 richest accounts, or use/skybanker user <player>to check player’s rank. - PlaceholderAPI Support : Includes 9 placeholders for balance, purse, account tier, interest timer, and more.
? Requirements
- -------------------------------------------------------------
- Dependency
- Vault — Required provides the economy backend
- EssentialsX — Required Provides the economy used by the plugin through Vault.
- PlaceholderAPI — Optional enables the placeholder list below
- --------------------------------------------------------------
? Commands
| Command | Description | Permission |
|---|---|---|
/bank |
Opens your personal bank menu. | bank.use |
/skybanker or /sb |
Displays the available commands. | bank.use |
/skybanker top |
Shows the 10 richest bank accounts. | bank.use |
/skybanker user [player] |
Shows your rank or another player’s rank. | bank.use |
/skybanker placeholder |
Lists all available placeholders. | skybanker.admin |
/skybanker reload <config.yml|message.yml|all> |
Reloads one configuration file or all configuration files. | skybanker.admin |
/sb is a full alias for /skybanker, and both commands work the same way.
? Permissions
| Permission | Default | Description |
|---|---|---|
bank.use |
true |
Allows access to /bank, /skybanker, and /sb. |
skybanker.admin |
op |
Allows access to the reload subcommand. |
?️ Placeholders
These placeholders require PlaceholderAPI. You can test them using:
/papi parse <player> <placeholder>
| Placeholder | Description |
|---|---|
%skybanker_balance% |
Displays the player’s current bank balance. |
%skybanker_purse% |
Displays the player’s purse or wallet balance through Vault. |
%skybanker_limit% |
Displays the maximum balance allowed by the player’s current account tier. |
%skybanker_level% |
Displays the player’s current account tier, from 1 to 7. |
%skybanker_account% |
Displays the name of the player’s current account tier, such as Gold Account. |
%skybanker_interest_timer% |
Displays the time remaining until the next interest payout. |
%skybanker_next_upgrade_cost% |
Displays the cost of the next account upgrade, or MAX if the player has reached the highest tier. |
%skybanker_space_left% |
Displays how many coins can still be deposited before reaching the bank limit. |
%skybanker_progress% |
Displays the percentage of the bank balance limit currently filled. |
⚙️ Configuration
The plugin is highly customizable, and you can change its appearance and behavior without modifying the code.
The config.yml file allows you to customize:
- Menu titles, sizes, and item positions.
- The material, display name, and lore of every menu item.
- Placeholders such as
%balance%,%limit%, and%account%. - All seven account tiers, including their upgrade cost, balance limit, interest limit, and lore.
- The default text shown in the sign editor when entering a custom amount.
- The interest interval, transaction history length, and quick-withdraw percentages.
All messages shown to players, including success messages, error messages, and upgrade notifications, are stored in messages.yml.
The message file supports & color codes and \n for multi-line messages.
? Built With
This plugin was built using the following APIs and libraries:
- Vault — Connects the plugin to the server’s economy system.
- PlaceholderAPI — Adds optional support for placeholders in other plugins.
下载 Sky Banker
下载 Sky Banker
下载 Sky Banker
下载 Sky Banker
下载 Sky Banker
下载 Sky Banker
下载 Sky Banker
SkyBanker 1.3
本次更新添加了一些我一直想要加入的功能:声音控制、私人保险箱以及面向管理员的更新通知。
“有什么新内容”
声音设置
- 设置菜单中新增了一个“声音”按钮,位于你的玩家头像左侧。
- 点击它即可打开声音菜单,你可以单独开启或关闭每种音效:利息、存入、取出、升级、错误提示以及菜单点击声。
- 顶部还有一个“全部声音”开关,如果你希望静音所有内容,可以使用它。
- 右键点击任意音效可在决定之前试听。
- 利息音效现已独立,这样你可以在保留其他音效的同时将其静音。
- 每位玩家的偏好设置都会被保存,下次加入服务器时依然有效。
个人保险箱
- 为每位玩家提供的私有储物箱,可在设置菜单中找到,位于你的头像右侧。
- 玩家使用钱包中的金币购买一次,并在确认界面防止误购。
- 之后它会像普通箱子一样打开,默认有 3 行,关闭时会保存物品。
- 所有者可以在
config.yml中修改价格和行数。 - 可选地增加一行“关闭”按钮,默认处于关闭状态。
更新通知
- SkyBanker 现在会在每次服务器启动时检查是否有新版本,之后每天检查一次。
- 如果存在新版本,管理员会收到一条包含可点击下载链接的简短聊天消息。
- 该功能在后台运行,仅联系 Modrinth。不会发送任何玩家或服务器数据。
- 你可以通过将
update-checker.enabled: false来关闭此功能。
更改项
- 主菜单中的设置菜单描述已重新措辞。“Settings will be added soon”(设置即将推出)已被移除,因为设置现已存在。
- 移除了两个不再起作用的旧配置选项:
base-interest-rate和base-interest-cap-coins。 - 在
messages.yml中为保险箱和更新通知添加了新消息。
从 1.2 版本升级
- 你的余额、等级和交易记录保持不变。新的数据库表会自动创建。
- 旧的
config.yml和messages.yml不会自动更新。你可以用新的文件替换它们,或者手动复制新的 vault:(保险箱)部分、vault(保险箱)和声音菜单部分,以及新消息。 - 若要更改保险箱价格,请编辑
config.yml中的vault.price并运行/sb reload config.yml。
如果你发现错误或有任何想法,请告诉我。
SkyBanker 1.2
- 本次为小幅更新。SkyBanker 现已支持更多 Minecraft 版本,并新增了一个设置菜单。
新增内容
- 设置菜单。银行界面左下角新增了一个设置按钮(比较器)。点击后会打开一个包含玩家头像的菜单,显示你的用户名、账户状态、等级、余额、上限、利息计时器、上次及预计利息金额,以及你首次使用银行的日期。
- 不想用可以关闭它。服务器管理员可在
config.yml中将gui.settings-menu.enabled:设为 false,该按钮将完全消失。 易于编辑。标题、物品、描述、槽位和日期格式均位于config.yml中。“功能已禁用”提示信息则位于messages.yml中。
底层改进
- 一个 JAR 包适配多个版本。适用于 Paper 1.21.11、26.1、26.2 和 26.3。
- 移除了 SignGUI。自定义存款和取款金额的标牌输入现在使用 Paper 自带的标牌功能,因此不会再频繁出错。
- 支持 Java 21 和 25。JAR 包在这两个版本上均可运行。
修复
- 如果因某些原因标牌无法打开,现在会显示清晰的提示消息,并返回银行界面,而非报错。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧