Skip to content

Getting started ​

This page takes you from the purchase to the first time you open the settings panel in game. It is the same for every Nayretis script.

Buy and download ​

  1. Buy the script on the Nayretis store. Checkout is handled by Tebex.
  2. Log in to Portal with the Cfx.re account you used at checkout. The script and nay_lib are in your granted assets.
  3. Download both. nay_lib comes with every Nayretis script and is never sold on its own.

The scripts are protected by Cfx escrow: they only start on a server whose license key belongs to the Cfx.re account that owns them.

Requirements ​

  • oxmysql, started and connected to your database.
  • One of the supported frameworks: ESX Legacy, QBCore, QBox or ox_core. See Bridge for inventories, targets and notifications.

Install ​

Copy the nay_lib folder and the script folder into your resources folder. In server.cfg, start them after your framework, inventory and target resources:

cfg
ensure oxmysql
# your framework, inventory and target resources here

ensure nay_lib
ensure nay_car_wash

nay_lib is installed once, whatever the number of Nayretis scripts you run. Keep it before every Nayretis script.

First start ​

Start the server. The database tables are created automatically, there is no SQL file to import. In the console you should see:

text
[script:nay_lib] [INFO] Bridge ready: framework=qbox inventory=ox_inventory
[script:nay_lib] [INFO] Ready: settings, permissions and migrations loaded

The framework and inventory names match what your server runs.

Give yourself access ​

Settings are edited in game with /nay. Give the admin group full access in server.cfg:

cfg
add_ace group.admin nay.admin allow

Or grant one player from the server console:

text
nay_grant license <license> nay.admin

Then join the server and type /nay. More options on the Permissions page.

Next steps ​

  • Learn the /nay panel: languages, theme, permissions, API and webhooks.
  • Set up Car Wash.
  • Something does not start? Read the FAQ.