A minecraft sentry bot that logs to a discord webhook whenever someone enters its view distance
running bot locally:
Here you list all prerequisites necessary for running your project. For example:
Click the big green button that says <> Code
.
Then click on download zip.
Unzip the folder and open a terminal window into that folder.
In the terminal, execute this command:
npm install
here's and example configuration for the config.json
file
{
"username": "CapyKing10",
"password": "password123",
"isCracked": true,
"ip": "myserver.com",
"port": "25565",
"webhookURL": "https://discord.com/api/webhooks/12345678910/NUAugiahgnquyAUnb_abnauHAUGaybhgoa",
"webhookName": "Capy's Sentry",
"embedFooterText": "Sentry",
"embedColor": "#99750b",
"image": "https://media.discordapp.net/attachments/image.png"
}
You can start the bot by opening the start.bat
file