Add commands to Minecraft
Install to your project:
npm install @magikcraft/commando
import commando from '@magikcraft/commando'
const log = Logger(__filename)
log('Plugin loaded!')
log(`Registering 'custom' command`)
commando('custom', (args, player) => {
console.log(args)
})
Apache-2.0 © Josh Wulf