本帖最后由 qsefthuopq 于 2020-2-15 15:15 编辑
二搬说明
已获得二搬许可
站内搬运贴介绍不全且未汉化配置 故在此详细介绍这款插件

受某人 @Pangxie_  请求汉化了这个所谓汉化量不大的巨坑


介绍
插件作者删除了网页拓展插件且可能已弃坑
故这款插件可能不再更新
过了一年插件作者终于诈尸了
这是一款可以记录其他插件数据的插件,可以记录 全服的/每日/每周/每月 的数据并汇集成排行榜.
并且你还可以给上榜的玩家配置自动奖励




新版安装教程
时隔一年插件作者终于更新了插件,旧版汉化配置已失效,以下为新WIKi的安装教程翻译
放置告示牌

1.安装一款占位符插件
在你放置牌子前,你需要选择安装一款占位符插件来显示排行榜的数据。 LeaderHeads 目前只支持PlaceholderAPIMvdWPlaceholderAPI.
使用 PlaceholderAPI 占位符
安装 PlaceholderAPI. 从这里选择一个占位符。如果你之前没有使用过某个占位符,你可能需要通过 PlaceholderAPI Cloud 安装占位符。安装后需要输入/papi reload。
你可以使用任意一个PlaceholderAPI内的自定义占位符。你可以输入 /papi parse %placeholder_name% 指令验证占位符占位符是否返回数值以代表用户的数据。
使用MvdWPlaceholderAPI 占位符
安装 MvdWPlaceholderAPI. 使用一个 MvdWPlaceholderAPI 占位符需要你安装另一款 Maximvdw 制作的付费插件.
这里选择一个占位符。
你可以输入/premiumpluginname parse %placeholder_name% 指令验证占位符占位符是否返回数值以代表用户的数据。
2.放置一个牌子
随便在一个位置上放置告示牌。你不需要在告示牌上写任何东西。
3.将占位符链接到牌子上
看着你所放置的牌子,输入指令 /leaderheads setsign <statistic> <rank> [type]
<statistic> 为你使用的占位符
<rank> 为排行榜显示的玩家数
[type]为排行榜类型。 可用类型为: alltime·所有时间、daily·每日、weekly·每周、monthly·每月、 yearly·每年。 默认为 ‘alltime’
指令示例: /leaderheads setsign %killstats_kills% 2 daily
这个指令可以让牌子显示killStats插件的每日击杀前两名的玩家.
配置数据
如果你之前没有为牌子设置数据,你会获得一条告诉你你需要编辑哪个文件的消息。
这非常重要,因为默认的牌子看起来很枯燥。 你可以之后再编辑 .yml 文件。 你可以在插件的statistics folder内找到文件。
你也可以输入/leaderheads reload 来测试新的数据.
你可以右击告示牌来打开排行榜菜单,你可以打开上述的 .yml 文件修改配置.
设置盔甲架
如果你想要用盔甲架显示排行榜,请按照以下步骤进行操作:
放置告示牌
遵循以上步骤,确认你选择的告示牌连接着方块。
生成盔甲架
看着你放置的告示牌时输入指令:/leaderheads armorstand [size]
[size] 为盔甲架的大小,可以为: smallbig。 默认参数为 ‘small’
配置排行榜
遵循以上步骤后,一个.yml的文件会在插件数据文件夹内被创建。你可以设置:
  • 多久更新数据
  • 排行榜内告示牌材质
  • 排行榜内玩家的外观,如大小、标题和指令。
  • 数据类型。选项为: default·默认, time·时间, money·金钱。
    如果你的数据数值很大,比如五千的五次幂,请选择 ‘money’这一类型。这可以显示非常大的数值;如果你的数据代表了时间,请选择 ‘time’ 。这个类型可以以正确的格式显示时间,格式可在 config.yml 内设置
指令和权限
指令
权限
信息
/leaderheads setsign <statistic> <rank> [type]leaderheads.setsign设置你看着的告示牌的数据
/leaderheads armorstand [size]leaderheads.armorstand在你看着的告示牌的位置放置盔甲架
/leaderheads help [help]leaderheads.help显示帮助指令
/leaderheads update <statistic>leaderheads.update更数据。使用‘all’ 更新所有排行榜数据
/leaderheads removesignleaderheads.removesign删除你看着的告示牌的数据
/leaderheads reloadleaderheads.reload重载插件
/leaderheads enable <statistic>leaderheads.enable启用未激活的数据
/leaderheads infoleaderheads.info显示插件数据信息
常见疑问
Q: I want to track some statistic and show it in a menu, but I don’t want a sign for it, how do I still use it?
A: Use the /leaderheads enable <statistic> command to enable the statistic. <statistic> is the placeholder you want to use. You will receive a message that a .yml file is created. You can enable force-update in this file. This will make sure the statistic updates even if no signs are active.
Q: I create a sign with a specific placeholder, but the leaderboard won’t work?
A: First of all, use the parse commands mentioned in the Choosing your placeholder part of the Setting up signs tutorial. If this does not show a numerical value, the issue doesn’t lay with LeaderHeads. You might have forgotten to download the placeholder from the PlaceholderAPI Cloud or you didn’t install a premium Maximvdw plugin in the case of a MvdwPlaceholderAPI placeholder.
If the parse command returns a numerical value, there might be an issue with LeaderHeads. It is best to enable debug in the config.yml file of the plugin. This will log additional information to console to debug the issue. If you can’t find a solution, please contact us.
Q: The previous version of LeaderHeads (< 4.0.0) had feature x that I used, will it come back in this version?
A: Yes, we are planning to bring back every feature the previous versions had, but we’re adding them based on how import and popular they were, so it might take a while for a certain feature to come back. Don’t hesitate to contact us about this.
Q: Will the plugin receive active updates?
A: Yes, we will actively update the plugin with additional features and support for later Spigot versions.
Q: My Minecraft server is physically located in timezone x but most of my players are in timezone y. How do I deal with this?
A: The config.yml has a ‘timezone’ option that let’s you choose the timezone that will be used for calculating the daily, weekly, monthly, yearly leaderboards.
Q: I can’t get PlaceholderAPI placeholder x to work.
A: First of all, make sure you have the expansion installed for the placeholder if it requires any. Sometimes an expansion will only work on a specific version of Spigot. In that case you will need to install a specific older version of the expansion. It’s best to ask information about this on this Discord or on the forum.



特点
  • 支持至少618个插件的数据.
  • 安装方便. 设置牌子和头颅方法直接明了.
  • 高效 插件被优化以同时处理大量数据,并且不会影响服务器性能.
  • 兼容主流版本 1.7-1.14
  • 不时更新插件 更新更多特性和支持更多插件的数据记录.
  • 效果极佳. Leaderheads可以让你记录minecraft的数据所以你不需要其他的插件来记录这些数据.
  • 配置高度自定义 你可以自定义每个告示牌, 消息, 更新延迟, 菜单. 你也可以修改格式和间隔时间,甚至是高位数的格式.
  • API 可以让插件开发者轻而易举地获得插件数据并创建排行榜.
  • 指令可配置 可通过配置的指令来打开指定的排行榜菜单.
  • 支持全息显示插件 支持HolographicDisplay变量
  • 盔甲架 用盔甲架来表示排行榜
  • Citizens 支持NPC


图片



指令&权限
指令 权限 作用
/leaderheads update <all>/<leaderboard> leaderheads.update 更新 所有/特定 的排行榜.
/leaderheads armorstand <small>/<big> leaderheads.armorstand 创建盔甲架.你必须看着一块牌子才能使用.
/leaderheads setserver <server> leaderheads.setserver 使目标牌子与指定的子服同步.
/leaderheads removeserver leaderheads.removeserver 移除与子服同步的牌子.
/leaderheads addexempt <name> leaderheads.addexempt 使指定的玩家不会出现在排行榜中.
/leaderheads removeexempt <name> leaderheads.removeexempt 使指定的玩家可再次出现在排行榜中.
/leaderheads resetexempts leaderheads.resetexempts 重置不会出现在排行榜中的玩家列表.
/leaderheads warnings leaderheads.warnings 显示插件可能检测到的错误.
/leaderheads reload leaderheads.reload 重载整个插件.
/leaderheads menu <command> 无需权限 手动打开特定的排行榜菜单.
/leaderheads       leaderheads.help 显示总体信息和插件状态.


使用方法
  • 首先你需要放置一块牌子.
  • 第一行写上 [LeaderHeads] .
  • 第二行写上你想要显示的数据(如boat).
  • 第三行写上一个数字. 这个数字代表排行榜的排名.
  • 如果你想要创建一个全服排行榜, 只需在最后一行留空. 如果在第四行写 daily, weekly 或 monthly 将会创建指定时间的排行榜.
  • 你可以在放置这块牌子的方块上或是直接在牌子上方放置一块头颅,这个头颅就会自动变为排行榜上玩家的皮肤头.
  • 参考配置来改变告示牌的相关配置.

详细创建排行榜方法参考插件百科



汉化配置
LeaderHeads.zip (76.1 KB, 下载次数: 614)
由于该插件支持上百个插件所以要安装了这些插件后才会有全部的配置文件 而我不可能全部汉化完
但我已经完成了原版内容和部分插件的配置汉化 如果你有想要汉化配置的插件 可以在帖下回复把文件发给我



链接
目前需12.5美元 约为86元人民币







网页数据记录
这个插件还有个可以将数据和排行榜放到网页的插件,不过目前缺一个土豪把插件发给我汉化 价格和这个本体插件一样贵
而这个插件的介绍和汉化要等我先汉化完本体



[groupid=1151]Minecraft插件百科[/groupid]