Clone this repository onto your computer with
git clone https://github.com/IceTank/mineflayer-5b5t-auto-duper.git
cd mineflayer-5b5t-auto-duper
npm i
And see the example explanation at the bottom.
Install it with npm as a module:
npm i --save https+github.com/IceTank/mineflayer-5b5t-auto-duper.git
And then use it as a plugin
// import the plugin
const autodupePlugin = require('mineflayer-5b5t-auto-dupe')
// load the plugin once the bot has joined the server
bot.once('spawn', () => {
bot.loadPlugin(autodupePlugin)
})
// You can now use the functions provided the the plugin
bot.on('chat', async (username, message) => {
const cmd = message.split(' ')
await bot.autodupe.dupe(cmd[0], cmd[1])
bot.chat('Finished')
})
See example index.js
in example
The example is able to dupe any items with the crafting recipe dupe glitch present on 5b5t. This includes shulker boxes and other items that automatically get refereed by the anti stack plugin.
To use it run
npm start <email> <password> [isMojangAccount ("true"|"false")]
You might have to wrap your username and password in ""
for it to work.
Dupes any item. Has to have at least 8 oak wood plank in its inventory to work. Note: the dupe methode is not perfect and might fail. The bot should only have one shulker of the given color it should dupe in its inventory to not mess up.The given stack amount is not always reached. Bot sends a whisper back or logs in console when it is finished.
Prints out all items found in its inventory.
Drops items with a given item name or partial name to the closest play or onto the ground.
Rearange items in its inventory so that no item stack is bigger then 64. Might drop items onto the ground.
Exits the program and bot
Prints out at what coordinates the bot currently is.
Pathfinds to specific coordinates
Follows the player how send the whisper to the bot if he is in render distance.
Stop pathfinding
Pathfind to the player how send the whisper if he is in render distance.