Skip to content

Drackion/kjspkg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KJSPKG

A simple package manager for KubeJS.

contributions lat

logo

Installation & Update

Requirements

Linux

curl -s https://raw.githubusercontent.com/Modern-Modpacks/kjspkg/main/install.sh | sh

Windows

Download this bat file and run it

or use WSL

Usage

Installing packages:

kjspkg install [package] [package]
kjspkg install kjspkg:[package]
kjspkg install carbon:[package] # CarbonJS compatibility (https://github.com/carbon-kjs)
kjspkg install github:[author]/[package] # External packages

Removing packages:

kjspkg remove [package] [package]

Updating packages:

kjspkg update [package] [package]

More info in the help page:

kjspkg help

Adding your own package

  1. Create a repository containing your scripts and assets

  2. Don't forget to license your code

  3. Add a file to your repo named .kjspkg and format it like this:

    {
        "author": "<your_name>",
        "description": "<description>",
        
        "versions": [<Version key numbers (see the numbers in parentheses in the table below). Can contain multiple numbers>],
        "modloaders": [<Modloaders ("fabric"/"forge", "fabric" will for quilt as well)>. Can contain multiple modloaders],
        "dependencies": [<Package names that your package depends on, blank if none. To depend on mods add "mod:" before the mod id>],
        "incompatibilities": [<Package names that your package is incompatible with, blank if none. Incompatible mods are also supported (use the same syntax)>]
    }
  4. Fork this repo

  5. Clone it

  6. Add your package to pkgs.json file. Format it like this: "your_package_id": "your_github_name/your_repo_name",

    • You can specify the branch by adding @branch_name at the end of the string, otherwise it will automatically use the main branch
  7. Create a pull request

  8. Wait for it to be accepted

Supported versions

Forge Fabric/Quilt
1.19 (9) tested_partial nottested_partial
1.18 (8) nottested_partial nottested_partial
1.16 (6) tested_full nottested_partial
1.12 (2) nottested_no
1.7 (🧌) borked

Tested means that the version is confirmed to be working;

Not tested means that the version should work, but hasn't been tested. Feel free to test it yourself and let us know so we'll update the readme.

Full support means that we focus on that version;

Partial support means that the version is supported, but not as much as the fully supported ones;

No support means that the version works, but any issues that you have with it won't be fixed.

Borked means it doesn't work lmao.

About

A KubeJS package manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • Shell 3.3%
  • Batchfile 2.2%