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
- Buy the script on the Nayretis store. Checkout is handled by Tebex.
- Log in to Portal with the Cfx.re account you used at checkout. The script and
nay_libare in your granted assets. - Download both.
nay_libcomes 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:
ensure oxmysql
# your framework, inventory and target resources here
ensure nay_lib
ensure nay_car_washnay_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:
[script:nay_lib] [INFO] Bridge ready: framework=qbox inventory=ox_inventory
[script:nay_lib] [INFO] Ready: settings, permissions and migrations loadedThe 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:
add_ace group.admin nay.admin allowOr grant one player from the server console:
nay_grant license <license> nay.adminThen 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.