简介
PlayTimeStatistics是一个可以统计玩家在线时长的数据包,并在Tab栏和玩家名称下方显示
"PlayTimeStatistics is a data pack that tracks players' online playtime and displays it in the Tab list and below the player’s name."


指令
- 玩家名称下方显示 [小时]:
- Display [hours] below the player’s name:
- /scoreboard objectives setdisplay below_name time_hours
- 玩家Tab列表显示 [小时]:
- Display [hours] in the player tab list:
- /scoreboard objectives setdisplay list time_hours
- 玩家名称下方显示 [分钟]:
- Display [minutes] below the player’s name:
- /scoreboard objectives setdisplay below_name time_minutes_persist
- 玩家Tab列表显示 [分钟]:
- Display [minutes] in the player tab list:
- /scoreboard objectives setdisplay list time_minutes_persist
- 关闭玩家名称下方显示
- Hide the display below the player’s name:
- /scoreboard objectives setdisplay below_name
- 关闭玩家Tab列表显示
- Hide the display in the player tab list:
- /scoreboard objectives setdisplay list
1.18-1.20.1
- 玩家名称下方显示 [小时]:
- Display [hours] below the player’s name:
- /scoreboard objectives setdisplay belowName time_hours
- 玩家名称下方显示 [分钟]:
- Display [minutes] below the player’s name:
- /scoreboard objectives setdisplay belowName time_minutes_persist
- 关闭玩家名称下方显示
- Hide the display below the player’s name:
- /scoreboard objectives setdisplay belowName
1.13-1.17.1
- 玩家名称下方显示 [分钟]:
- Display [minutes] below the player’s name:
- /scoreboard objectives setdisplay belowName persist
- 玩家Tab列表显示 [分钟]:
- Display [minutes] in the player tab list:
- /scoreboard objectives setdisplay list persist
- 关闭玩家名称下方显示
- Hide the display below the player’s name:
- /scoreboard objectives setdisplay belowName