Home›Java›Mods›Universal Telegram Bot
Universal Telegram Bot
ModsJava

Universal Telegram Bot

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by KonskoeDyplo · on Modrinth

⬇ Download on Modrinth
Universal Telegram Bot — screenshot 1

📱 TELEGRAM BOT FOR MINECRAFT - SETUP GUIDE

🎯 WHAT IS THIS?

A plugin that allows you to manage your Minecraft server through Telegram. Players can send commands to a Telegram group, and the bot will execute them on the server.

🚀 QUICK INSTALLATION (5 MINUTES)

Token looks like this: 1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
  1. Step 2: Add bot to group
  2. Create a new Telegram group
  3. Add your bot to the group
  4. Make the bot an administrator

Step 3: Install plugin on server

Step 4: Configure settings

After first launch, the file plugins/TelegramBot/config.yml will appear

Edit it:

telegram:
  enabled: true
  bot-token: "PASTE_YOUR_TOKEN_HERE"
  group-chat-id: "PASTE_YOUR_GROUP_ID_HERE"

Step 5: Reload the plugin

In-game, execute:

/telegrambot reload

⚙️ IN-GAME MANAGEMENT COMMANDS

Basic commands:

/telegrambot status          - Check bot status
/telegrambot reload          - Reload configuration
/telegrambot test            - Send test message
/telegrambot list            - Show all commands
/telegrambot debug           - Toggle debug mode

Permission management:

/telegrambot addperm <ID> <permission>     - Grant permission to user
/telegrambot removeperm <ID> <permission>  - Remove permission
/telegrambot listperms                     - List all permissions

Example of granting permission:

/telegrambot addperm (id)123456789 telegrambot.restart

💬 TELEGRAM COMMANDS

For all players (if configured):

/help          - Show command list
/fly <nick>    - Grant 1 hour of fly
/money <nick>  - Give money
/kit <nick>    - Give kit
/online        - Check online players

For admins (require permissions):

/kick <nick>   - Kick player
/ban <nick>    - Ban player
/restart       - Restart server
/give <nick>   - Give items

🔧 CONFIGURING COMMANDS

Command example:

commands:
  fly:
    command: "lp user %player% permission settemp essentials.fly true 60m"
    cooldown: 86400                    # 24 hours in seconds
    eho: "Fly for 1 hour | "           # Description in /help
    message: "✅ Fly granted!"          # Success message
    error-message: "❌ Error"           # Error message
    permission: ""                     # Required permission (empty = for everyone)
    run-as-console: true               # Execute as console

Command parameters:

PLACEHOLDERS FOR COMMANDS Use in command field:

%player%    - Player nickname from Telegram command
%args%      - All arguments after command
%user%      - Telegram username
%user_id%   - Telegram user ID

Example:

command: "eco give %player% 1000"      # Will give 1000 money to player
command: "msg %player% Hello from %user%"  # Will send message

🔐 PERMISSION SYSTEM

  1. How to get user ID:
  1. Granting permissions:
/telegrambot addperm 123456789 telegrambot.restart
/telegrambot addperm 123456789 telegrambot.ban
  1. Standard permissions:

🛠️ TROUBLESHOOTING

  1. Bot not responding:
  1. Commands not executing:

Console errors:

[TelegramBot] ERROR: ... - check config.yml
[TelegramBot] WARNING: ... - usually not critical

Useful diagnostic commands:

/telegrambot execute say Test command  # Test execution
/telegrambot debug                     # Enable detailed logs
/telegrambot reload                    # Reload settings

🎉 USEFUL TIPS

  1. For beginners:
  1. For administrators:
  1. For players:

Done! Now players can manage the server through Telegram. Start with simple commands and gradually expand functionality. 🎮

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.

File checked by MCModsHub

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

Explore more