Installation

Kibra Mechanics Installation Document and Basic Concepts

Depencedies

Kibra Core

Place your scripts

The order on server.cfg should be like this.

start kibra-core
start kibra-mechanics
start kibra-mechanics-flatbed3

Database Setup

Check if there is a kibra-mechanics table already established in your database.

If it exists, delete it.

And now, enter this SQL code into your mysql database and set up the table.

CREATE TABLE IF NOT EXISTS `kibra-mechanics` (
  `id` int(11) NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(46) DEFAULT NULL,
  `employees` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '[]',
  `money` float NOT NULL,
  `wage` float NOT NULL,
  `discountrate` float NOT NULL,
  `customers` text NOT NULL DEFAULT '[]',
  `repairfee` float NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

Installation Completed

Last updated