Home›Java›Mods›WeeklyTime
WeeklyTime
ModsJava

WeeklyTime

by sooqwess · on Modrinth

Tracks player playtime and reports it to admins via a Telegram bot. Works on Paper, Spigot, Bukkit and other Bukkit forks, 1.21 – 26.x.

⬇ Download on Modrinth

WeeklyTime

Tracks player playtime and reports it to admins via a Telegram bot. Admins (by Telegram ID) can request the player list with playtime for any period — week, month, all-time or custom — in private chats, groups and supergroups.

Features

Compatibility

Installation

  1. Download WeeklyTime-1.00.jar
  2. Place it in the server's plugins folder
  3. Restart the server
  4. Edit plugins/WeeklyTime/config.yml:
    • telegram.bot-token — token from @BotFather
    • telegram.admins — your Telegram IDs (find yours via @userinfobot)
  5. Restart the server (or run /weeklytime reload — token changes still need a restart)

To find the chat ID of a group: add the bot to the group, send any message, then check the plugin logs — or use @userinfobot.

In-game commands

Command Description Permission
/weeklytime help Help —
/weeklytime reload Reload config and locale files weeklytime.admin (default: operators)
/weeklytime stats Database statistics weeklytime.admin

Configuration

locale: en

telegram:
  bot-token: "YOUR_BOT_TOKEN_HERE"
  bot-username: "WeeklyTimeBot"
  admins:
    - 123456789
  access-control:
    allowed-chats-mode: "all"
    allowed-chats: []

database:
  path: "plugins/WeeklyTime/player_times.db"

tracking:
  save-interval-minutes: 5
  min-session-seconds: 30
  disabled-worlds: []
  timezone: "system"        # "system" or IANA name, e.g. "Europe/Minsk"
  keep-records-days: 90     # auto-cleanup of old records

output:
  max-players-per-message: 30
  min-time-minutes: 1
  time-format: "short"
  show-rank-emojis: true
  divider-char: "━"

performance:
  cache-duration-seconds: 60

Localization

The plugins/WeeklyTime/lang/ folder contains messages-en.yml and messages-ru.yml (both are extracted on first start). To add your own language, copy a file as messages-<code>.yml, edit it and set locale: <code> in the config. Missing strings fall back to the bundled English template, then to Russian.

Notes

License

MIT. Author: Sooqwess

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more