TelegramLogger icon

TelegramLogger -----

#Telegram #TelegramLogger #TelegramChat #TelegramToMinecraft #MinecraftToTelegram



5.0.0
TelegramLogger v5.0.0 — Major Update

Bug Fixes
  • Fixed duplicate Telegram messages — Messages from Telegram were sometimes delivered 2-3 times to Minecraft. Fixed with an atomic polling guard that prevents overlapping long-poll requests.
  • Fixed `/sudo` command crashes — The sudo command would crash in non-forum groups. Now handles missing thread IDs gracefully.
  • Fixed `/sudo` not showing output — Previously showed "executed successfully" but no output. Now captures and displays full command output using OutputCapturingSender.
  • Fixed multi-line message prefix spam — Multi-line messages from Telegram had the prefix on every line. Now applied only once.

New Features
  • Server Start/Stop Notifications — Get notified in Telegram when your server starts or stops
  • First Join Detection — Special welcome messages for players joining for the first time
  • Anti-Flood System — Configurable rate limiting (sliding window) prevents message flooding
  • Sudo Output Capture — `/sudo` commands now show their full output in the Telegram response
  • Sudo Blacklist — Block dangerous commands (`stop`, `op`, `ban-ip`, etc.) from remote execution
  • TPS Command — Check server TPS and memory usage from Telegram with `/tps`
  • Config Auto-Restore — Corrupt config files are automatically backed up, regenerated, and recoverable values are migrated

Code Improvements
  • Full code restructuring — Monolithic 3000-line file split into 11 focused classes across 6 packages
  • Modular architecture — Clean separation: config, telegram API, event handling, commands, data management, utilities
  • HTML escaping — User input is properly escaped to prevent HTML injection in Telegram messages
  • Better error handling — Graceful failure with clear error messages instead of silent crashes

Installation
  1. Download `TelegramLogger-5.0.0.jar` below
  2. Place it in your server's `plugins/` folder
  3. Start the server to generate config
  4. Edit `plugins/TelegramLogger/config.yml` with your bot token and chat ID
  5. Run `/tl reload` or restart the server

Requirements
  • Java 8+
  • Spigot/Paper 1.16 - 1.21.x
  • Telegram Bot Token from @BotFather
----------, Mar 15, 2026
Resource Information
Author:
----------
Total Downloads: 261
First Release: Nov 3, 2024
Last Update: Mar 18, 2026
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings