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.

 

This logo was made using a Text Studio Font Generator

The Server Side Afk & Playtime Tracker Team

profile avatar
  • 1
    Followers
  • 3
    Projects
  • 6.0K
    Downloads

More from EternaIMist

  • Warped Netherite project image

    Warped Netherite

    • 2.5K
    • Mods

    A mod that adds a new ore to the nether that is better then netherite!

    • 2.5K
    • January 8, 2022
    • Mods
    • +4
  • Fast Upgrade project image

    Fast Upgrade

    • 3.4K
    • Mods

    Adds smiting recipes to increase early progression

    • 3.4K
    • October 17, 2021
    • Mods
  • Warped Netherite project image

    Warped Netherite

    • 2.5K
    • Mods

    A mod that adds a new ore to the nether that is better then netherite!

    • 2.5K
    • January 8, 2022
    • Mods
    • +4
  • Fast Upgrade project image

    Fast Upgrade

    • 3.4K
    • Mods

    Adds smiting recipes to increase early progression

    • 3.4K
    • October 17, 2021
    • Mods