Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/customrealms/cli
Command line tools for creating and compiling JavaScript Minecraft plugins.
https://github.com/customrealms/cli
golang javascript minecraft plugin
Last synced: 2 months ago
JSON representation
Command line tools for creating and compiling JavaScript Minecraft plugins.
- Host: GitHub
- URL: https://github.com/customrealms/cli
- Owner: customrealms
- License: mit
- Created: 2021-11-11T04:03:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-28T14:13:08.000Z (7 months ago)
- Last Synced: 2024-11-14T19:03:49.504Z (2 months ago)
- Topics: golang, javascript, minecraft, plugin
- Language: Go
- Homepage: https://customrealms.io
- Size: 114 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @customrealms/cli
CustomRealms command-line tools for setting up and compiling JavaScript Minecraft plugins.
### Installation
Install the CLI on your computer:
```sh
npm install -g @customrealms/cli
```Then, you can use the CustomRealms CLI using the `crx` command in your terminal.
### Start a project
```sh
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:
```sh
npm run build:jar
```If you used a different method to create your project, use this instead:
```sh
crx build -o ./dist/my-plugin.jar
```