Creating Packages
Learn how to create Games and Addons by defining a package.json
and writing some Lua.
Games vs. Addons
User content in TASBox is split into two types: Games and Addons. These are collectively called Packages.
- Games have access to the full Lua API, the Menu realm and the ability to modify the Addon sandbox. Only one may be mounted at a time.
- Addons have access to a limited Lua API defined by the loaded Game, and multiple can be mounted at the same time.
Folder structure
Creating a package.json
Writing Lua
Sandbox addons
info
This only applies to writing Games. Addons cannot modify the sandbox that they're run in.