Installation

Kibra Mechanics Installation Document and Basic Concepts

Depencedies

In order for the script to run properly on your server, you must download the scripts below and install them on your server.

Before continuing with the instructions, you should also read and follow the instructions in the kibra-core documentation.

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

You have successfully completed the kibra-mechanics installation. Restart your server to make sure everything is working.

Last updated