Played
Played 会记录你在每个单人世界和每个多人服务器中花费的时间,提供会话统计信息和累计总时长。你可以在 Minecraft 的菜单中查看游戏时间,探索你的活动数据,或者启用可选的游戏内显示功能。
所有数据均本地存储。使用该模组无需注册账号、联网或安装服务端组件。
一目了然的游戏时长
- 每个单人世界和多人服务器地址单独计算游戏时长。
- 提供当前会话、当前世界/服务器以及累计总时长的计数器。
- 在游戏列表、服务器列表和主菜单中直接显示游戏时长,并支持在暂停菜单中显示可选的计时器。
- 世界列表和服务器列表支持按游戏时长升序或降序排列(可选)。
点击主菜单中的游戏时长文本即可打开统计界面。 你也可以使用暂停菜单中的时钟按钮或执行 /played stats 命令。
探索你的活动
统计界面将你的游戏时长汇总在一处:
- 今日、本日历周以及上周的游戏时长。
- 七日活动图表,鼠标悬停可查看每日数值。
- 可按游戏时长排序的世界和服务器排行榜,支持搜索。
- 最近 500 个会话,包括日期和活跃持续时间。
- 你记录到的最长单次会话。
日历统计遵循计算机的本地时区,每周从周一开始。暂停时间和排除的挂机(AFK)时间不计入活跃会话时长。
自定义显示样式
你可以独立启用角落 HUD、动作栏显示、玩家列表页脚或记分板样式的侧边栏。游戏内覆盖层默认处于禁用状态。
HUD 编辑器允许你将角落覆盖层拖动到指定位置、预览效果、调整大小,并决定是否启用它。你可以保存放置位置,也可以在不应用更改的情况下取消。角落锚定功能有助于在调整窗口大小时保持覆盖层的位置固定。
其他选项包括:
- 四个角锚点、大小、边距以及可选的 HUD 背景。
- 在世界和服务器列表中,游戏时长后方显示的可选背景。
- 详细、紧凑和时钟样式的时长格式。
- 分别针对列表、主菜单、暂停菜单和 HUD 的 MiniMessage 模板。
- 渐变效果以及
{time}、{session}、{current} 和 {total} 占位符。
- 可分配的键盘快捷键,用于打开统计界面、切换角落 HUD 和打开 HUD 编辑器。默认情况下这些快捷键未绑定。
玩家列表、动作栏和侧边栏选项显示的是你本地追踪的游戏时长,而非其他玩家的统计数据。
追踪活跃游玩
可选的 AFK 检测功能会在一段可配置的无输入时间段后暂停追踪。它能识别键盘和鼠标活动,包括物品栏操作以及手持移动、攻击或使用控制键。来自水流、载具或服务端校正的被动移动不会重置 AFK 计时器。
当 Minecraft 本身被暂停时,追踪也会暂停。
可选的里程碑通知会在单个世界或服务器中庆祝达到 10、100、500 和 1,000 小时,随后每增加 1,000 小时也会通知一次。里程碑通知默认禁用。
备份与导出
从统计界面导出你的统计数据:
- JSON 备份,用于恢复或转移已追踪的统计数据。
- CSV 文件,包含世界/服务器总计、每日活动和会话数据,可用于电子表格工具。
导出文件保存在 Played/exports 目录下,JSON 备份路径会自动复制到剪贴板。要导入数据,请将 Played JSON 备份文件拖入导入界面或输入其完整路径,查看摘要后确认即可。
导入时会保留每个计数器和日历日中较高的现有值或导入值,并按 ID 合并会话。重复导入不会重复计算相同的数据。此功能用于恢复和合并备份;它不会将不同安装的游玩时长简单相加。
世界数据通过现有的存档文件夹名称进行匹配。请先单独转移实际的世界存档;统计备份不包含你的世界文件。
设置与命令
设置项使用 YACL,可以从统计界面或通过 /played config 命令打开。Mod Menu 为可选依赖,也可作为打开设置的另一种方式。
| 命令 |
功能 |
/played |
显示当前会话、当前世界/服务器及累计总游戏时长 |
/played session |
显示当前会话的活跃游戏时长 |
/played current |
显示当前世界或服务器的游戏时长 |
/played total |
显示累计总游戏时长 |
/played today |
显示今日游戏时长 |
/played week |
显示本周游戏时长 |
/played stats |
打开统计界面 |
/played config |
打开设置 |
/played hud |
打开 HUD 编辑器 |
编辑世界和编辑服务器屏幕中的可选重置按钮允许你在确认后重置单独的计数器。重置计数器不会删除记录的每日活动或会话历史。
必需依赖: Fabric Loader、Fabric API 和 YetAnotherConfigLib (YACL),版本需与你使用的 Minecraft 发布版本兼容。仅在客户端安装 Played。
本地数据与更新
Played 会定期保存数据,或在追踪暂停/停止、切换世界或服务器时保存。文件采用临时替换写入方式和 .bak 备份机制。现有的存储布局会自动迁移。
| 数据 |
相对于你的 Minecraft 目录的位置 |
| 世界游戏时长 |
saves/<world>/Played/playtime.properties |
| 多人游戏时长 |
Played/server.properties |
| 累计总时长 |
Played/alltime.properties |
| 每日活动与会话记录 |
Played/history.json |
| 设置 |
config/Played/config.properties |
更新时,已有的游戏时长和设置将被保留。 每日活动与会话历史从你首次使用具备这些功能的版本开始记录;旧的累计时长无法回溯到过去的日期或会话。替换模组 JAR 文件时,请保留现有的 Played 文件夹。
协助翻译 Played
希望以你的语言使用 Played?在 Tolgee 上帮助翻译 Played!你可以翻译设置、统计信息、工具提示和通知,或改进现有翻译。
缺失的翻译将默认回退为英文。其他 Minecraft 语言的翻译由社区贡献;项目列表中列出某种语言,并不代表其翻译已完成。
Played
Played keeps track of the time you spend in each singleplayer world and on each multiplayer server, with session statistics and a combined all-time total. See your playtime in Minecraft's menus, explore your activity, or add an optional in-game display.
Everything is stored locally. No account, internet connection, or server-side installation is required to use the mod.
Your Playtime at a Glance
- Separate playtime for every singleplayer world and multiplayer server address.
- Session, current world/server, and all-time counters.
- Playtime directly in the world list, server list, and main menu, with an optional pause-menu display.
- Optional ascending or descending playtime sorting for world and server lists.
Click the playtime text in the main menu to open statistics. You can also use the clock button in the pause menu or /played stats.
Explore Your Activity
The statistics screen brings your playtime together in one place:
- Today's playtime, this calendar week, and the previous week.
- A seven-day activity chart with daily values on hover.
- Searchable world and server rankings, sorted by playtime.
- The latest 500 sessions, including their dates and active durations.
- Your longest recorded session.
Calendar statistics follow your computer's local timezone, with weeks starting on Monday. Paused and excluded AFK time do not count toward active session duration.
Make the Display Your Own
Enable the corner HUD, action-bar display, player-list footer, or scoreboard-style sidebar independently. In-game overlays are disabled by default.
The HUD editor lets you drag the corner overlay into position, preview it, adjust its size, and choose whether to enable it. Save your placement or cancel without applying changes. Corner anchoring helps keep the overlay in place when you resize the window.
Additional options include:
- Four anchor corners, size, margins, and an optional HUD background.
- Optional backgrounds behind playtime in world and server lists.
- Verbose, compact, and clock-style duration formats.
- Separate MiniMessage templates for lists, the main menu, the pause menu, and the HUD.
- Gradients and the
{time}, {session}, {current}, and {total} placeholders.
- Assignable keyboard shortcuts for opening statistics, toggling the corner HUD, and opening the HUD editor. Shortcuts are unbound by default.
The player-list, action-bar, and sidebar options display your locally tracked playtime, not other players' statistics.
Track Active Play
Optional AFK detection pauses tracking after a configurable period without input. It recognizes keyboard and mouse activity, including inventory input and held movement, attack, or use controls. Passive movement from water, vehicles, or server corrections does not reset the AFK timer.
Tracking also pauses whenever Minecraft itself is paused.
Optional milestone notifications celebrate 10, 100, 500, and 1,000 hours, followed by each additional 1,000 hours, in an individual world or server. Milestones are disabled by default.
Back Up and Export
Export your statistics from the statistics screen:
- JSON backups for restoring or transferring tracked statistics.
- CSV files for world/server totals, daily activity, and sessions in spreadsheet tools.
Exports are saved in Played/exports, and the JSON backup path is copied to your clipboard. To import, drop a Played JSON backup onto the import screen or enter its full path, review the summary, and confirm.
Imports keep the higher existing or imported value for each counter and calendar day, and merge sessions by ID. Repeated imports do not count the same data twice. This restores and merges backups; it does not add together independent installations' playtime.
World times are matched by existing save-folder names. Transfer the actual world saves separately first; a statistics backup does not contain your worlds.
Settings and Commands
Settings use YACL and can be opened from the statistics screen or with /played config. Mod Menu is optional and provides another way to open them.
| Command |
What it does |
/played |
Shows session, current world/server, and all-time playtime |
/played session |
Shows the current session's active playtime |
/played current |
Shows the current world or server's playtime |
/played total |
Shows combined all-time playtime |
/played today |
Shows today's playtime |
/played week |
Shows this calendar week's playtime |
/played stats |
Opens the statistics screen |
/played config |
Opens settings |
/played hud |
Opens the HUD editor |
Optional reset buttons in the Edit World and Edit Server screens let you reset individual counters after confirmation. Resetting counters does not erase recorded daily activity or session history.
Required: Fabric Loader, Fabric API, and YetAnotherConfigLib (YACL), with versions compatible with your Minecraft release. Install Played on the client only.
Local Data and Updating
Played saves periodically, when tracking pauses or stops, and when switching worlds or servers. Files use temporary replacement writes and .bak backups. Existing storage layouts are migrated automatically.
| Data |
Location relative to your Minecraft directory |
| World playtime |
saves/<world>/Played/playtime.properties |
| Multiplayer playtime |
Played/server.properties |
| All-time total |
Played/alltime.properties |
| Daily activity and sessions |
Played/history.json |
| Settings |
config/Played/config.properties |
Existing playtime and settings are preserved when updating. Daily activity and session history begin when you first use a version with these features; older totals cannot be reconstructed into past dates or sessions. Keep your existing Played folders when replacing the mod JAR.
Help Translate Played
Want to see Played in your language? Help translate Played on Tolgee! Translate settings, statistics, tooltips, and notifications, or improve existing translations.
English is the fallback for missing translations. Translations for additional Minecraft languages are a community effort; a language being listed in the project does not mean its translation is complete.
评论 0
登录后参与评分
还没有评论,来抢沙发吧