MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.64k stars 397 forks source link

VKontakte bot #1920

Closed iwixw closed 2 years ago

iwixw commented 2 years ago

I have a script that can send and receive text commands. But how to make it so that (Login, Password, Server IP) was input through VK? ( script: https://pastebin.com/2c7NBtG7 )

ORelio commented 2 years ago

You mean this? https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/ChatBots/VkMessager.cs There are some comments explaining what you need to make it work. See also: #1685

iwixw commented 2 years ago

You mean this? https://github.com/MCCTeam/Minecraft-Console-Client/blob/master/MinecraftClient/config/ChatBots/VkMessager.cs There are some comments explaining what you need to make it work. See also: #1685

No, unfortunately this is not what I need

Daenges commented 2 years ago

@iwixw You can create an Accounts File (Explaination). Then you can process messages from VK here and start the internal command: connect <server> [account]. (cf)

You need to set the client up for the first time manually. So login to a server manually, start the bot and then you should be able to login and connect to a server through VK.