跳到正文

Simple Playtime Command

作者:MVPFishstock

A simple mod that adds a /playtime command.

收藏

介绍

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

Playtime Mod (Fabric)

A lightweight Fabric mod for Minecraft 1.21.X that adds a simple /playtime command to show your total playtime in hh:mm.

Features

  • ⏱️ Quick Command: /playtime displays your total playtime.
  • ✅ Vanilla-Accurate: Reads the built-in Stats.PLAY_TIME stat.
  • 🧮 Clean Formatting: Converts ticks → seconds → hh:mm.
  • 🌐 Works Everywhere: Singleplayer and Fabric servers.
  • 🧩 Zero Config: No GUI, no mixins, minimal footprint.

Installation

  1. Install Fabric Loader for Minecraft 1.21.X.
  2. Download and install Fabric API (for 1.21.X).
  3. Place the mod JAR into your mods folder.
  4. Launch Minecraft with the Fabric profile.

Usage

  • In chat, run: /playtime
  • Example output: Playtime: 12:34
  • Available to all players by default.

Compatibility

  • Minecraft: 1.21.X
  • Loader: Fabric
  • Side: Client or Server (command executes on the server)
  • Dependencies: Fabric API, Fabric Loader

License

MIT License.

常见问题

Simple Playtime Command 支持哪些 Minecraft 版本?

Simple Playtime Command 支持 Minecraft Java 版 1.21.3–26.3,共 10 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Simple Playtime Command 怎么安装?

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

评论

登录后评论和评分

MVPFishstock 的其他作品

查看全部 →