core icon indicating copy to clipboard operation
core copied to clipboard

npm run build:jar

Open SytonicX opened this issue 4 years ago • 3 comments

When I run that on the terminal, I create a 1.17+ plugin. Is there a way so that when I use the command I can make the plugin be 1.18+ or 1.16+ or such? In other words how can I edit the version on the plugin according to the minecraft version?

SytonicX avatar Jan 22 '22 11:01 SytonicX

You can use the -mc flag when running the build command. Edit the package.json to add it to the build script

al_1@AL1L:~$ crx build --help
Usage of crx:
  -mc string
        Minecraft version number target
  -o string
        output JAR file path
  -os string
        operating system target (windows, macos, or linux)
  -p string
        plugin project directory (default ".")

Please use the Discord server for support rather than GitHub Issues.

AL1L avatar Jan 22 '22 19:01 AL1L

@AL1L can you send the discord server?

NotZer0Two avatar Mar 12 '22 15:03 NotZer0Two

@AL1L can you send the discord server?

https://discord.gg/AfKtb5SqZX

AL1L avatar Mar 12 '22 18:03 AL1L