1
Download the resource
Access the client panel of Zyra Store with your account and go to the My Purchases section. Locate the script you want to install and click Download.Once the
.zip file is downloaded, extract its contents on your computer. You will find a folder with the resource name ready to be placed on your server.2
Folder structure
Copy the resource folder into the Make sure the resource folder name matches exactly what you will use in
resources directory of your FiveM server. It is recommended to organize Zyra Store scripts under their own [zyra] category to keep the server tidy.The folder structure should look like this:server.cfg for the ensure.3
Configure the database
If the script uses a database, you will find a
sql/install.sql file inside the downloaded resource. You must import this file into your database before starting the resource for the first time.You can do this with any compatible database manager:- HeidiSQL — Open the connection to your database, select your FiveM server database, go to File → Run SQL, and select the
install.sqlfile. - phpMyAdmin — Enter your database, go to the Import tab, and upload the
install.sqlfile. - MySQL Terminal — Run:
mysql -u user -p database_name < sql/install.sql
sql/ folder, this step is not necessary.4
Edit shared/config.lua
Open the resource’s Review the rest of available options and adjust them according to your server’s needs. Each option includes a descriptive comment.
shared/config.lua file with a text editor (Visual Studio Code is recommended). This file contains all configurable options of the script.At a minimum, you must adjust the following values according to your server:shared/config.lua
5
Add ensure in server.cfg
For FiveM to load the resource when starting the server, you must add its Save the
ensure in the server.cfg file. Make sure the script dependencies load before the resource itself.server.cfg
server.cfg file once the changes are made.6
Start the resource
With everything configured, you can now start the script. You have two options:
- Restart the full server — This is the safest option for a first installation, as it guarantees all dependencies load in the correct order.
- Use the server console — If the server is already running and dependencies are active, you can start the resource directly from the FiveM console or txAdmin:
Verify the installation
Once the resource is started, check that everything works correctly by following these steps:- Check the server console — No red errors related to the script should appear. A message like
[zyra-mi-script] Resource started successfullyindicates the load was successful. - Connect to the server in-game — Enter your FiveM server and verify that the script functionalities are available (menus, commands, objects, etc.).
- Test the available commands — Zyra Store scripts expose the commands
/script-admin,/reload-config, and/toggle-featurefor administrators. Run/script-adminin-game to confirm that the script responds and that your ACE permissions are configured correctly.
OneSync must be enabled in your It is recommended to use OneSync Infinity for servers with more than 48 players.
server.cfg for Zyra Store scripts to work correctly. Make sure you have the following line configured:server.cfg
Continue with advanced configuration: Configuration file · Framework compatibility.
