跳到正文

Play-Time-Timer

作者:BomberStudio

A lightweight Fabric client mod for Minecraft 1.21.11 that displays a command-controlled playtime timer above your hearts, with fully customizable colors, size, and position in Mod Menu.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Play Time Timer

No auto-start, no surprises. The timer stays at 00:00 until you type /start, so the time on screen is always time you deliberately tracked. Pause it when you take a break, stop it when the session ends, and check your totals whenever you want.

Features

  • Playtime display above the hearts — left-aligned, clear of the health and armor bars
  • Manual control — the timer never starts on its own; use /start, /pause and /stop
  • Two time modes — This session (since your last /start) or Total (accumulated across all sessions and saved to disk)
  • Fully customizable look — text color and opacity, background color and opacity, drop shadow, and scale from 50 % to 300 %
  • Five positions — above the hearts, on the hotbar, above the hotbar, bottom left, bottom right — plus X/Y fine-tuning
  • Custom label — replace “Playtime” with anything you like
  • HUD-aware — optionally hides itself together with the HUD when you press F1
  • Settings via Mod Menu — or press F8 in game if you don’t have Mod Menu installed
  • Client-side only — works in singleplayer and on any server, no server-side installation needed

Commands

Command What it does
/start Starts the timer (from 00:00 when stopped, continues when paused)
/pause Pauses the running timer; the time stays on screen
/stop Stops the timer; the reached time stays visible until the next /start
/time Prints status, session time and total time to chat
/time info Shows mod info: version, current display, mode, position and settings
/time reset Resets only the session time back to 00:00

/time only intercepts its own subcommands — anything else, such as /time set day, is passed straight through to the server, so vanilla commands keep working.

Configuration

Option Description
Show timer Turn the whole display on or off
Time mode This session / Total
Show label Toggle the text in front of the time
Label Custom label text (default: Playtime)
Text color Color and opacity of the text
Text shadow Drop shadow behind the text
Scale 50 % – 300 %
Background Box behind the text, on/off
Background color Color and opacity of the box
Position Above the hearts, on the hotbar, above the hotbar, bottom left, bottom right
Offset X / Y Fine adjustment (positive Y moves up)

Settings are saved automatically to config/playtimetimer.json; the total playtime is stored in config/playtimetimer-stats.json.

Installation

  1. Install Fabric Loader for Minecraft 1.21.11
  2. Put Fabric API into your mods folder
  3. Put playtimetimer-1.0.1.jar into your mods folder
  4. Start the game with the Fabric profile

Mod Menu is optional but recommended — it adds the settings screen to the mod list. Without it, press F8 in game to open the same screen.

Cloth Config is bundled inside the mod jar, so you do not need to install it separately.

Requirements

  • Minecraft 1.21.11
  • Fabric Loader 0.16.0 or newer
  • Fabric API
  • Java 21

Notes

  • The timer only counts while you are in a world and the game is not paused (ESC or lost focus).
  • /start, /pause and /stop are client commands and take priority over server commands with the same name.

Author: BomberStudio · License: MIT

常见问题

Play-Time-Timer 支持哪些 Minecraft 版本?

Play-Time-Timer 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Play-Time-Timer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

BomberStudio 的其他作品

查看全部 →