Update bot.js
Browse files34 unmodified lines353637383940715 unmodified lines75675775875976076134 unmodified lineshost: config.server.ip,port: config.server.port,version: config.server.version,});bot.loadPlugin(pathfinder);715 unmodified linesif (config.utils && config.utils["chat-log"]) logger.info(`<${username}> ${message}`);});bot.on("goal_reached", () => {if (config.position && config.position.enabled) logger.info(`Bot arrived to target location. ${bot.entity.position}`);});34 unmodified lines35363738394041715 unmodified lines75775875976076176276376476576634 unmodified lineshost: config.server.ip,port: config.server.port,version: config.server.version,brand: 'vanilla',});bot.loadPlugin(pathfinder);715 unmodified linesif (config.utils && config.utils["chat-log"]) logger.info(`<${username}> ${message}`);});bot.on('login', () => { // 1. Ayarları gerçekçi yapbot.write('settings', { locale: 'tr_tr', viewDistance: 12, skinParts: 127 });bot.on("goal_reached", () => {if (config.position && config.position.enabled) logger.info(`Bot arrived to target location. ${bot.entity.position}`);});
bot.js+5