Skip to content

Modules

Modules management

$ kw add url
$ kw remove name 
$ kw modules

kuniwar supports third‑party modules. This means you can pull in other people's code/units/abilities, etc., with a single command.

Important

When adding a module, a Git repository URL is used (for example: https://codeberg.org/kuniwar/kw-memhack).

When removing a module, its name is used — which you can find either in the project.json file or via the command that lists modules.

Modules can have dependencies. That is, when creating a module the author declares what other modules are required. The utility will automatically download dependencies, but you'll need to monitor compatibility yourself for now.

Module status

You can activate and deactivate modules as needed:

$ kw enable name 
$ kw disable name 

Disabled modules will not be used during map compilation. This can help, for example, when compiling two different versions — one for ujapi and another for memhack.