1. Create a bot in telegram using the official bot (use bot to create a bot) @BotFather
2. Get the bot token in telegram (copy it).
3. Start the server once with the plugin (
plugin requires PlaceHolderAPI).
4. Open the config in plugins/TelegramSRV/config.yml
5. Place the token you copied in step 2 into "token"
6. In telegram you need to create a group, add a bot (in group settings --> Add Members) and give some permissions.
6.1 In Add Members you need once add a bot with name @getmyid_bot
6.2 Get from the added bot @getmyid_bot a message with chat ID:
CURRENT CHAT ID (NOT USERID)
6.3
7. Delete the @getmyid_bot because it needs only for take a chat_id
8. Put a CURRENT CHAT ID in config in plugins/TelegramSRV/
config.yml in "chat_id"