Installation Guide
This guide will walk you through the installation and setup process for keep-airDefense on your server. Follow the steps below to ensure a smooth installation:
Prerequisites
Before installing keep-airDefense, make sure you have the following dependencies installed:
qb-core
- PolyZone
- qb-inventory (optional if using '/airDefense')
- keep-soundEngine (optional)
ESX
- PolyZone
- ox_inventory (optional if using '/airDefense')
- keep-soundEngine (optional)
Installation Steps
Follow these steps to install and set up keep-airDefense:
Step 1: Download and Extract
- Download the keep-airDefense resources from our Tebex store.
- Unzip the downloaded files.
- Copy and paste the extracted folders into your server's resources folder.
- Ensure that the folder name is "keep-airDefense".
Step 2: Configuration
- Navigate to the
config.lua
file within the keep-airDefense folder. - Configure the script settings according to your server's requirements.
Step 3: Add Required Item
To use keep-airDefense, add the required item "keep_anti_air_tablet" to your server:
qb-core
- Open
qb-core/shared/items.lua
. - Add the following entry at the end of the items table:
lua
["keep_anti_air_tablet"] = {
["name"] = "keep_anti_air_tablet",
["label"] = "Anti Air Tablet",
["weight"] = 5000,
["type"] = "item",
["image"] = "tablet.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "tablet"
},
ESX
- Open
ox_inventory/data/items.lua
. - Add this entry at the end of the items table:
lua
["keep_anti_air_tablet"] = {
label = "Anti Air Tablet",
weight = 1,
stack = false,
close = true,
description = "tablet"
}
Step 4: Restart Server
Restart your server to apply the changes.
That's it! You have successfully installed and set up keep-airDefense on your server.