UNPKG

flying-squid

Version:
21 lines (15 loc) 686 B
Installing plugins ====================== It's as easy as drag-and-drop! Just follow the instructions! ## Installing plugins 1. Just drag it into the plugins folder! ## Creating Plugin 1. Create folder 2. Create your `index.js` inside the folder 3. `cd` to the folder and type `npm init` and follow instructions 4. `index.js` should return in module.exports. player, server, or entity. All are optional 5. * If you don't have config/settings.json, create it and copy everything from config/default-settings.json inside. * Add into plugins `"plugin_name": {}`. Add any options you'd like. ## Publish plugin Use `npm init` and `npm publish` and follow the given instructions.