Jota Dev Passive Businesses
Here you can see the documentation to learn how to install our store's passive business system.

Put in your server.cfg
# JotaDev Passive Businesses
ensure jc_negocios
Insert SQL into your database and configure your framework:
CREATE TABLE IF NOT EXISTS `negocios_pasivos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`porcentaje` int(11) DEFAULT NULL,
`cantidad` int(11) DEFAULT NULL,
`tiempo` int(11) DEFAULT NULL,
`job` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`label` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`x` float DEFAULT NULL,
`y` float DEFAULT NULL,
`z` float DEFAULT NULL,
`ciclo_activo` tinyint(4) DEFAULT 1,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE IF NOT EXISTS negocios_pasivos_account (
id INT AUTO_INCREMENT PRIMARY KEY,
label VARCHAR(100) NOT NULL UNIQUE,
dinero INT DEFAULT 0
);
CREATE TABLE IF NOT EXISTS `negocios_grados` (
`id` INT NOT NULL AUTO_INCREMENT,
`job_name` VARCHAR(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`grade` INT NOT NULL,
`name` VARCHAR(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`label` VARCHAR(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`salary` INT DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Last updated