@openrealms/cli
v2.1.2
Published
OpenRealms command-line tools for setting up and compiling JavaScript Minecraft plugins.
Readme
@openrealms/cli
OpenRealms command-line tools for setting up and compiling JavaScript Minecraft plugins.
Installation
Install the CLI on your computer:
npm install -g @openrealms/cliThen, you can use the OpenRealms CLI using the crx command in your terminal.
Start a project
mkdir my-plugin
cd my-plugin
crx initThat's it! You now have a plugin project ready to develop!
Build a JAR file
Compile your plugin project to a JAR file:
If you used crx init above to create your project, you can compile a JAR file using:
npm run build:jarIf you used a different method to create your project, use this instead:
crx build -o ./dist/my-plugin.jar