想要追踪玩家的 PVP 行为?用它就行。将 jar 文件放入你的插件文件夹,重启服务器,修改配置文件,再重启一次以确保生效——搞定!
>> 下载适用于 1.8 至 1.12 <<
API 文档: 开发者代码示例 (GitHub)
最新构建版: 邀请加入我的 Discord
此插件支持将击杀数、死亡数和击杀连击数保存到可配置的数据库中。如果你没有数据库,它将默认使用 YML 格式。我们建议使用 SQLite,因为服务器通常原生支持它。
PVP Stats 会自动为你创建数据库!如果你选择使用 MySQL,只需在配置文件中设置数据库连接/设置即可。
命令: 详细示例页面 (GitHub)
权限节点: 详细表格 (GitHub)
常见问题解答:
问:如何更改占位符的颜色?
答:你可以在 lang.yml 中更改玩家输出的格式,包括占位符,查找 "format:",默认为红色 (&c) 和灰色 (&7)。
问:如何更改带编号的输出?
答:在同一个文件 lang.yml 中,查找 "numbers:",它包含两部分:数字区域 (%0%) 和数值 (%1%),如果你不喜欢冒号或希望在此处使用不同的格式,你可以进行修改。
问:我击杀了某人,但击杀未被计入!
答:你之前是否刚杀过同一个玩家?这里有一个防滥用检查机制来防止这种情况。如果你不希望有此限制,请将 checkAbuse 设置为 false。
问:我自己死了,但我的击杀连击重置了!
答:你可以通过将 preventRegularDeaths 设置为 false 来禁用此功能。
配置说明: 带注释的配置文件 (GitHub)
数据库选项:
- MySQL 数据库
或者 - 已安装 SQLite
备用方案: - YML 文件(可能较慢)
推荐的全息排行榜设置:
我推荐使用 Holographic Displays 和 Holographic Scoreboards(我为 MC 1.13 修复了一个小的启动问题: 下载)。
通过这些插件,你可以设置全息显示,例如 /pvpstats top kills 10 ——如果你只想展示一个顶级(或垫底)排行榜,我建议采用这种设置。
前 6 名击杀记分板的示例:
<span style="color: #008000;">/hgs create YourBoardName 1m console pvpstats top kills 6</span>
使用占位符的替代设置:
你需要
然后,你可以使用 PAPI 占位符创建更详细的全息投影。
Placeholder API 玩家占位符:详细示例 (GitHub)
致谢:
- pandapipino 提供了灵感 :)
源码: GitHub
数据回传
为了确定 PVP Stats 的受欢迎程度和使用情况,服务器会联系我的私人服务器以获取相关信息。它会发送你的端口、IP 地址(用于正确的服务器计数)以及插件版本。仅此而已!如果你想禁用此功能,请在配置中将 "tracker" 设置为 false!
You want to keep track of your users' PVP actions? There you go. Drop the jar into your plugin folder, restart the server, change the config, restart for good measure - done!
API Documentation: Code examples for developers (GitHub)
Latest Builds: Invite to my Discord
This plugin features saving of kills, deaths and killstreaks to a configurable database. If you do not have a database, it will default to YML. We recommend using SQLite, as the servers support it out of the box.
PVP Stats will create the databases for you! You just need to setup the database connection/settings in the config if you want to go for MySQL.
Commands: Detailed example pages (GitHub)
Permission nodes: Detailed table (GitHub)
FAQ:
Q: How do I change the placeholder colors?
A: You can change the formatting of player outputs, including placeholders, in the lang.yml, look for "format:", by default it is red (&c) and gray (&7).
Q: How do I change the numbered output?
A: In the same file, lang.yml, look for "numbers:" it contains only two things, the number area (%0%) and the values (%1%), if you don't like the colon, or want different formatting here, you can change this.
Q: I kill someone and the kill is not counted!
A: Did you just kill the same player earlier? There is an abuse check to prevent this. Set checkAbuse to false if you do not want that.
Q: I died by myself and it reset my kill streak!
A: You can disable this by setting preventRegularDeaths to false
Configuration: Commented config (GitHub)
Database options:
- a MySQL database
OR - SQLite installed
FALLBACK: - YML Files (probably slow)
Recommended Holographic Leaderboard Setup:
I recommend using Holographic Displays and Holographic Scoreboards (I fixed a small startup issue for MC 1.13: download).
With these plugins, you can set up holographic displays for example /pvpstats top kills 10 - if you only want a representation of a top-(or flop-)leaderboard, I suggest you use this setup.
Example for top 6 kills scoreboard:
<span style="color: #008000;">/hgs create YourBoardName 1m console pvpstats top kills 6</span>
Alternative Setup with Placeholders:
You need
- PlaceholderAPI
- Holographic Displays
- Holographic Extension
- Dependencies of the plugins above
Then you can create more detailed holograms with the PAPI placeholders.
Placeholder API Player Placeholders: Detailed examples (GitHub)
Credits:
- pandapipino for the idea :)
Source: GitHub
Phoning home
To determine popularity and usage of PVP Stats, the server contacts my private server for information purposes. It sends your port, IP (for proper server counting), and the plugin version. That's it! If you want to disable that, set "tracker" to false in the config!
下载 PVP Stats
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Stats
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
下载 PVP Stats
- v1.11.38 - 尝试在占位符中支持 topplus 和 topworld,同时也支持简写形式
- v1.11.37 - 尝试在占位符中支持 topplus 和 topworld
- v1.11.36 - 新增 /pvpstats topworld [类型] [世界] [天数] {数量} - 仅适用于特定统计项 - 仅限数据库 :P
- v1.11.35 - 正确应用命令逻辑 /pvpstats topplus [类型] [天数] {数量}
- v1.11.34 - 尝试实现 "topplus" 功能,允许查看 "过去 X 天内的顶尖玩家"
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧