Functional minecraft AFK bot for servers
- Download & install Node.JS
- Download & install Git Bash
- Open cmd
- Go to the file you want to save it with the
cd
command - Type the command
git clone https://github.com/quangei/Q-bot-afk.git
- Type the command
npm íntall
or activated Install.bat
- Click the plus sign in the upper right corner (Create a Repl)
- Choose Template as Node.js of replit
- Click "Import from GitHub"
- Paste "github.com/quangei/Q-bot-afk" into the GitHub URL section
- Click "Import from GitHub" and wait for it to import
- If there is a config run command section, just press done
- Type the command
npm íntall
into Shell
- Edit the bot's information and functions in settings.json
- Open cmd
- Type the command
node bot.js
or activated Start.bat
- Edit the bot's information and functions in settings.json
- Click "Run"
- If you want to run it 24/7 you can use uptime robot
- Support Microsoft/Offline accounts
- Position
- Guard
- Auto-Totem
- Auto-Armor
- Auto-Auth
- Anti-Afk
- Chat-Message
- Respawn-Chat
- Auto-Eat
- Webinv
- Auto-Sleep
- Mes-Log
- Console-Chat
- Auto-Reconnect
{
"bot-account": {
"username": "Bot",
"password": "your_password",
"type": "offline"
},
"server": {
"ip": "localhost:25565",
"version": "1.8.9"
},
"position": {
"enabled": false,
"x": 279,
"y": 101,
"z": -242
},
"guard": {
"enabled": false,
"position": {
"x": 292,
"y": 85,
"z": -222
}
},
"pvp": {
"auto-totem":{
"enabled": false
},
"auto-armor": false
},
"utils": {
"auto-auth": {
"enabled": false,
"password": "12345678"
},
"anti-afk": {
"enabled": false,
"sneak": false,
"jump": false,
"rotate": false,
"hit": {
"enabled": false,
"delay": 500,
"attack-mobs": false
},
"walk": {
"enabled": false,
"mode": {
"random":{
"time": 1000
},
"circle":{
"radius": 5
},
"square":{
"radius": 5
},
"rhombus":{
"radius": 5
}},
"selected": "random"
}
},
"chat-messages": {
"enabled": false,
"repeat": true,
"repeat-delay": 60,
"messages": [
"I'm a regular player ",
"My owner is quangei ",
"I want be alone "
]
},
"respawn-chat": {
"enabled": false,
"delay": 1000,
"chat": ["Respawn", "text", "..."]
},
"auto-eat": {
"enabled": false,
"eat-at": 16,
"no-eat": ["golden_apple", "enchanted_golden_apple"]
},
"webinv": {
"enabled": false,
"port": 4001
},
"auto-sleep": false,
"mes-log": false,
"console-chat": true,
"auto-reconnect": false,
"auto-reconnect-delay": 5000
}
}