你也可以输入/leaderheads reload 来测试新的数据.
你可以右击告示牌来打开排行榜菜单,你可以打开上述的 .yml 文件修改配置.
设置盔甲架如果你想要用盔甲架显示排行榜,请按照以下步骤进行操作:
放置告示牌看着你放置的告示牌时输入指令:/leaderheads armorstand [size]
[size] 为盔甲架的大小,可以为:
small或
big。 默认参数为 ‘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 removesign | leaderheads.removesign | 删除你看着的告示牌的数据 |
| /leaderheads reload | leaderheads.reload | 重载插件 |
| /leaderheads enable <statistic> | leaderheads.enable | 启用未激活的数据 |
| /leaderheads info | leaderheads.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.