Installations
Last updated
Last updated
ensure sfctabCREATE TABLE `crimetab` (
`id` int(11) NOT NULL,
`name` varchar(64) DEFAULT NULL,
`owner` varchar(64) DEFAULT NULL,
`date_creation` varchar(64) NOT NULL,
`maxlimit` int(11) NOT NULL DEFAULT 6,
`points` int(11) NOT NULL DEFAULT 0,
`mission_active` int(11) NOT NULL DEFAULT 0,
`mission_started` int(11) NOT NULL DEFAULT 0,
`mission_ending` int(11) NOT NULL DEFAULT 0,
`mission_success` int(11) NOT NULL DEFAULT 0,
`stats` text NOT NULL DEFAULT ('{}'),
`updates` text NOT NULL DEFAULT ('{}')
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `crimetab_missions` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`description` text NOT NULL,
`cost` int(11) NOT NULL,
`currency` varchar(16) NOT NULL,
`action` varchar(32) NOT NULL,
`lasttime` varchar(64) NOT NULL DEFAULT '0',
`active` int(11) NOT NULL DEFAULT 0,
`waiting` int(11) NOT NULL DEFAULT 600
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `crimetab_players` (
`id` int(11) NOT NULL,
`playerid` varchar(64) NOT NULL,
`crimeid` int(11) NOT NULL,
`position` int(11) NOT NULL,
`date_creation` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `crimetab_updates` (
`id` int(11) NOT NULL,
`name` varchar(512) NOT NULL,
`description` text NOT NULL,
`cost` int(11) NOT NULL,
`currency` varchar(16) NOT NULL,
`action` varchar(32) NOT NULL,
`need` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `crimetab` ADD PRIMARY KEY (`id`);
ALTER TABLE `crimetab_missions` ADD PRIMARY KEY (`id`);
ALTER TABLE `crimetab_players` ADD PRIMARY KEY (`id`);
ALTER TABLE `crimetab_updates` ADD PRIMARY KEY (`id`);
ALTER TABLE `crimetab` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
ALTER TABLE `crimetab_missions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
ALTER TABLE `crimetab_players` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
ALTER TABLE `crimetab_updates` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;INSERT INTO `crimetab_missions` (`id`, `name`, `description`, `cost`, `currency`, `action`, `lasttime`, `active`, `waiting`) VALUES (1, 'Preparation for Fleeca Bank #1', 'Prepare accordingly for the attack.', 5, 'OCASH', 'fleeca1', '1689009097', 1, 600);
INSERT INTO `crimetab_updates` (`id`, `name`, `description`, `cost`, `currency`, `action`, `need`) VALUES (1, 'Increasing the limit #1', 'Increases the member limit by 4 additional slots.', 20, 'OCASH', 'peoplelimit', 0), (2, 'Increasing the limit #2', 'Increases the member limit by 6 additional slots.', 30, 'OCASH', 'peoplelimit2', 1);