Skip to content

How To Install?

Step 1 - Sql import

First you need to import your sql server to this sql dump!

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

CREATE TABLE IF NOT EXISTS `s4_shops` (
  `shop_id` int(11) NOT NULL,
  `data` text NOT NULL,
  `items` text NOT NULL,
  `sales_history` text NOT NULL,
  PRIMARY KEY (`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Step 2 - Required Scripts will be need

  • MySql

Step 3 - Start Resource

Put the script in your source file and run it from your server.cfg file.

ensure s4-shops

Step 4 - If you are getting an error

If you think something is wrong or not right

init_shops

Write to cmd, txAdmin live console or SvGui (Just write to anyone).

prep

Wait for initializing shops data to database

ensure

Ensure the script

steps

Change config for hide Config.sql_imported = false to true;

Example:

Config.sql_imported = true