
WeeklyTime
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 ModrinthWeeklyTime
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
- Playtime tracking: session-based, auto-saved every N minutes, stored in SQLite
- Calendar periods: week resets Monday 00:00, month resets on the 1st 00:00 (configurable timezone), automatic cleanup of old records
- Telegram bot (no external libraries, native HTTP API):
/time week— stats for the current week/time month— stats for the current month/time alltime— all-time stats/time <days>— custom period (1–365)/player <name> [days]— single player stats/reset [days]— reset data with/confirm//cancelconfirmation/stats— plugin statistics/reload— reload configuration/help— command list- Old aliases still work:
/week,/month,/alltime
- Works in private chats, groups and supergroups; chat access control (all / whitelist / blacklist)
- Only configured admin Telegram IDs can use the bot
- Rank emojis for top-3, configurable time formats, message splitting for large lists
- Localization:
locale: enby default,messages-en.ymlandmessages-ru.ymlbundled, custom languages supported
Compatibility
- Server software: Paper, Spigot, Bukkit, Purpur, Pufferfish, Leaves and any other Bukkit fork. On Fabric/Quilt it works through Banner/CardBoard
- Minecraft versions: 1.21 – 26.x (Java 21+)
- Folia: fully compatible (no Bukkit scheduler usage)
- No required dependencies: Telegram API is called via the JDK HTTP client, SQLite is bundled
Installation
- Download
WeeklyTime-1.00.jar - Place it in the server's
pluginsfolder - Restart the server
- Edit
plugins/WeeklyTime/config.yml:telegram.bot-token— token from @BotFathertelegram.admins— your Telegram IDs (find yours via @userinfobot)
- 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
- Session data is saved on quit and every
save-interval-minutesminutes - Players in
disabled-worldsare not tracked - Playtime is stored per player UUID, so renames keep the history
/resetrequires confirmation to avoid accidental data loss
License
MIT. Author: Sooqwess
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as WeeklyTime-1.00.jar — drop this file into the mods folder
- Download size: 13.1 MB
- Download link checked 19 Sept 2026 — working
These come from our own check of the pack file, not from the source page.