Installation Guide

Step 1: Insert SQL Tables

You need to 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 `moon_advance_stashes` (
	`id` INT(11) NOT NULL AUTO_INCREMENT,
	`model` VARCHAR(100) NOT NULL COLLATE 'utf8mb3_general_ci',
	`item` VARCHAR(100) NOT NULL COLLATE 'utf8mb3_general_ci',
	`stash_id` VARCHAR(100) NOT NULL COLLATE 'utf8mb3_general_ci',
	`x` DOUBLE NOT NULL,
	`y` DOUBLE NOT NULL,
	`z` DOUBLE NOT NULL,
	`heading` DOUBLE NOT NULL,
	`frozen` TINYINT(1) NULL DEFAULT '1',
	`slots` INT(11) NOT NULL,
	`weight` INT(11) NOT NULL,
	`created_at` TIMESTAMP NOT NULL DEFAULT current_timestamp(),
	`owner` VARCHAR(50) NOT NULL COLLATE 'utf8mb3_general_ci',
	`access` LONGTEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin',
	`is_placed` TINYINT(1) NOT NULL DEFAULT '1',
	`relocating_owner` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
	PRIMARY KEY (`id`) USING BTREE,
	CONSTRAINT `access` CHECK (json_valid(`access`))
)
COLLATE='utf8mb3_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=1
;

Step 2: Add Items to Inventory


Step 3: Add Images

Import the pictures from the [images] folder into your inventory/html/images directory.


Step 4: Ensure Dependencies

Ensure you have the following dependencies installed:


Step 5: Test Installation

  1. Start your server and verify that the DJ Script works as intended.

  2. Test the inventory items and their functionality.


Last updated