Documentation

package.json

The package.json is the main configuration for your Package.

Initializing a package.json

It is recommended to install npm(bundles with node.js) and use the npm init command (documentation).

Special configuration

jcmp_dependencies

You can force the Server or Client to wait for certain packages. An example that is used by the command-manager:

In order for the Command Manager to work, it requires the chat package to be loaded first. This can be enforced in the package.json:

{
  "name": "command-manager",
  "jcmp_dependencies": ["chat"]
}

Stay informed

By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.