- Updated index.html to reflect new title and layout for AFK Bot Control. - Enhanced styling for better user experience with new color scheme and responsive design. - Added WebSocket server in server.js to handle communication between browser clients and the parent process. - Implemented bot management features including start, stop, and chat functionalities. - Introduced logging mechanism to relay server and bot logs to the UI. - Exported functions from hashed_profiles.js for better modularity. - Added ws package to package.json for WebSocket support.
22 lines
443 B
JSON
22 lines
443 B
JSON
{
|
|
"name": "mcbot",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"license": "ISC",
|
|
"author": "",
|
|
"type": "commonjs",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"afk": "node afk.js",
|
|
"afk:parent": "node afk_parent.js"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^17.3.1",
|
|
"mineflayer": "^4.35.0",
|
|
"mineflayer-gui": "^4.0.2",
|
|
"vec3": "^0.1.10",
|
|
"ws": "^8.20.0"
|
|
}
|
|
}
|