OrjusBlockStats ⛏️
OrjusBlockStats 是一款功能强大且轻量级的灵活方块追踪插件,专为生存和竞技类 Minecraft 服务器设计。与简单的统计追踪器不同,OrjusBlockStats 能够智能区分自然生成的方块和玩家放置的方块,确保服务器的挖掘统计数据反映的是 真正的努力,而不仅仅是反复放置和破坏同一个方块。
特性
- 反作弊系统:
- 已放置方块追踪:玩家放置的方块会被记录在数据库中,当这些方块被破坏时,不计入挖掘统计。
- 生成器支持:由圆石、石头或黑曜石生成器形成的方块被视为“已放置”,同样会被忽略,从而防止挂机刷取滥用。
- 智能机制:
- 活塞:如果玩家放置的方块被活塞推动,插件会追踪其新位置。
- 爆炸:如果被追踪的方块被炸毁,它会自动从数据库中移除,以保持数据整洁。
- 数据库支持:
- H2(默认):零配置、高性能的本地文件数据库。
- MySQL / PostgreSQL:完全支持用于大型服务器或服务器网络。
- 多服务器同步:
- 运行 BungeeCord 网络?将多个服务器连接到同一个 MySQL 数据库!
server-name 设置允许服务器共享玩家统计(总破坏方块数),同时为每个世界单独保留“已放置方块”数据。
- 排行榜:
- 内置
/blockstats top 命令以显示排名最高的矿工。
- 完全可自定义的消息和格式。
- PlaceholderAPI 支持:
- 使用
%orjusblockstats_total% 在计分板、标签页列表或聊天中显示玩家的原始破坏方块计数。
安装
- 下载插件
.jar 文件并将其放入服务器的 plugins 文件夹中。
- 启动服务器。
- (可选)配置:
- 打开
plugins/OrjusBlockStats/config.yml。
- 如果使用 MySQL/PostgreSQL,请输入您的凭据。
- 自定义消息和颜色以匹配您的服务器主题。
- 运行
/blockstats reload 或重启服务器。
命令
| 命令 |
描述 |
权限 |
/blockstats top |
显示排名最高的矿工排行榜。 |
无(默认) |
/blockstats reload |
重新加载配置文件。 |
orjusblockstats.admin |
配置
配置文件是完全可定制的。您可以更改:
- 数据库类型:H2、MySQL 或 PostgreSQL。
- 连接池:微调 HikariCP 设置以获得最佳性能。
- 排行榜数量:更改显示的球员人数。
- 消息:使用标准的
& 颜色代码翻译/编辑标题、格式和错误消息。
# 示例设置
top-limit: 10
messages:
top-header: "&6--- Top &c%limit% &6Miners ---"
top-format: "&e%rank%. &f%player%: &a%value%"
占位符
需要 PlaceholderAPI。
%orjusblockstats_total% — 返回玩家破坏的方块总数(不包括玩家放置的方块)。
为可靠性和性能而建。
OrjusBlockStats ⛏️
OrjusBlockStats is a powerful and lightweight flexible block tracking plugin designed for survival and competitive Minecraft servers. Unlike simple stat trackers, OrjusBlockStats intelligently distinguishes between naturally generated blocks and player-placed blocks, ensuring that your server's mining statistics represent true effort, not just placing and breaking the same block repeatedly.
Features
- Anti-Exploit System:
- Placed Block Tracking: Blocks placed by players are recorded in the database and do not count towards mining statistics when broken.
- Generator Support: Blocks formed by Cobblestone, Stone, or Obsidian generators are treated as "placed" and also ignored, preventing AFK farming abuse.
- Smart Mechanics:
- Pistons: If a player-placed block is pushed by a piston, the plugin tracks its new location.
- Explosions: If a tracked block is blown up, it is automatically removed from the database to keep it clean.
- Database Support:
- H2 (Default): Zero-configuration, high-performance local file database.
- MySQL / PostgreSQL: Fully supported for larger servers or networks.
- Multi-Server Sync:
- Running a BungeeCord network? Connect multiple servers to the same MySQL database!
- The
server-name setting allows servers to share player stats (total blocks broken) while keeping "placed block" data separate for each world.
- Leaderboards:
- Built-in
/blockstats top command to display the top miners.
- Fully customizable messages and formats.
- PlaceholderAPI Support:
- Use
%orjusblockstats_total% to display a player's raw broken block count in scoreboards, tab lists, or chat.
Installation
- Download the plugin
.jar and place it in your server's plugins folder.
- Start the server.
- (Optional) Configuration:
- Open
plugins/OrjusBlockStats/config.yml.
- If using MySQL/PostgreSQL, enter your credentials.
- Customize messages and colors to match your server's theme.
- Run
/blockstats reload or restart the server.
Commands
| Command |
Description |
Permission |
/blockstats top |
Displays the top miners leaderboard. |
None (Default) |
/blockstats reload |
Reloads the configuration file. |
orjusblockstats.admin |
Configuration
The configuration file is fully customizable. You can change:
- Database Type: H2, MySQL, or PostgreSQL.
- Connection Pool: Fine-tune HikariCP settings for performance.
- Top List: Change the number of players shown.
- Messages: Translate/Edit the header, format, and error messages using standard
& color codes.
# Example settings
top-limit: 10
messages:
top-header: "&6--- Top &c%limit% &6Miners ---"
top-format: "&e%rank%. &f%player%: &a%value%"
Placeholders
Requires PlaceholderAPI.
%orjusblockstats_total% — Returns the total number of blocks broken by the player (excluding player-placed ones).
Built for reliability and performance.
评论 0
登录后参与评分
还没有评论,来抢沙发吧