Player Session Tracker — Forge 1.20.1 移植版
这是由 Circuit-Overtime 开发的原版 Fabric 模组 Play Time Tracker 的现代化、仅服务端移植版本。
原模组:Modrinth 上的 Play Time Tracker
Player Session Tracker 将同样简洁轻量级的游戏时长追踪系统带到了 Forge 1.20.1,并针对稳定性、仅服务端兼容性以及命令可用性进行了重构优化。
功能特性
仅服务端运行
玩家可以使用完全原版的客户端加入服务器。所有的追踪数据和命令均在服务端运行。
自动会话追踪
模组会记录:
- 登录时间
- 登出时间
- 会话持续时间
- 登录时的服务器时间
- 登录日期
- 过去 7 天的游戏时长历史记录
所有数据均以简单的 JSON 文件格式按玩家单独存储。
命令套件 (/session)
/session check
- 查看您自己的离线会话历史
- 支持分页输出及可点击的导航按钮
- 格式整洁易读
/session check <player>
- 查看其他玩家的离线会话
- 适用于在线和离线玩家
- 自动建议已知玩家
/session checkonline
- 显示您当前的实时会话
- 无需参数
/session checkonline <player> 也可用于查看其他玩家的实时会话
可点击的分页按钮
通过以下方式导航会话历史:
按钮会自动执行相应命令。
崩溃安全的断开连接处理
如果玩家发生崩溃、超时或丢失连接,会话仍会被正确保存。
无聊天刷屏
每个命令的输出仅对执行该命令的玩家可见,且显示内容清晰滚动,不会造成聊天栏刷屏。
致谢
本模组是 Circuit-Overtime 开发的原版 Fabric 模组 Play Time Tracker 的 Forge 1.20.1 移植版本。
原始项目:Modrinth 上的 Play Time Tracker
核心设计归功于原作者。此移植版将概念适配至 Forge 服务器,并增加了多项提升用户体验的改进。
许可证
本项目遵循与原模组相同的许可证(Apache-2.0)。
您可以自由使用、修改并将其包含在整合包中。
Player Session Tracker — Forge 1.20.1 Port
This is a modernized, server-side-only port of the original Fabric mod Play Time Tracker by Circuit-Overtime.
Original mod: Play Time Tracker on Modrinth
Player Session Tracker brings the same clean, lightweight playtime-tracking system to Forge 1.20.1, rebuilt for stability, server-only compatibility, and improved command usability.
Features
Server-side only
Players can join with a completely vanilla client. All tracking and commands run entirely on the server.
Automatic session tracking
The mod records:
- Join time
- Leave time
- Session duration
- Server time of login
- Date of login
- Last 7 days of playtime history
All data is stored per-player in simple JSON files.
Command suite (/session)
/session check
- View your own offline session history
- Paginated output with clickable navigation buttons
- Clean, readable formatting
/session check <player>
- View another player’s offline sessions
- Works for both online and offline players
- Auto-suggests known players
/session checkonline
- Shows your current live session
- No arguments needed
/session checkonline <player> also works for checking others
Clickable pagination buttons
Navigate session history with:
Buttons run commands automatically.
Crash-safe disconnect handling
If a player crashes, times out, or loses connection, the session is still saved correctly.
No chat spam
Each command output is isolated to the player who ran it, and the display scrolls cleanly without flooding chat.
Credits
This mod is a Forge 1.20.1 port of the original Fabric mod Play Time Tracker by Circuit-Overtime.
Original project: Play Time Tracker on Modrinth
All core design credit goes to the original author. This port adapts the concept for Forge servers and adds quality-of-life improvements.
License
This project follows the same license as the original mod (Apache-2.0).
You are free to use, modify, and include it in modpacks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧