Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.12 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.12 KB

@magikcraft/commando NPM version Build Status Dependency Status Coverage percentage

Add commands to Minecraft

Installation

Install to your project:

npm install @magikcraft/commando

Use it

import commando from '@magikcraft/commando'
const log = Logger(__filename)

log('Plugin loaded!')

log(`Registering 'custom' command`)
commando('custom', (args, player) => {
	console.log(args)
})

License

Apache-2.0 © Josh Wulf