Playtime Tracker 这是一款轻量级、无卡顿的实用工具,用于监控玩家活动。它将原始的游戏刻数转换为可读格式,无需在屏幕一侧保留笨重的记分板。
玩家可以在不需要操作员(OP)权限的情况下使用以下 /trigger 命令:
/trigger pt_show: 此命令会在聊天栏中直接显示玩家的总游戏时间(小时、分钟和秒)。数据来源于引擎级别的统计信息,因此包含安装该数据包之前的游玩时间。
/trigger pt_on: 启用持久的快捷栏显示。游戏时间将实时出现在玩家物品栏上方并持续更新。
/trigger pt_off: 禁用快捷栏显示,并从屏幕上清除文本,适合偏好简洁界面的玩家。
如何安装/下载文件: 确保已准备好 Playtime_Datapack_Fixed_V2.zip。导航至 保存文件夹:打开你的 Minecraft 目录,进入 saves 文件夹,选择你的特定世界文件夹。
放入数据包: 打开 datapacks 文件夹并将 ZIP 文件移入其中。重新加载
使用方法: 要查看当前时间,只需输入:/trigger pt_show。
显示效果: 你将收到一条私聊消息,格式如下:Your total playtime: 1h 12m 30s.
注意:此数据包仅显示你安装该数据包之后的游戏时间
Playtime Tracker This utility is a lightweight, lag-free solution for monitoring player activity. It converts raw game ticks into a readable format without requiring a permanent, clunky scoreboard on the side of your screen.
Players can use these /trigger commands without needing operator (OP) permissions:
/trigger pt_show: This displays the player's Total World Playtime (Hours, Minutes, and Seconds) directly in the chat. It pulls data from the engine-level statistics, so it includes time spent before the datapack was installed.
/trigger pt_on: This enables a persistent Hotbar Display. The playtime will appear and update in real-time right above the player's item bar.
/trigger pt_off: This disables the hotbar display and clears the text from the screen if a player prefers a clean UI.
How to Install/Download the File: Ensure you have the Playtime_Datapack_Fixed_V2.zip ready.Navigate to Save Folder: Open your Minecraft directory, go to saves, and select your specific world folder.
Drop in Datapacks: Open the datapacks folder and move the ZIP file inside.Reload the
How to UseThe Command: To see your current time, simply type: /trigger pt_show. The Display: You will see a private chat message formatted as: Your total playtime: 1h 12m 30s.
Caution: This datapack will only show the playtime from the amount of time you have installed this datapack
评论 0
登录后参与评分
还没有评论,来抢沙发吧