Getting Started

Warning

The API is still in its very early stages of development,

please report bugs & suggestions at our discord.

Where do I put my scripts?

"%appdata%/jupiter/scripts/**.lua"

Example LUAs

jupiter-lua-examples.zip

2.2KB

Creating an execution context is done through registering callbacks:

function on_script()

-- executes every script tick

end

function on_render()

-- executes every frame

end

jupiter.register_callback("script", on_script) jupiter.register_callback("render", on_render)

Common Methods

jupiter.execute(" -- some lua ")

jupiter.abort() -- terminate process

jupiter.directory() -- root of jupiter app data

© Copyright 2023. All rights reserved.