Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.


Constructible This class can not be instantiated from your script. Do not try to use the `new` keyword on this class. Auto Destroy Instances of this class will be deleted automatically. Custom Properties You can extend instances of this class with your own properties.

Global JCMP class. Use jcmp in your script.


Name Type Description
packages Array<Package> read only all loaded packages
events EventSystem read only event system
networkVersion number read only the current network version of the server
version string read only
approvedWebsites Array read only
ui JCMPUINamespace read only
viewportSize Vector2f read only
localPlayer LocalPlayer read only
players Array<NetworkPlayer> read only all players
world World read only
settings Settings read only
vehicles Array read only


JCMPNamespace.print(string message)

Prints a message to scripting.log.


Name Type Description
message string Message to append to scripting.log

JCMPNamespace.printLog(string filename, string message)

Outputs message to a specified file.


Name Type Description
filename string Name of the file you want to print to
message string Message to append to file

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.