ResourcesTracker
是否曾好奇谁在偷偷囤积钻石,或者谁在挖掘远古残骸时运气好得可疑?ResourcesTracker 是服务器管理员维持公平、透明游戏环境的终极工具。
这款轻量级、高性能的插件会静默记录玩家活动——具体包括哪些方块被破坏以及哪些物品被拾取。它能为你提供所需的详细洞察,帮助你识别潜在的作弊者(如透视挂使用者),并密切关注服务器的经济与玩家进度。
✨ 核心功能
- 全面日志记录: 追踪服务器上任何玩家破坏的每一个方块和拾取的每一件物品。
- 高性能数据库: 基于 SQLite 构建,ResourcesTracker 专为速度与可扩展性而设计。它能够处理海量数据而不影响服务器性能。
- 详细统计书: 为任意玩家生成一本包含完整、实时更新统计报告的内置书籍。
- 强大搜索: 直接从命令中即时过滤特定物品的玩家统计数据(例如,“diamond”、“netherite”)。
- 可配置的管理员警报: 当玩家获得高价值物品时,接收实时的游戏内通知(完全可配置)。
- 个性化通知: 管理员可以随时轻松启用或禁用自己的通知,以避免聊天刷屏。
- 自动更新检查器: 保持知情!该插件会自动检查 Modrinth 上的新版本,并在有可用更新时通知 OP(拥有者/管理员)。
? 使用方法
使用 ResourcesTracker 简单直观。主要命令是 /rstats。
查看玩家统计信息
要获取某位玩家的完整统计报告,请使用:
/rstats <player_name>
这将生成一本书籍并将其放入你的背包中。书中包含分页的详细列表,列出该玩家破坏的所有方块以及拾取的所有物品。
搜索特定物品
若要将结果缩小到特定物品,只需添加一个搜索词:
/rstats <player_name> <search_term>
例如,要查看某位玩家找到了多少钻石,请使用:
/rstats Steve diamond
这将生成仅显示名称中包含“diamond”的物品相关统计信息的书籍。搜索不区分大小写。
控制通知
不想暂时接收警报?你可以为自己切换通知状态,而不会影响其他管理员。
/rstats notifications <enable|disable>
⚙️ 权限
resourcestracker.notify:拥有此权限的玩家将收到关于高价值物品的实时警报。(建议仅限 Admins/Mods 使用)
注意:默认情况下,/rstats 命令仅限 OP 使用,但这可以在 config.yml 中更改。
? 配置
config.yml 文件简洁且文档齐全,允许你根据需求自定义插件。
# 将触发通知的材料列表。
notify-on:
- DIAMOND_ORE
- ANCIENT_DEBRIS
- NETHERITE_BLOCK
# 是否仅 OP 可以使用 /rstats 命令。
Only-OP: true
# 是否在启动时检查新更新。
check-for-updates: true
ResourcesTracker
Ever wondered who's secretly hoarding diamonds or who's been suspiciously lucky with ancient debris? ResourcesTracker is the ultimate tool for server admins who want to maintain a fair and transparent gameplay environment.
This lightweight, high-performance plugin silently logs player activity—specifically, which blocks are broken and which items are picked up. It provides you with the detailed insights you need to identify potential cheaters (like X-rayers) and keep a close eye on your server's economy and player progress.
✨ Core Features
- Comprehensive Logging: Tracks every block broken and every item picked up by any player on the server.
- High-Performance Database: Powered by SQLite, ResourcesTracker is designed for speed and scalability. It can handle massive amounts of data without impacting your server's performance.
- Detailed Statistics Book: Generate an in-game book with a complete, up-to-the-second statistical report for any player.
- Powerful Search: Instantly filter a player's statistics for specific items (e.g., "diamond," "netherite") directly from the command.
- Configurable Admin Alerts: Receive real-time, in-game notifications when a player obtains a high-value item (fully configurable).
- Personalized Notifications: Admins can easily enable or disable notifications for themselves at any time to avoid chat spam.
- Automatic Update Checker: Stay informed! The plugin automatically checks for new versions on Modrinth and notifies OPs when an update is available.
? How to Use
Using ResourcesTracker is simple and intuitive. The main command is /rstats.
View Player Statistics
To get a full statistical report for a player, use:
/rstats <player_name>
This will generate a book and place it in your inventory. The book contains a detailed, paginated list of all the blocks the player has broken and all the items they have picked up.
Search for Specific Items
To narrow down the results to a specific item, simply add a search term:
/rstats <player_name> <search_term>
For example, to see how many diamonds a player has found, use:
/rstats Steve diamond
This will generate a book showing only statistics related to items with "diamond" in their name. The search is case-insensitive.
Control Notifications
Don't want to receive alerts for a while? You can toggle them for yourself without affecting other admins.
/rstats notifications <enable|disable>
⚙️ Permissions
resourcestracker.notify: Players with this permission will receive the real-time alerts for high-value items. (Recommended for Admins/Mods only)
Note: By default, the /rstats command is OP-only, but this can be changed in the config.yml.
? Configuration
The config.yml file is simple and well-documented, allowing you to customize the plugin to your needs.
# A list of materials that will trigger a notification.
notify-on:
- DIAMOND_ORE
- ANCIENT_DEBRIS
- NETHERITE_BLOCK
# Whether only OPs can use the /rstats command.
Only-OP: true
# Whether to check for new updates on startup.
check-for-updates: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧