PlayTimeStatistics

PlayTimeStatistics

"PlayTimeStatistics is a data pack that tracks players' online playtime and displays it in the Tab list and below the player’s name."

by
12.8K Downloads
datapackfabricforgeneoforgequiltgame-mechanics
Rent Server with this Mod

Screenshots

PlayTimeStatistics Screenshot 1
PlayTimeStatistics Screenshot 2

About this Mod

简介

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

Preview
Preview

Available Versions

1.21.x-zh-CN-1.0.1release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
March 28, 2025
1.21.x-zh-CN-1.0.1release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
March 28, 2025
1.21.x-en-US-1.0.1release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, forge, neoforge, quilt
March 28, 2025
1.21.x-en-US-1.0.1release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5datapack
March 28, 2025
1.20.x-zh-CN-1.0.1release
MC 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6fabric, forge, neoforge, quilt
March 28, 2025

How to Install PlayTimeStatistics on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "PlayTimeStatistics". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgeneoforgequilt

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+37 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

PlayTimeStatistics server crashes on startup – what to do?

Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is PlayTimeStatistics compatible with datapack and fabric and forge and neoforge and quilt?

PlayTimeStatistics officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.5, 1.21.4, 1.21.3. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with PlayTimeStatistics – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PlayTimeStatistics consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install PlayTimeStatistics with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-MIT-License
Server-side
Required

Supported Versions

1.21.51.21.41.21.31.21.21.21.11.211.20.61.20.51.20.41.20.3+30 more