> npm run newplugin ./path/to/plugin
# it will install the generated plugin as a local package
# Please execute this on the bdsx directory
-
With VSCode Ctrl+Shift+B -> tsc: watch
-
With the command line
> npm run watch
Copy the plugin to plugins/
directory
- Create an npm account if you don't have one yet. NPM Sign Up
- Request for joining
@bdsx
organization at#npm-bdsx-org-member-request
channel of the discord server with npm ID or EMail. - Login with the command line.
> npm login
npm notice Log in on https://registry.npmjs.org/
Username: # Enter Username
Password: # Enter Password
Email: (this IS public) # Enter Email
- Publish with the command line
> cd path/to/plugin # move to the plugin directory
> npm publish --access=public # publish the plugin
- With the command line
> npm i @bdsx/pluginname
- With the plugin manager
Runplugin-manager.bat/sh
.
Search and select the plugin.
Select the version.
- With the command line
> npm r @bdsx/pluginname
- With the plugin manager
Run plugin-manager.bat/sh.
Search and select the plugin.
SelectRemove
.
I don't recommend using low-level APIs like hooking. it can be broken by updating BDS. if you need the low-level feature I hope you contribute the code to BDSX about it. I will maintain it as I as possible.