promotional bannermobile promotional banner

Playtime Stats

/playtime shows your total time on the server; /playtimetop shows the leaderboard. Saved to a plain file.

Tracks how long each player has played on your server and shows a leaderboard. Works on dedicated servers and in singleplayer.

Commands

  • /playtime: your total play time, number of sessions and first-seen date. From the console it shows the leaderboard.
  • /playtimetop: the ten players with the most play time.

How it works

  • Time is counted from join to leave; the open session is included in what /playtime shows.
  • Records are saved to playtime.tsv in the mod's data directory every five minutes and at shutdown. It is a plain tab-separated file you can open in a spreadsheet.
  • No settings file is needed.

Install

Drop the jar into the server's mods/ folder (or your UserData/Mods folder for singleplayer) and start the game.

Built for Hytale 0.7.x; also compiles against the 0.8 pre-release. Licence: MIT.

Found a bug or want a feature? Comment here and I will answer. Custom plugin work for servers is available on request.

Playtime Stats Team

profile avatar
  • 10
    Projects
  • 53
    Downloads

More from molonlav3View all

  • Auto Announcer project image

    Auto Announcer

    Rotating server announcements from a text file, every N minutes. /announcer reloads without a restart.

    • 1
    • November 1, 2026
  • Welcome Messages project image

    Welcome Messages

    Join and leave messages, a welcome for first-time players, and a message of the day. Placeholders for name, online count and player number.

    • 1
    • November 1, 2026
  • ChatGuard project image

    ChatGuard

    Stops chat spam: message cooldown, repeated messages, caps and links. Players with a bypass permission are never filtered.

    • 4
    • October 31, 2026
  • AFK Status project image

    AFK Status

    Marks idle players as AFK and announces it in chat. /afk toggles it by hand; moving brings you back.

    • 5
    • October 31, 2026
  • Auto Announcer project image

    Auto Announcer

    Rotating server announcements from a text file, every N minutes. /announcer reloads without a restart.

    • 1
    • November 1, 2026
  • Welcome Messages project image

    Welcome Messages

    Join and leave messages, a welcome for first-time players, and a message of the day. Placeholders for name, online count and player number.

    • 1
    • November 1, 2026
  • ChatGuard project image

    ChatGuard

    Stops chat spam: message cooldown, repeated messages, caps and links. Players with a bypass permission are never filtered.

    • 4
    • October 31, 2026
  • AFK Status project image

    AFK Status

    Marks idle players as AFK and announces it in chat. /afk toggles it by hand; moving brings you back.

    • 5
    • October 31, 2026