customrealms / example-plugin

Example CustomRealms plugin project
https://customrealms.io
MIT License
11 stars 5 forks source link

Registered methods not exposed #2

Open mindflowgo opened 1 month ago

mindflowgo commented 1 month ago

Even with multiple registered methods, the plugin.yml still only shows the basic 2 in the example.

We need the npm run build to parse the methods, perhaps allow user descriptions and rebuild a new plugin.yml file I would think?

connerdouglass commented 1 month ago

Good catch. The commands are actually listed in package.json here, and when you run npm run build it copies them into the plugin.yml file.

This needs some improvement over in the https://github.com/customrealms/cli project soon, since it doesn't support every plugin.yml feature yet.