# Installation

### Installation Steps

Follow these simple steps to install CAS Inventory Version 2 on your server:

1. **Backup and Remove Existing VORP Inventory**:
   * Before proceeding, back up your current `vorp_inventory` script to avoid any data loss.
   * Remove the existing `vorp_inventory` script from your server resources.
2. **Install CAS Inventory Version 2**:
   * Purchase and download the CAS Inventory Version 2 from our official Keymaster page.
   * Drag and drop the downloaded `vorp_inventory` folder into your server’s resources directory, replacing the previous inventory folder.
3. **Database Modification**:
   * To ensure proper functionality, you need to modify the `characters` table in your database to include a `hotbar` column.
   * Execute the following SQL command to alter the table:

```sql
ALTER TABLE characters ADD COLUMN hotbar LONGTEXT NOT NULL DEFAULT '[]';
```

* This command adds a `hotbar` column with a `LONGTEXT` data type and sets the default value to an empty JSON array (`[]`).

4. **Start the Server**:
   * No additional configuration or dependencies are required. Simply start or restart your server, and CAS Inventory Version 2 will be ready to use.

### Notes

* Ensure you have VORP Core installed and properly configured, as it is the only dependency for CAS Inventory Version 2.
* Always download the inventory from our official Keymaster page to avoid scams.

That’s it! You’re now ready to enjoy the enhanced features of CAS Inventory Version 2.
