在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sefirosweb/minecraftLegion开源软件地址(OpenSource Url):https://github.com/sefirosweb/minecraftLegion开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):minecraftLegionMinecraft multipurpose bot This project are based on mineflayer & PrismarineJS repository This program is part of the 3 of this project, Each part can be run independently, The other 2 parts are minecraftLegionWebServer & minecraftLegionWebClient I recommend using the other two modules to help the bots communicate and take commands through the WebUI. Watch the videos so you can see what it can do for youhttps://www.youtube.com/watch?v=QIz6o7cJITg&list=PLPwIRDkD3kwSdQ04LnzcGrLrlST9XoKjk&index=5 Install with docker
cp config_example.js config.js
const config = {
server: '127.0.0.1', // Minecraft Server
port: '25565', // Minecraft Port
masters: [{ name: 'PlayerName' }, { name: 'SecondPlayerName' }], // Optional when front end is not opened
webServer: 'http://minecraftlegionwebserver', // host minecraftLegionWebServer Web, if is in docker locak you must use a default config
webServerPort: '4001', // minecraftLegionWebServer PORT
webServerPassword: 'admin', // password for websocket
debugMode: false,
customStart: false, // If server have a login or other system to play you can add your self start Ex: login pass pass (see custom_start/custom_example.js)
autoRestart: true // When bot breaks they auto reconnect
}
module.exports = config
Now you can manage the bots via front end Click on Load New Bot and select name (password is not working for now) For download and install frontend go to minecraftLegionWebClient Next usagesFor start again the bot only you need to start docker and start the node:
Manual updateYou need to "pull" the new code and install the new dependencies
Start docker:
Install new dependencies:
Start bot
Usage of commands in chat:There only are the basic comands for full manage you must need to use a front end minecraftLegionWebClient First, activate the bot attention "hi namebot" or "hi all" to start all bots simultaneously.
Make the bot/s follow you.
Make the bot/s stand in the current position.
Start memorizing the positions used to save the way to chests or patrol (get the bots to follow you around)
Save patrol, used for guard job (use command
For set max distance to attack mobs or players
For set mode (pvp / pve / none), if bots are connected to minecraftLegionWebServer it wont attack other bots
Set job (Currently only finished Guard)
To help other bots in combat (need use minecraftLegionWebServer)
to finish commands
For mining xyz_start xyz_end start_horientantion vertically / horizontalle set miner x y z x y z x+ horizontally Current Jobs
TODO
Please keep calm. I'm working hard on this project :D |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论