Core libraryInstallation

Installation

Add tr_core to your server and start it in the right place.

On this page

Download it

Get the latest release from GitHub and unzip it.

Put it in your resources

Put the folder in your server's resources folder and make sure it's named exactly tr_core. TR scripts look for it by that name.

Start it in server.cfg

Start tr_core after your framework, inventory and target, and before any TR script:

server.cfg
ensure ox_lib
ensure es_extended
ensure ox_inventory
ensure ox_target

ensure tr_core
ensure tr_minigames

Your framework and inventory may be different: what matters is the order.

Restart the server

When it starts, the console lists what tr_core found. That's it.

Updating

Replace the tr_core folder with the new one and restart the server. Your settings live in server.cfg, so nothing is lost.

When a TR script needs a newer tr_core than the one you have, the server console says so when it starts:

tr_minigames needs tr_core 1.3.0 or newer, but this server has tr_core 1.2.0: update tr_core

Still stuck? Open a ticket on Discord.