Installation Guide

Execute the Below in your Database and its all Done!!


Step 1: SQL Modifications

You must execute the SQL code to set up the necessary database tables.

Instructions

  1. Open your database management tool (e.g., phpMyAdmin or HeidiSQL).

  2. Select Your Database.

  3. Run the following SQL code to create the required tables:

   CREATE TABLE `ammunationshops` (
      `location` INT(11) NOT NULL,
      `owned` INT(11) NULL DEFAULT NULL,
      `owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
      `stash` LONGTEXT NULL DEFAULT '[]' COLLATE 'utf8mb3_general_ci',
      `price` INT(11) NULL DEFAULT NULL,
      `date_purchased` DATE NULL DEFAULT NULL,
      `level` INT(11) NULL DEFAULT '1',
      `name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
      `money` INT(11) NULL DEFAULT '0',
      PRIMARY KEY (`location`) USING BTREE
   )
   COLLATE='utf8mb3_general_ci'
   ENGINE=InnoDB
   ;

   CREATE TABLE `weapon_restrict` (
   `id` INT(11) NOT NULL AUTO_INCREMENT,
   `name` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
   `uses` INT(11) NULL DEFAULT '0',
   PRIMARY KEY (`id`) USING BTREE
   )
   COLLATE='utf8mb3_general_ci'
   ENGINE=InnoDB
   AUTO_INCREMENT=4
   ;


Step 2: Configure the Config.lua File

Customize the Config.lua file based on your preferences and requirements. Ensure the settings align with your server's intended functionality and features.


Last updated