Installation

Script Download

To begin, ensure you are logged into the CFX portal to access and download the asset. You can download it as many times as needed directly from the official CFX page. Additionally, youโ€™ll be able to re-download it later to receive updates.

1. Accessing the CFX Portal

Start by logging into the official CFX portal using this link.

2. Locating Your Assets

Once logged in, head to the Granted Assets section to find the assets youโ€™ve purchased. From there, simply click the "Download" button to retrieve them.

3. Downloading Dependencies

The dependencies for this asset are mandatory, so please follow the dependency guide completely and use all required files.

When downloading a dependency, ensure the file is properly unzipped and does not include "-main" at the end of its name. If it does, please remove it.

OxMysql

Releases ยท overextended/ox_mysqlGitHub

4. Downloading Energy Assets

In the Granted Assets section, use the search bar to look for "Energy" and download the two items listed:

  • Energy Battle Royale: This is the main script.

  • Energy Battle Zone: Auxiliary script essential for operation

  • Energy Battle Mods: Resource with script box mods

๐Ÿ’ก Note: If you experience any issues or errors while starting the asset, check this page to troubleshoot potential problems.

Adding the Scripts to Your Server

After downloading the necessary files, follow the steps below to properly set them up in your server:

1. Moving the Files

Locate the downloaded files on your computer and move both of them into the resources folder of your server directory.

2. Updating the server.cfg

Once the files are in the correct folder, open the server.cfg file, located in your server's main directory. Add the following lines to ensure the scripts are loaded properly:

Copy

ensure energy_battleroyale
ensure energy_battle_zone
ensure energy_battle_mods

ATTENTION

Do it in the order above, otherwise it will not work correctly.

Save the changes to your server.cfg file and restart your server to apply the updates. Note: Make sure both folders are correctly named and placed within the resources directory to avoid loading errors.

Atualizado