cli

module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2021 License: MIT

README

@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

Directories

Path Synopsis
cmd
crx

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL