Closed connerdouglass closed 2 years ago
Can there be a tutorial on how this works? I cannot seem to get it to work.
@ANDREI12333 I don't know if you still need help with this but I read the source and figured out it's something like this:
package.json
{
"name": "name-changer",
...
"commands": {
"name": {
"Description": "Update your display name",
"Usage": "/name <name>"
}
},
"dependencies": {
...
}
}
Hope this helps you.
This change adds support for
permissions
andcommands
sections in thepackage.json
file of a CustomRealms plugin project. This information is converted to YAML and inserted to theplugin.yml
file in the generated JAR file.The update also adds a
crx yml
command that prints the generatedplugin.yml
file to the standard output, which is useful for debugging issues with permissions and commands.