Revised and updated version of the Telegram console plugin.
Basically all this plugin does right now - executes the command you send and returns console output (for some commands like "say" or "op" the server executes them but doesn't send any response to the bot).
Warning:
- Type commands without / , like you do in usual console.
- For each server you run you will need different bot from BotFather
Installation:
- Firstly, contact @BotFather via telegram and get your bot's API token. Write it down. Also remember your bot's username.
- DO NOT SHARE IT WITH ANYONE.
- Download this plugin, save it to 'plugins' folder and run server once. Then stop the server and open config file (plugins/TelegramConnector/config.yml).
- Change values token to your bot`s API token
- Change value findChatId to true
- Start the server
- Send /start to your bot and copy the chatID number from the console output
- Stop the server
- Change value authorizedChatId to your telegram chatID
- Change value findChatId to false
- Start the server
- Done!
Optional, but very recommended part:
- After setup, go to dialog with BotFather and type /setjoingroups , choose your bot and set it to Disable
- In dialog with BotFather type /setuserpic to set your bot's avatar
config.yml
# _______ _ _____ _
# |__ __| | | / ____| | |
# | | ___| | ___ __ _ _ __ __ _ _ __ ___ | | ___ _ __ _ __ ___ ___| |_ ___ _ __
# | |/ _ \ |/ _ \/ _` | '__/ _` | '_ ` _ \| | / _ \| '_ \| '_ \ / _ \/ __| __/ _ \| '__|
# | | __/ | __/ (_| | | | (_| | | | | | | |___| (_) | | | | | | | __/ (__| || (_) | |
# |_|\___|_|\___|\__, |_| \__,_|_| |_| |_|\_____\___/|_| |_|_| |_|\___|\___|\__\___/|_|
# __/ |
# |___/
notificationsBotToken: ''
# Bot token provided by Botfather
authorizedChatId: 0
# Your userID (follow the guide on Spigot to understand how to find it)
findChatId: false
# It allows you to see the userID of the person who is writing to the bot (follow the guide to understand how it works)Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
