Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
mineflayer-autocrystal
Advanced tools
mineflayer-autocrystal is a plugin that lets mineflayer bots automatically place and destroy end crystals.
mineflayer-autocrystal is a plugin that lets mineflayer bots automatically place and destroy end crystals.
npm install mineflayer-autocrystal
const mineflayer = require('mineflayer')
const { autoCrystal } = require('mineflayer-autocrystal')
function main() {
const bot = mineflayer.createBot({
host: 'localhost',
username: 'CrystalBot',
})
bot.loadPlugin(autoCrystal)
bot.once('spawn', () => {
console.clear()
console.log('Spawned.')
bot.chat('/gamemode creative')
bot.chat('/give @s end_crystal 500')
})
bot.on('kicked', (reason) => {
console.log(reason)
main()
})
bot.on('error', (reason) => {
console.error(reason)
main()
})
bot.on('chat', async (username, message) => {
if (username === bot.username) return
switch (message) {
case 'start':
bot.chat('AutoCrystal enabled.')
bot.autoCrystal.enable()
break
case 'stop':
bot.chat('AutoCrystal disabled.')
bot.autoCrystal.disable()
break
case 'holes':
const holes = await bot.autoCrystal.getHoles()
bot.chat(`Found ${holes.length} holes made out of bedrock.`)
break
default:
break
}
})
}
main()
👤 Link#0069
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2021 Link#0069.
This project is GNU GPLv3 licensed.
This README was generated with ❤️ by readme-md-generator
FAQs
mineflayer-autocrystal is a plugin that lets mineflayer bots automatically place and destroy end crystals.
The npm package mineflayer-autocrystal receives a total of 4 weekly downloads. As such, mineflayer-autocrystal popularity was classified as not popular.
We found that mineflayer-autocrystal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.