Server Side Afk & Playtime Tracker
A server sided only mod that tracks all players playtime and AFK time
介绍
This is a simple mod designed for Forge 1.18.2 that tracks player activity. It requires no dependencies and needs to be installed on the server side only. It was specifically designed to work on my Vault Hunters server without the players needing to change any mods.
If a player is stands still for 5 minutes, they will be considered AFK and a message will be broadcast that the player is AFK. If any user, or the console runs the command /afklist, it will display all AFK players.
The mod also stores playtime data by the minute in the file (server directory)/config/afkmod/playtime.txt. It shows player name, UUID, how many hours and minutes they have played on the server, and how much time they spent AFK on the server (Counts separately from playtime). If you modify this file, it may cause errors when starting the server.
This mod does not have a configuration, all values are static. You can fork and modify the source code to your liking. I do not plan to update this mod frequently.
This mod does not have any sort of detection for repetitive loops in player movement such as AFK pools.
常见问题
Server Side Afk & Playtime Tracker 支持哪些 Minecraft 版本?
Server Side Afk & Playtime Tracker 支持 Minecraft Java 版 1.18.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Server Side Afk & Playtime Tracker 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分