#
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"
#
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