Skip to content

Command line tools for creating and compiling JavaScript Minecraft plugins.

License

Notifications You must be signed in to change notification settings

customrealms/cli

Repository files navigation

@customrealms/cli

CustomRealms command-line tools for setting up and compiling JavaScript Minecraft plugins.

Installation

Install the CLI on your computer:

npm install -g @customrealms/cli

Then, you can use the CustomRealms CLI using the crx command in your terminal.

Start a project

mkdir my-plugin
cd my-plugin
crx init

That'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:jar

If you used a different method to create your project, use this instead:

crx build -o ./dist/my-plugin.jar