1. Requirements
This script relies on the following dependencies. Make sure they are installed before running the resource:-
ts-lib (Required)
This resource acts as a bridge and utilities wrapper to ensure ts-persistence is completely standalone and independent.Download TS-Lib
Get the latest version of the required library. -
ox_lib (Required)
Installation guide: https://coxdocs.dev/ox_lib -
oxmysql (Required)
Installation guide: https://coxdocs.dev/oxmysql
Overextended resources are now maintained under the Community Ox organization. You can find their documentation here.
2. Framework Support
A framework is required for this script to function. The following frameworks are supported:[IMPORTANT]
We no longer configure frameworks, vehicle keys, or garage systems insidets-persistence. Instead, this is fully routed throughts-lib. Please configure your keys and garage inside thets-lib/shared/config.luafile.
3. Installation
1
Add the script
Add the
ts-persistence folder to your server’s resources directory.2
Configure server.cfg
Add
ensure ts-persistence to your server.cfg file, ensuring it starts after its dependencies.server.cfg