Помогите Как сделать топ по онлайну на сервере майнкрафт 1.16.5

Статус
Закрыто для дальнейших ответов.

DAnTI_YT

Ньюби
Пользователь
Баллы
1
Ник в Minecraft
DAnTI_YT
При вводе '&5Топ 1 - &9<played_name_1> &7| &6Играл - &2<played_score_1> ' ничего не происходит
пишу %statistic_time_played% Показывается мое время а как сделать чтоб показывался топ 10 человек по онлайну
чтоб было что то вроде этого:Скриншот 17.04.22_11.56.22.png
 
При вводе '&5Топ 1 - &9<played_name_1> &7| &6Играл - &2<played_score_1> ' ничего не происходит
пишу %statistic_time_played% Показывается мое время а как сделать чтоб показывался топ 10 человек по онлайну
чтоб было что то вроде этого:Посмотреть вложение 62391
А что за плагин на статистику?

Чтобы получить время нужно:
Код:
player.getStatistic(Statistic.RECORD_PLAYED);
 
Крч в вики такое пишет:
Q: I’m trying to use placeholder %statistic_time_played% to display the players with the most play time, but it doesn’t work.
A: LeaderHeads can only handle numerical values. The placeholder %statistic_time_played% does not return a numerical result but rather a formatted string.
Instead, you should use the placeholder %statistic_seconds_played%. This is a numerical placeholders that returns the number of seconds played. This is the format that LeaderHeads can use. After the .yml file is generated, you should set statistic-type to time-seconds to make sure LeaderHeads properly formats the value.
 
Крч в вики такое пишет:
Q: I’m trying to use placeholder %statistic_time_played% to display the players with the most play time, but it doesn’t work.
A: LeaderHeads can only handle numerical values. The placeholder %statistic_time_played% does not return a numerical result but rather a formatted string.
Instead, you should use the placeholder %statistic_seconds_played%. This is a numerical placeholders that returns the number of seconds played. This is the format that LeaderHeads can use. After the .yml file is generated, you should set statistic-type to time-seconds to make sure LeaderHeads properly formats the value.
тут написано про формат сообщения типа как будет отображатся время а мне надо чтоб отображался игрок и его время
 
Статус
Закрыто для дальнейших ответов.
Назад
Верх Низ