DonutBalTop - 轻量级余额排行榜
一款专为 Minecraft 服务器设计的轻量且高效的余额排名插件,注重性能表现。拥有简洁的 GUI、VAULT 集成、玩家搜索功能,并对服务器 TPS 零影响。
特性
现代 GUI
采用干净直观的箱式界面,支持 Small Caps 字体,呈现高端视觉效果。
VAULT 集成
完全兼容所有支持 VAULT 的经济插件,包括 EssentialsX、CMI 以及自定义经济解决方案。
玩家搜索
使用内置搜索功能快速定位任意玩家的余额和排名位置,无需翻页滚动。
智能缓存
实现智能缓存系统,每 30 秒刷新一次。这种方式确保插件在每次点击时都不会查询经济数据库,即使是在拥有数百名玩家的服务器上也能实现零 TPS 影响。
分页系统
玩家列表分布在多个页面上,并提供直观导航。得益于优化的缓存层,每页加载瞬间完成。
低内存占用
插件仅在约 10MB 的最小内存分配下运行。它不会创建不必要的对象、计时器或后台任务,从而避免影响服务器性能。
命令
/baltop - 打开余额排名 GUI。
/baltop page - 直接打开特定页面。
/baltop search player - 查找并显示特定玩家的排名和余额。
/baltop reload - 重新加载配置文件,无需重启服务器。
配置
通过 config.yml 文件可完全自定义所有插件消息、GUI 标题和缓存间隔。服务器管理员可以根据服务器的品牌风格和语言需求定制插件。
兼容性
Minecraft 版本:1.16.5 及以上(Paper、Purpur 及其分支)
Java 版本:Java 8 或更高版本
依赖项:VAULT、任何与 Vault 兼容的经济插件
性能说明
本插件专为对性能要求严格的服务器而设计。它不运行任何重复性的后台任务,不挂钩玩家移动或战斗事件,仅在玩家显式打开 GUI 或执行命令时才执行逻辑。缓存机制确保经济数据以受控的间隔频率获取,而非按需即时获取。
支持
如有问题、建议或咨询,请在 Discord 上联系 voidwalkerm。
由 DonutSMPTR 倾力打造。
MIT 许可证
版权所有 (c) [2026] [donutsmptr-baltop]
特此免费授予任何获得本软件副本及相关文档文件(以下简称“软件”)的人不受限制地处理本软件的许可,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或出售该软件副本的权利,并允许向其提供软件的人员这样做,但须满足以下条件:
上述版权声明和本许可声明应包含在所有软件副本或重要部分中。
本软件按“原样”提供,不提供任何形式的明示或暗示担保,包括但不限于适销性、特定用途适用性和非侵权性的担保。在任何情况下,作者或版权持有人均不对因软件或使用软件相关交易引起的任何索赔、损害或其他责任负责,无论是基于合同、侵权行为还是其他原因。
DonutBalTop - Lightweight Balance Leaderboard
A lightweight and efficient balance ranking plugin for Minecraft servers, designed with performance in mind. Features a clean GUI, VAULT integration, player search, and zero impact on server TPS.
Features
Modern GUI
Clean and intuitive chest-style interface with Small Caps font support for a premium look.
VAULT Integration
Fully compatible with all economy plugins that support VAULT, including EssentialsX, CMI, and custom economy solutions.
Player Search
Quickly locate any player's balance and ranking position using the built-in search function without scrolling through pages.
Smart Caching
Implements an intelligent caching system that refreshes every 30 seconds. This approach ensures that the plugin never queries the economy database on every click, resulting in zero TPS impact even on servers with hundreds of players.
Pagination System
Players are listed across multiple pages with intuitive navigation. Each page loads instantly thanks to the optimized cache layer.
Low Memory Footprint
The plugin operates entirely within a minimal memory allocation of approximately 10MB. It does not create unnecessary objects, timers, or background tasks that could affect server performance.
Commands
/baltop - Opens the balance ranking GUI.
/baltop page - Opens a specific page directly.
/baltop search player - Finds and displays a specific player's ranking and balance.
/baltop reload - Reloads the configuration file without restarting the server.
Configuration
All plugin messages, GUI titles, and cache intervals are fully configurable through the config.yml file. Server administrators can customize the plugin to match their server's branding and language requirements.
Compatibility
Minecraft Versions: 1.16.5 and above (Paper, Purpur, and forks)
Java Version: Java 8 or higher
Dependencies: VAULT, any Vault-compatible economy plugin
Performance Notes
This plugin was specifically designed for servers where performance is critical. It does not run any repeating background tasks, does not hook into player movement or combat events, and only executes logic when a player explicitly opens the GUI or runs a command. The cache mechanism ensures that economy data is fetched at controlled intervals rather than on demand.
Support
For issues, suggestions, or inquiries, contact voidwalkerm on Discord.
Created with dedication by DonutSMPTR.
MIT License
Copyright (c) [2026] [donutsmptr-baltop]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY. LIABILITY ARISING FROM CONTRACT, TORT, OR ANY OTHER CAUSE, RESULTING FROM:
SITUATIONS ARISING IN CONNECTION WITH THE SOFTWARE OR OTHER TRANSACTIONS RELATED TO THE USE OF THE SOFTWARE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧