Back to NxLabs

NxLabs / Vintage Story

B

BotTG integration

ABy AeroCooLex

Adds integration of telegram bot with your server.

BotTG integration

Description

 
<pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" style="text-align: left;" data-placeholder="Перевод" data-ved="2ahUKEwiz-O3ZoO2KAxXXUqQEHQyLB_cQ3ewLegQIChAT" aria-label="Переведенный текст: Adds integration of telegram bot with your server. Configured for a specific bot. To link your bot, visit the GitHub page. Download the source data and in the fields &ldquo;YOUR_TOKEN&rdquo; and &ldquo;CHAT_ID&rdquo; indicate the token of your telegram bot and chat id. This must be done in all files with the .cs extension. Save the changes. Rejoice!"><span class="Y2IQFc" lang="en">Adds integration of telegram bot with your server. Configured for a specific bot.
<span style="background-color: #e74c3c;">The structure of the mod has been changed!</span>
V 2.0.0 now works not from the built-in bot token and chat ID,
but from the botconfig.json configuration file.
You only need to indicate in it the token and chat ID of your bot and
Tlegram channel and notifications will come to your channel!


When you first start the server,
a configuration file will be created, stop the server, fill in the fields in botconfig.json
along the path VintagestoryData\ModConfig\botconfig.json

</span></pre> <pre class="tw-data-text tw-text-large tw-ta" dir="ltr" style="text-align: left;" data-placeholder="Перевод" data-ved="2ahUKEwiz-O3ZoO2KAxXXUqQEHQyLB_cQ3ewLegQIChAT" aria-label="Переведенный текст: Adds integration of telegram bot with your server."><span class="Y2IQFc" lang="en"><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span class="ryNqvb">The bot can:
-Send text messages to the server and receive messages from the server.</span></span> <span class="jCAhz ChMk0b"><span class="ryNqvb">Chat, play and watch somewhere.</span></span><span class="jCAhz ChMk0b"><span class="ryNqvb">
- Receive information about the connection of players, send it to the chat below and display a list of players on the server.</span></span><span class="jCAhz ChMk0b"><span class="ryNqvb">
- Send notifications about the death of a player in the chat with the bot.</span></span><span class="jCAhz ChMk0b"><span class="ryNqvb">
- Send a message about the disconnection of players and show a list of the remaining players on the server.</span></span><span class="jCAhz ChMk0b"><span class="ryNqvb">
- Send a message to the chat with the bot that the server has been rebooted and will reboot in 3 55 minutes.</span></span> <span class="jCAhz ChMk0b"><span class="ryNqvb">(because on my computer the reboot is 4 hours)
- Notify 5 minutes before the server reboot, that is, in 3 hours 55 minutes (because on my server the reboot is 4 hours)
P.S. You can change the time to display the reboot message by changing

</span></span></span></span></pre>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.