Mod

KubePackages

Quick rating

KubePackages

No reviews yet

Package manager for KubeJS

API/Library
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Latest Version
KubePackages-1.20.1-1.0.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

KubePackages

Package manager for KubeJS.

KubePackages introduces the concept of "package" for KubeJS, redefining how scripts are distributed. It allows scripts to be encapsulated like modules, loaded like resource packs, and distributed like mods.

This page provides a brief introduction to the core feature of KubePackages: the KubePackage. For more detailed explanations and tutorials, please refer to:

WIKI

KubePackage (Yes, without the 's')

To support package management, distribution, and dependency management, KubePackages introduces "KubePackage" as the carrier for the "package" concept. It provides a complete loading framework, enabling developers to build, integrate, and publish KubeJS functionalities in a modular way. This resolves the issue of flattened script loading, namespace pollution, and tight coupling between scripts.

Did you know that: Rhino's handling of variable scopes has always been quite peculiar. Combined with KubeJS's flattened script loading, declaring variables with same name can easily lead to hard-to-find bugs.

KubePackage is not just a container for script files, but can also provide assets and data resources. Combined with metadata with dependency info, KubePackage goes a step further than resource packs and data packs.

With KubePackage, developers can do more than just writing scripts and inadvertently reinventing the wheel. Instead, they can leverage reusable modules to improve development QoL. You can:

  • Write scripts like developing mods: KubePackage provides independent dependency management and script scope.
  • Load functionalities like installing mods: Using the JS binding named KubePackages, you can easily check if specific packages exist, integrate packages developed by others, communicate data between packages, and quickly build complex projects.
  • Share your work like publishing mods: Export packages effortlessly as .jar files, .zip files, or directories, and publish them directly as mods on CurseForge or Modrinth.

KubePackages aims to become the standard package management system for the KubeJS ecosystem and provide a unified standard for the entire community.

KubePackages

Package manager for KubeJS.

KubePackages introduces the concept of "package" for KubeJS, redefining how scripts are distributed. It allows scripts to be encapsulated like modules, loaded like resource packs, and distributed like mods.

This page provides a brief introduction to the core feature of KubePackages: the KubePackage. For more detailed explanations and tutorials, please refer to:

WIKI

KubePackage (Yes, without the 's')

To support package management, distribution, and dependency management, KubePackages introduces "KubePackage" as the carrier for the "package" concept. It provides a complete loading framework, enabling developers to build, integrate, and publish KubeJS functionalities in a modular way. This resolves the issue of flattened script loading, namespace pollution, and tight coupling between scripts.

Did you know that: Rhino's handling of variable scopes has always been quite peculiar. Combined with KubeJS's flattened script loading, declaring variables with same name can easily lead to hard-to-find bugs.

KubePackage is not just a container for script files, but can also provide assets and data resources. Combined with metadata with dependency info, KubePackage goes a step further than resource packs and data packs.

With KubePackage, developers can do more than just writing scripts and inadvertently reinventing the wheel. Instead, they can leverage reusable modules to improve development QoL. You can:

  • Write scripts like developing mods: KubePackage provides independent dependency management and script scope.
  • Load functionalities like installing mods: Using the JS binding named KubePackages, you can easily check if specific packages exist, integrate packages developed by others, communicate data between packages, and quickly build complex projects.
  • Share your work like publishing mods: Export packages effortlessly as .jar files, .zip files, or directories, and publish them directly as mods on CurseForge or Modrinth.

KubePackages aims to become the standard package management system for the KubeJS ecosystem and provide a unified standard for the entire community.

Screenshots

Gallery

  • list_packages.png
    list_packages.png list_packages.png
  • Namespace Isolation
    Namespace Isolation The image shows three namespaces, two of which come from KubePackages. Variables declared in each are independent, meaning all three namespaces can declare a variable with the same name `colors` and entirely different contents
  • Dependency Management
    Dependency Management The image shows `hand_over_your_items` declaring an optional dependency on `debug_trigger`
  • show_package.png
    show_package.png show_package.png
  • Dependency Management
    Dependency Management The image shows `hand_over_your_items` declaring an optional dependency on `debug_trigger`
  • Namespace Isolation
    Namespace Isolation The image shows three namespaces, two of which come from KubePackages. Variables declared in each are independent, meaning all three namespaces can declare a variable with the same name `colors` and entirely different contents

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~2,000
Total Downloads
CurseForge
~1,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync