Stats - 由 Lolmewn 制作
插件描述
Stats 是一款高级统计数据收集插件,目前专注于玩家统计信息。包括 PVP 击杀数、破坏的方块数、游戏时长等大量数据。你可以将这些数据存储为简单的文件,也可以存储在 MySQL 数据库中。使用数据库的好处是,你还可以利用任何现有的 Web 端在前端网站上展示你服务器的玩家统计数据。
安装说明
要安装该插件,只需将 Stats.jar 拖放到你的 'plugins' 文件夹中即可。
启动服务器后,会创建一个包含配置文件的 "Stats" 文件夹。
有关配置文件的详细说明,请点击此处。
最重要的选项是 "storage"(存储方式),默认情况下可以设置为 "flatfile"(平面文件)或 "mysql"。
如果你选择 MySQL,则会有另一个文件 (mysql.yml)。在其中填写你的 MySQL 详细信息即可。就这么简单!
如果你也打算安装一个 Web 端,请阅读该 Web 端的安装说明。
以下是与 Stats 3 兼容的 Web 端列表:
你自己制作了其中一个吗?请告诉我!
可用统计项列表
这是所有可用统计项的列表。请注意,在你的环境中可能会有更多的统计项,因为其他插件可以向本插件添加它们自己的统计项。对于这些统计项,请参阅提供这些统计项的插件文档。
| 统计项名称 | 描述 | 可用元数据 |
| Arrows | 射出的箭矢数量(未命中不计入) | world |
| Beds entered | 顾名思义 | world |
| Blocks broken | 顾名思义 | world, name, data (更多信息见 这里) |
| Blocks placed | 顾名思义 | world, name, data (更多信息见 这里) |
| Buckets emptied | 顾名思义 | world |
| Buckets filled | 顾名思义 | world |
| Commands done | 执行命令的次数 | world |
| Damage taken | 顾名思义 | world, cause |
| Death | 死亡次数 | world, cause |
| Eggs thrown | 顾名思义 | world |
| Fish caught | 顾名思义 | world |
| Items crafted | 顾名思义 | world, name |
| Items dropped | 顾名思义 | world, name |
| Items picked up | 顾名思义 | world, name |
| Joins | 加入服务器的次数 | 无 |
| Kill | 获得的击杀数 | world, (武器名称), entityType |
| Last join | 上次加入服务器的时间(毫秒格式的 纪元时间) | world |
| Last seen | 上次离开服务器的时间(毫秒格式的 纪元时间) | world |
| Money | 尚未启用 | world |
| Move | 移动的距离(以方块为单位) | world, type (0 = 步行, 1 = 船, 2 = 矿车, 3 = 猪, 4 = 骑在猪上的矿车里, 5 = 马, 6 = 飞行) |
| Omnomnom | 吃掉的食物数量 | world |
| PVP | 获得的 PVP 击杀数 | world, victim (另一玩家的 UUID), time (毫秒格式的 纪元时间), (武器名称) |
| PVP streak | 当前的连续击杀链,被击杀时重置 | world |
| PVP top streak | 历史上最高的 PVP 连续击杀记录 - 未来可能会移至 Highscores | world |
| Playtime | 在服务器上游玩的时间(秒) | world |
| Shears | 剪羊毛的次数 | world |
| Teleports | 传送次数 | world |
| Times kicked | 顾名思义 | world |
| Tools broken | 顾名思义 | world, name |
| Trades | 与村民交易的次数 | world |
| Votes | 由于不兼容问题,自 3.1.1-RC 版本起已移除。如果找不到玩家名称,则该投票将被忽略 | 无 |
| Words said | 说出的单词数量 | world |
| Times changed world | 顾名思义 | 无 |
| Xp gained | 获得的总经验值 | world |
权限
某些命令需要特殊的权限才能执行。以下是所有权限节点列表:
| 节点 | 默认值 | 描述 |
| stats.view | true | 访问 /stats 命令 |
| stats.view.others | true | 访问 /stats <player> 命令 |
| stats.custom | op | 授予对节点 stats.add 和 stats.create 的访问权限 |
| stats.add | op | 允许使用 /stats add 命令 |
| stats.create | op | 允许使用 /stats create 命令 |
| stats.admin | op | 允许使用 /stats admin 命令 |
| stats.reset | op | 授予对节点 stats.reset.self 和 stats.reset.others 的访问权限 |
| stats.reset.all | op | 允许使用 /stats reset all 命令 |
| stats.set | op | 允许使用 /stats set 命令 |
| stats.sign.place | op | 可以放置 [Stats] 告示牌 |
更多信息即将公布
捐赠
如果您愿意回馈我,可以进行捐赠。所有捐赠收入将用于购买咖啡或类似物品。
我接受以下方式的捐赠:
- 比特币,地址:1QC19kut8nuMJNAsMZ3QneKuW2a8f5QgQG
- 狗狗币,地址:DKN8Lrm4KfC7Jh9M2KopjPkwcRfA7Ak3zj
- PayPal,可通过电子邮件 lolmewn(at)gmail.com 或通过 此链接
Stats - made by Lolmewn
Plugin description
Stats is an advanced statistics gathering plugin, currently focused on player statistics. Information such as PVP kills, blocks broken, playtime and much more. You can store this data as simple files, or store them in a MySQL database. The benefit of using the database is that you can also use any web-end out there to display your players' statistics on your website.
Installation instructions
To install the plugin, simply drag-and-drop the Stats.jar into your 'plugins' folder.
When you start the server, a "Stats" folder will be created, containing a config file.
For a detailed description on the config file, click here.
The most important option is "storage", which can be set to either "flatfile" or "mysql" by default.
If you choose MySQL, there is another file (mysql.yml). Fill in your MySQL details there. That's all!
If you're installing a web-end as well, please read the instructions for said web-end on how to install it.
A list of web-ends compatible with Stats 3:
Made one, too? Let me know!
List of available Stats
This is a list of all available stats. Please note that there might be more stats in your environment, as other plugins can add their own stats to the plugin. For those stats, please see the documentation of the plugin providing them.
| Stat name | Description | Available Metadata |
| Arrows | Amount of arrows shot (not hit!) | world |
| Beds entered | Self-explanatory | world |
| Blocks broken | Self-explanatory | world, name, data (see here for more info) |
| Blocks placed | Self-explanatory | world, name, data (see here for more info) |
| Buckets emptied | Self-explanatory | world |
| Buckets filled | Self-explanatory | world |
| Commands done | Amount of commands done | world |
| Damage taken | Self-explanatory | world, cause |
| Death | Amount of times died | world, cause |
| Eggs thrown | Self-explanatory | world |
| Fish caught | Self-explanatory | world |
| Items crafted | Self-explanatory | world, name |
| Items dropped | Self-explanatory | world, name |
| Items picked up | Self-explanatory | world, name |
| Joins | Amount of times joined the server | None |
| Kill | Amount of kills gotten | world, (name of) weapon, entityType |
| Last join | Last time (in milliseconds epoch time) joined the server | world |
| Last seen | Last time (in milliseconds epoch time) left the server | world |
| Money | Not yet functional | world |
| Move | Amount of blocks moved | world, type (0 = walking, 1 = boat, 2 = minecart, 3 = pig, 4 = on a pig in a minecart, 5 = horse, 6 = flying) |
| Omnomnom | Amount of food eaten | world |
| PVP | PVP kills gotten | world, victim (UUID of the other player), time (in milliseconds epoch time), (name of) weapon |
| PVP streak | Current kill-chain, gets reset when killed | world |
| PVP top streak | Highest PVP streak ever achieved - may be moved to Highscores in the future | world |
| Playtime | Time in seconds played on the server | world |
| Shears | Amount of sheeps sheared | world |
| Teleports | Amount of times teleported | world |
| Times kicked | Self-explanatory | world |
| Tools broken | Self-explanatory | world, name |
| Trades | Amount of times traded with a villager | world |
| Votes | Removed since 3.1.1-RC due to incompatibility. If the player name is not found, the vote is ignored | None |
| Words said | Amount of words said | world |
| Times changed world | Self-explanatory | None |
| Xp gained | Amount of XP gained in total | world |
Permissions
Some commands require special permissions to be executed. Here is a list with all permission nodes:
| Node | Default value | Description |
| stats.view | true | Access to /stats |
| stats.view.others | true | Access to /stats <player> |
| stats.custom | op | Gives access to nodes stats.add and stats.create |
| stats.add | op | Access to /stats add |
| stats.create | op | Access to /stats create |
| stats.admin | op | Access to /stats admin |
| stats.reset | op | Gives access to nodes stats.reset.self and stats.reset.others |
| stats.reset.all | op | Access to /stats reset all |
| stats.set | op | Access to /stats set |
| stats.sign.place | op | Can create [Stats] signs |
More info soon
Donations
If you feel like giving something back to me, you can donate to me. All income from donations will be spent on coffee or similar.
I'm accepting donations through:
- Bitcoins on address 1QC19kut8nuMJNAsMZ3QneKuW2a8f5QgQG
- Dogecoins on address DKN8Lrm4KfC7Jh9M2KopjPkwcRfA7Ak3zj
- Paypal, either via email lolmewn(at)gmail.com or via this link
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
下载 Stats by Lolmewn
修复一个会在第三阶段破坏升级过程的 SQL 查询。本次发布对插件无功能性更改。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧